1 AUTOMAKE_OPTIONS = foreign
2 SUBDIRS = mathed insets support frontends
3 DISTCLEANFILES= *.orig *.rej *~ *.bak core libintl.h config.h
4 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/config.h.in
6 lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la \
7 support/libsupport.la @FRONTEND_GUILIB@ frontends/libfrontends.la \
9 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
10 @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
11 EXTRA_DIST = config.h.in stamp-h.in cheaders
12 ETAGS_ARGS = --lang=c++
13 INCLUDES = -I${top_srcdir}/images $(SIGC_CFLAGS) @FRONTEND_INCLUDES@
14 localedir = $(datadir)/locale
221 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
222 lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
223 bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
224 lyxserver.h layout.h gettext.h kbmap.h
225 $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
226 -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
228 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
229 $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
232 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`