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 #lyx_DEPENDENCIES = $(LYX_CONV_LIBS) $(INCLUDED_SIGC)
20 lyx_LDADD = $(LYX_CONV_LIBS) $(SIGC_LIBS) $(INCLUDED_SIGC) @INTLLIBS@ \
21 $(PSPELL_LIBS) @AIKSAURUS_LIBS@
23 # @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
27 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
37 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
39 localedir = $(datadir)/locale
41 BUILT_SOURCES = version.C
81 ParagraphParameters.C \
82 ParagraphParameters.h \
220 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
221 lyxrc.h support/path.h support/filetools.h \
222 bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
223 lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
224 $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
225 -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
227 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
228 support/os.h frontends/GUIRunTime.h
229 $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
232 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`