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 support/libsupport.la @INCLUDED_SIGC@
14 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
15 @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
17 EXTRA_DIST = config.h.in stamp-h.in cheaders
18 ETAGS_ARGS = --lang=c++
19 INCLUDES = $(SIGC_CFLAGS) @FRONTEND_INCLUDES@
20 localedir = $(datadir)/locale
236 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
237 lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
238 bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
239 lyxserver.h layout.h gettext.h kbmap.h
240 $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
241 -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
243 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
244 $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
247 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`