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
7 lyx_DEPENDENCIES = mathed/libmathed.o insets/libinsets.o \
8 graphics/libgraphics.o \
9 frontends/libfrontends.o \
10 support/libsupport.o \
13 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(SIGC_LIBS) \
14 $(PSPELL_LIBS) @AIKSAURUS_LIBS@ @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
18 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
26 ETAGS_ARGS = --lang=c++
27 BOOST_INCLUDES = -I$(top_srcdir)/boost
28 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
29 localedir = $(datadir)/locale
30 BUILT_SOURCES = version.C
76 ParagraphParameters.C \
77 ParagraphParameters.h \
225 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
226 lyxrc.h support/path.h support/filetools.h \
227 bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
228 lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
229 $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
230 -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
232 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
233 support/os.h frontends/GUIRunTime.h
234 $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
237 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`