1 include $(top_srcdir)/config/common.am
3 DISTCLEANFILES += config.h libintl.h
5 MAINTAINERCLEANFILES += $(srcdir)/config.h.in
7 SUBDIRS = mathed insets graphics support frontends
11 lyx_DEPENDENCIES = mathed/libmathed.o insets/libinsets.o \
12 graphics/libgraphics.o \
13 frontends/libfrontends.o \
14 support/libsupport.o \
17 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(SIGC_LIBS) \
18 $(PSPELL_LIBS) @AIKSAURUS_LIBS@ @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
22 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
30 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
31 localedir = $(datadir)/locale
32 BUILT_SOURCES = version.C
77 ParagraphParameters.C \
78 ParagraphParameters.h \
226 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
227 lyxrc.h support/path.h support/filetools.h \
228 bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
229 lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
230 $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
231 -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
233 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
234 support/os.h frontends/GUIRunTime.h
235 $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
238 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`