1 AUTOMAKE_OPTIONS = foreign
2 SUBDIRS = mathed insets graphics support frontends
3 DISTCLEANFILES= *.orig *.rej *~ *.bak core libintl.h config.h
4 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/config.h.in
6 ## libfrontends is given twice on the link line because it needs stuff
7 ## from FRONTEND_GUILIB and inversely. If you do not like it, feel
8 ## free to provide another solution... Maybe signals would solve that
9 ## magically, but I do not understand them much (JMarc)
10 lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la \
11 graphics/libgraphics.la \
12 frontends/libfrontends.la @FRONTEND_GUILIB@ \
13 frontends/libfrontends.la \
14 frontends/controllers/libcontrollers.la \
15 frontends/support/libfrontendsupport.la support/libsupport.la \
17 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
18 $(PSPELL_LIBS) @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
20 EXTRA_DIST = config.h.in stamp-h.in cheaders
21 ETAGS_ARGS = --lang=c++
22 BOOST_INCLUDES = -I$(top_srcdir)/boost
23 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
24 localedir = $(datadir)/locale
69 ParagraphParameters.C \
70 ParagraphParameters.h \
213 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
214 lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
215 bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
216 lyxserver.h layout.h gettext.h kbmap.h commandtags.h
217 $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
218 -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
220 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
221 $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
224 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`