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 \
19 ../boost/libs/signals/src/libboostsignals.la
21 #lyx_DEPENDENCIES = $(LYX_CONV_LIBS) $(INCLUDED_SIGC)
23 lyx_LDADD = $(LYX_CONV_LIBS) $(BOOST_LIBS) @INTLLIBS@ \
24 $(PSPELL_LIBS) @AIKSAURUS_LIBS@
26 #lyx_LDADD = $(LYX_CONV_LIBS) $(SIGC_LIBS) $(BOOST_LIBS) $(INCLUDED_SIGC) @INTLLIBS@ \
27 # $(PSPELL_LIBS) @AIKSAURUS_LIBS@
29 # @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
33 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
43 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
44 #INCLUDES = $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
46 localedir = $(datadir)/locale
48 BUILT_SOURCES = version.C
82 ParagraphParameters.C \
83 ParagraphParameters.h \
155 lyxlayout_ptr_fwd.h \
216 lyx_main.o: lyx_main.C lyx_main.h config.h version.h \
217 lyxrc.h support/path.h support/filetools.h \
218 bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
219 lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
220 $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
221 -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
223 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h support/os.h
224 $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
227 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`