1 AUTOMAKE_OPTIONS = foreign
2 SUBDIRS = mathed insets support
3 DISTCLEANFILES = libintl.h config.h
4 MAINTAINERCLEANFILES = Makefile.in config.h.in
6 lyx_LDADD = mathed/mathed.o insets/insets.o support/libsupport.a \
8 lyx_DEPENDENCIES = mathed insets support/libsupport.a
9 EXTRA_DIST = config.h.in stamp-h.in cheaders
11 LYX_DIR = $(datadir)/$(PACKAGE)
12 INCLUDES = -I${top_srcdir}/images
13 localedir = $(datadir)/locale
179 lyx_main.o: lyx_main.C lyx_main.h config.h version.h debug.h gettext.h \
180 lyx_gui.h lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
181 bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
182 lyxserver.h layout.h gettext.h
183 $(CXXCOMPILE) -DLYX_DIR=\"$(LYX_DIR)\" -DTOP_SRCDIR=\"$(top_srcdir)\" \
184 -DLYX_NAME=\"$(PACKAGE)\" -c $(top_srcdir)/src/lyx_main.C
186 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
187 $(CXXCOMPILE) -DPACKAGE=\"$(PACKAGE)\" -DLOCALEDIR=\"$(localedir)\" \
188 -c ${top_srcdir}/src/main.C
191 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`