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.la insets/libinsets.la \
8 graphics/libgraphics.la \
9 frontends/libfrontends.la \
10 support/libsupport.la \
12 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(SIGC_LIBS) \
13 $(PSPELL_LIBS) @AIKSAURUS_LIBS@
16 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in
17 ETAGS_ARGS = --lang=c++
18 BOOST_INCLUDES = -I$(top_srcdir)/boost
19 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
20 localedir = $(datadir)/locale
21 BUILT_SOURCES = version.C
66 ParagraphParameters.C \
67 ParagraphParameters.h \
222 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
223 lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
224 bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
225 lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
226 $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
227 -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
229 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
230 support/os.h frontends/GUIRunTime.h
231 $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
234 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`