1 AUTOMAKE_OPTIONS = foreign 1.4
2 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
3 noinst_LTLIBRARIES = libkde.la
4 BOOST_INCLUDES = -I$(top_srcdir)/boost
5 INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/ \
6 ${SIGC_CFLAGS} ${FRONTEND_INCLUDES} $(BOOST_INCLUDES) \
7 -I${top_srcdir}/src/frontends/xforms
9 # just to make sure, automake makes them
10 BUILTSOURCES = citationdlg_moc.C \
12 copyrightdlgdata_moc.C \
16 parageneraldlg_moc.C \
17 parageneraldlgdata_moc.C \
19 paraextradlgdata_moc.C \
28 GENSOURCES = copyrightdlgdata.C \
32 parageneraldlgdata.C \
33 parageneraldlgdata.h \
39 DISTCLEANFILES = $(BUILTSOURCES) *.orig *.rej *~ *.bak core
42 ../xforms/FormBase.lo \
43 ../xforms/FormDocument.lo \
44 ../xforms/form_document.lo \
45 ../xforms/FormError.lo \
46 ../xforms/form_error.lo \
47 ../xforms/FormGraphics.lo \
48 ../xforms/form_graphics.lo \
49 ../xforms/FormInset.lo \
50 ../xforms/FormPreferences.lo \
51 ../xforms/form_preferences.lo \
52 ../xforms/FormTabular.lo \
53 ../xforms/form_tabular.lo \
54 ../xforms/input_validators.lo \
55 ../xforms/RadioButtonGroup.lo \
56 ../xforms/Toolbar_pimpl.lo \
57 ../xforms/Menubar_pimpl.lo
60 LDFLAGS= $(libkde_la_OBJADD)
62 ETAGS_ARGS = --lang=c++
106 # These still have to be added. Sooner or later. ARRae-20000129
113 # just copied from old lyx repository
115 for subdir in $(LYXDATADIRS) ; do \
116 test -d $(distdir)/$$subdir \
117 || mkdir $(distdir)/$$subdir \
119 chmod 777 $(distdir)/$$subdir; \
120 list=`(cd $(srcdir)/$$subdir && ls -1 | grep -v CVS)`; \
122 for fil in $$list ; do \
123 cp -p $(srcdir)/$$subdir/$$fil $(distdir)/$$subdir ; \
127 # dialog file dependencies
129 copyrightdlgdata.C copyrightdlgdata.h: dlg/copyright.dlg
130 $(QTARCH) -g dlg/copyright.dlg
131 indexdlgdata.C indexdlgdata.h: dlg/index.dlg
132 $(QTARCH) -g dlg/index.dlg
133 printdlgdata.C printdlgdata.h: dlg/print.dlg
134 $(QTARCH) -g dlg/print.dlg
135 parageneraldlgdata.C parageneraldlgdata.h: dlg/parageneral.dlg
136 $(QTARCH) -g dlg/parageneral.dlg
137 paraextradlgdata.C paraextradlgdata.h: dlg/paraextra.dlg
138 $(QTARCH) -g dlg/paraextra.dlg
140 dlgdata: $(GENSOURCES)
142 # add a dependency for every moc file to be full portable
143 # I've added a key binding to emacs for this.
145 citationdlg.C: citationdlg_moc.C
146 citationdlg_moc.C: citationdlg.h
147 $(MOC) citationdlg.h -o citationdlg_moc.C
149 copyrightdlg.C: copyrightdlg_moc.C
150 copyrightdlg_moc.C: copyrightdlg.h
151 $(MOC) copyrightdlg.h -o copyrightdlg_moc.C
152 copyrightdlgdata_moc.C: copyrightdlgdata.h
153 $(MOC) copyrightdlgdata.h -o copyrightdlgdata_moc.C
155 indexdlg.C: indexdlg_moc.C
156 indexdlg_moc.C: indexdlg.h
157 $(MOC) indexdlg.h -o indexdlg_moc.C
158 indexdlgdata_moc.C: indexdlgdata.h
159 $(MOC) indexdlgdata.h -o indexdlgdata_moc.C
161 paradlg.C: paradlg_moc.C
162 paradlg_moc.C: paradlg.h
163 $(MOC) paradlg.h -o paradlg_moc.C
165 parageneraldlg.C: parageneraldlg_moc.C
166 parageneraldlg_moc.C: parageneraldlg.h
167 $(MOC) parageneraldlg.h -o parageneraldlg_moc.C
168 parageneraldlgdata_moc.C: parageneraldlgdata.h
169 $(MOC) parageneraldlgdata.h -o parageneraldlgdata_moc.C
171 paraextradlg.C: paraextradlg_moc.C
172 paraextradlg_moc.C: paraextradlg.h
173 $(MOC) paraextradlg.h -o paraextradlg_moc.C
174 paraextradlgdata_moc.C: paraextradlgdata.h
175 $(MOC) paraextradlgdata.h -o paraextradlgdata_moc.C
177 printdlg.C: printdlg_moc.C
178 printdlg_moc.C: printdlg.h
179 $(MOC) printdlg.h -o printdlg_moc.C
180 printdlgdata_moc.C: printdlgdata.h
181 $(MOC) printdlgdata.h -o printdlgdata_moc.C
183 refdlg.C: refdlg_moc.C
184 refdlg_moc.C: refdlg.h
185 $(MOC) refdlg.h -o refdlg_moc.C
187 tocdlg.C: tocdlg_moc.C
188 tocdlg_moc.C: tocdlg.h
189 $(MOC) tocdlg.h -o tocdlg_moc.C
191 urldlg.C: urldlg_moc.C
192 urldlg_moc.C: urldlg.h
193 $(MOC) urldlg.h -o urldlg_moc.C