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
13 LYX_CONV_LIBS = mathed/libmathed.la insets/libinsets.la \
14 frontends/libfrontends.la \
15 graphics/libgraphics.la \
18 BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la
20 #lyx_DEPENDENCIES = $(LYX_CONV_LIBS) $(INCLUDED_SIGC)
22 lyx_LDADD = $(LYX_CONV_LIBS) $(SIGC_LIBS) $(BOOST_LIBS) $(INCLUDED_SIGC) @INTLLIBS@ \
23 $(PSPELL_LIBS) @AIKSAURUS_LIBS@
25 # @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
29 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
39 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
41 localedir = $(datadir)/locale
43 BUILT_SOURCES = version.C
77 ParagraphParameters.C \
78 ParagraphParameters.h \
212 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
213 lyxrc.h support/path.h support/filetools.h \
214 bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
215 lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
216 $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
217 -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
219 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
220 support/os.h frontends/GUIRunTime.h
221 $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
224 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`