1 AUTOMAKE_OPTIONS = foreign
2 SUBDIRS = mathed insets support
3 DISTCLEANFILES = libintl.h config.h
4 MAINTAINERCLEANFILES = Makefile.in config.h.in
6 lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la support/libsupport.la
7 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS)
8 EXTRA_DIST = config.h.in stamp-h.in cheaders
10 INCLUDES = -I${top_srcdir}/images
11 localedir = $(datadir)/locale
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
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\*`