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 LYX_DIR = $(datadir)/$(PACKAGE)
11 INCLUDES = -I${top_srcdir}/images
12 localedir = $(datadir)/locale
178 lyx_main.o: lyx_main.C lyx_main.h config.h version.h debug.h gettext.h \
179 lyx_gui.h lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
180 bufferlist.h support/FileInfo.h lastfiles.h intl.h \
181 lyxserver.h layout.h gettext.h
182 $(CXXCOMPILE) -DLYX_DIR=\"$(LYX_DIR)\" -DTOP_SRCDIR=\"$(top_srcdir)\" \
183 -c $(top_srcdir)/src/lyx_main.C
185 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
186 $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
189 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`