mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
unification of all Makefiles.am
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3748 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8407bdc22f
commit
69013332e2
15
Makefile.am
15
Makefile.am
@ -1,19 +1,20 @@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
DISTCLEANFILES = -r *.orig *.rej *~ *.bak lyx.1 core \
|
||||
config.status config.cache config.log \
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
DISTCLEANFILES += lyx.1 config.status config.cache config.log \
|
||||
$(srcdir)/sourcedoc/*~ \
|
||||
$(srcdir)/sourcedoc/html $(srcdir)/sourcedoc/latex \
|
||||
$(srcdir)/sourcedoc/man $(srcdir)/sourcedoc/Doxyfile
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/aclocal.m4 \
|
||||
|
||||
MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 \
|
||||
$(srcdir)/configure $(srcdir)/development/lyx.spec \
|
||||
$(srcdir)/acinclude.m4 $(srcdir)/sourcedoc/Doxyfile
|
||||
|
||||
SUBDIRS = intl po sigc++ boost src lib
|
||||
|
||||
EXTRA_DIST = ANNOUNCE INSTALL.OS2 INSTALL.autoconf README.OS2 \
|
||||
UPGRADING lyx.man acconfig.h autogen.sh \
|
||||
config development images sourcedoc
|
||||
|
||||
#ETAGS_ARGS = --language-force=c++
|
||||
man_MANS = lyx.1
|
||||
|
||||
## Needed by bindist
|
||||
@ -58,10 +59,6 @@ doxydoc: sourcedoc/Doxyfile
|
||||
cd sourcedoc; \
|
||||
doxygen ./Doxyfile
|
||||
|
||||
#sourcedoc/Doxyfile: sourcedoc/Doxyfile.in config.status
|
||||
# cd $(top_builddir) \
|
||||
# && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
lgbtags:
|
||||
etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
|
||||
|
||||
|
10
config/common.am
Normal file
10
config/common.am
Normal file
@ -0,0 +1,10 @@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
DISTCLEANFILES= -r *.orig *.rej *~ *.bak core
|
||||
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
ETAGS_ARGS = --lang=c++
|
||||
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
SIGC_INCLUDES = -I$(top_srcdir) -I$(top_builddir)
|
@ -9,6 +9,7 @@ src/converter.C
|
||||
src/CutAndPaste.C
|
||||
src/debug.C
|
||||
src/exporter.C
|
||||
src/ext_l10n.h
|
||||
src/FontLoader.C
|
||||
src/frontends/controllers/biblio.C
|
||||
src/frontends/controllers/ButtonController.h
|
||||
|
@ -1,7 +1,11 @@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
DISTCLEANFILES += config.h libintl.h
|
||||
|
||||
MAINTAINERCLEANFILES += $(srcdir)/config.h.in
|
||||
|
||||
SUBDIRS = mathed insets graphics support frontends
|
||||
DISTCLEANFILES= *.orig *.rej *~ *.bak core libintl.h config.h
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/config.h.in
|
||||
|
||||
bin_PROGRAMS = lyx
|
||||
|
||||
lyx_DEPENDENCIES = mathed/libmathed.o insets/libinsets.o \
|
||||
@ -23,8 +27,6 @@ EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
|
||||
counters.C \
|
||||
counters.h
|
||||
|
||||
ETAGS_ARGS = --lang=c++
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
|
||||
localedir = $(datadir)/locale
|
||||
BUILT_SOURCES = version.C
|
||||
@ -66,7 +68,6 @@ lyx_SOURCES = \
|
||||
LyXAction.h \
|
||||
LyXView.C \
|
||||
LyXView.h \
|
||||
Makefile.in \
|
||||
MenuBackend.C \
|
||||
MenuBackend.h \
|
||||
Painter.C \
|
||||
|
@ -1,16 +1,11 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
DISTCLEANFILES= *.orig *.rej *~ *.bak core
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
# xforms has to be fixed here as we still need object files in this directory
|
||||
# for the compilation of other frontends, so until that we have to let this
|
||||
# here.
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
SUBDIRS = controllers @FRONTEND@
|
||||
ETAGS_ARGS = --lang=c++
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/.. $(SIGC_CFLAGS) $(BOOST_INCLUDES)
|
||||
LIBS =
|
||||
|
||||
noinst_LTLIBRARIES = libfrontends.la
|
||||
|
||||
INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/.. $(SIGC_CFLAGS) $(BOOST_INCLUDES)
|
||||
|
||||
libfrontends_la_LIBADD= @FRONTEND_GUILIB@ \
|
||||
controllers/*.lo
|
||||
|
||||
|
@ -1,13 +1,10 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
DISTCLEANFILES= *.orig *.rej *~ *.bak core
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
noinst_LTLIBRARIES = libcontrollers.la
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
|
||||
INCLUDES = -I${top_srcdir}/src/ \
|
||||
-I${top_srcdir}/src/frontends/ \
|
||||
${SIGC_CFLAGS} $(BOOST_INCLUDES)
|
||||
LIBS =
|
||||
ETAGS_ARGS = --lang=c++
|
||||
|
||||
EXTRA_DIST = ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl
|
||||
|
||||
|
@ -1,10 +1,6 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
DISTCLEANFILES= *.orig *.rej *~ *.bak core
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
ETAGS_ARGS = --lang=c++
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
noinst_LTLIBRARIES = libgnome.la
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
|
||||
INCLUDES = ${FRONTEND_INCLUDES} -I${top_srcdir}/src/ \
|
||||
-I${top_srcdir}/src/frontends/ \
|
||||
@ -12,9 +8,6 @@ INCLUDES = ${FRONTEND_INCLUDES} -I${top_srcdir}/src/ \
|
||||
-I${top_srcdir}/src/frontends/controllers \
|
||||
${SIGC_CFLAGS} $(BOOST_INCLUDES)
|
||||
|
||||
#libgnome_la_LIBADD = \
|
||||
# @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
|
||||
|
||||
if USE_BASIC_IMAGE_LOADER
|
||||
else
|
||||
XFORMSGIMAGE = ../xforms/xformsGImage.lo
|
||||
@ -78,7 +71,6 @@ xforms.lo: $(xforms_objects)
|
||||
# ../xforms/input_validators.lo \
|
||||
# ../xforms/RadioButtonGroup.lo \
|
||||
|
||||
LIBS=
|
||||
#LDFLAGS= $(libgnome_la_OBJADD)
|
||||
LYXDATADIRS =
|
||||
|
||||
|
@ -1,20 +1,18 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
DISTCLEANFILES = $(BUILTSOURCES) *.orig *.rej *~ *.bak core
|
||||
ETAGS_ARGS = --lang=c++
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
DISTCLEANFILES += $(BUILTSOURCES)
|
||||
|
||||
SUBDIRS = xforms ui moc
|
||||
|
||||
noinst_LTLIBRARIES = libqt2.la
|
||||
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
SUBDIRS=xforms ui moc
|
||||
INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/ \
|
||||
${SIGC_CFLAGS} -I$(top_srcdir)/images ${FRONTEND_INCLUDES} $(BOOST_INCLUDES) \
|
||||
INCLUDES = -I$(top_srcdir)/src/ -I$(top_srcdir)/src/frontends/ \
|
||||
$(SIGC_CFLAGS) -I$(top_srcdir)/images \
|
||||
$(FRONTEND_INCLUDES) $(BOOST_INCLUDES) \
|
||||
-I$(top_srcdir)/src/frontends/controllers
|
||||
|
||||
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR
|
||||
|
||||
|
||||
LIBS=
|
||||
|
||||
include Makefile.dialogs
|
||||
|
||||
#libqt2_la_LIBADD = \
|
||||
|
@ -1,11 +1,9 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
DISTCLEANFILES = $(libqt2moc_la_SOURCES) *.orig *.rej *~ *.bak core
|
||||
ETAGS_ARGS = --lang=c++
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
DISTCLEANFILES += $(libqt2moc_la_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libqt2moc.la
|
||||
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
INCLUDES = -I${top_srcdir}/src/ \
|
||||
-I${top_srcdir}/src/frontends/ \
|
||||
-I${top_srcdir}/src/frontends/controllers \
|
||||
@ -13,11 +11,12 @@ INCLUDES = -I${top_srcdir}/src/ \
|
||||
${SIGC_CFLAGS} \
|
||||
${FRONTEND_INCLUDES} \
|
||||
$(BOOST_INCLUDES)
|
||||
|
||||
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR
|
||||
|
||||
include ../Makefile.dialogs
|
||||
|
||||
libqt2moc_la_SOURCES := FileDialog_private_moc.C \
|
||||
libqt2moc_la_SOURCES = FileDialog_private_moc.C \
|
||||
emptytable_moc.C \
|
||||
lengthcombo_moc.C \
|
||||
qttableview_moc.C \
|
||||
|
@ -1,17 +1,20 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
noinst_LTLIBRARIES = libqt2ui.la
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/ -I$(top_srcdir)/src/frontends/qt2/ \
|
||||
${SIGC_CFLAGS} ${FRONTEND_INCLUDES} $(BOOST_INCLUDES) \
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src/ -I$(top_srcdir)/src/frontends/ \
|
||||
-I$(top_srcdir)/src/frontends/qt2/ \
|
||||
$(SIGC_CFLAGS) $(FRONTEND_INCLUDES) $(BOOST_INCLUDES) \
|
||||
-I$(top_srcdir)/src/frontends/controllers
|
||||
|
||||
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR
|
||||
ETAGS_ARGS = --lang=c++
|
||||
|
||||
|
||||
SUBDIRS =. moc
|
||||
|
||||
include ../Makefile.dialogs
|
||||
|
||||
DISTCLEANFILES = $(UIDIALOGS) *.orig *.rej *~ *.bak core
|
||||
DISTCLEANFILES += $(UIDIALOGS)
|
||||
|
||||
libqt2ui_la_SOURCES = $(UIDIALOGS)
|
||||
|
||||
|
@ -1,17 +1,16 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
DISTCLEANFILES = $(libqt2uimoc_la_SOURCES) *.orig *.rej *~ *.bak core
|
||||
ETAGS_ARGS = --lang=c++
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
DISTCLEANFILES += $(libqt2uimoc_la_SOURCES)
|
||||
|
||||
noinst_LTLIBRARIES = libqt2uimoc.la
|
||||
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
INCLUDES = -I${top_srcdir}/src/ \
|
||||
-I${top_srcdir}/src/frontends/ \
|
||||
-I${top_srcdir}/src/frontends/controllers \
|
||||
${SIGC_CFLAGS} \
|
||||
${FRONTEND_INCLUDES} \
|
||||
$(BOOST_INCLUDES)
|
||||
|
||||
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR
|
||||
|
||||
include ../../Makefile.dialogs
|
||||
|
@ -1,17 +1,12 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
DISTCLEANFILES = $(XFORMS_SOURCES) $(BUILTSOURCES) *.orig *.rej *~ *.bak core
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
noinst_LTLIBRARIES = libqt2xforms.la
|
||||
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/ \
|
||||
${SIGC_CFLAGS} -I$(top_srcdir)/images ${FRONTEND_INCLUDES} $(BOOST_INCLUDES) \
|
||||
${SIGC_CFLAGS} -I$(top_srcdir)/images \
|
||||
${FRONTEND_INCLUDES} $(BOOST_INCLUDES) \
|
||||
-I$(top_srcdir)/src/frontends/controllers
|
||||
|
||||
LIBS=
|
||||
ETAGS_ARGS = --lang=c++
|
||||
|
||||
EXTRA_DIST = xformsGImage.C xformsGImage.h
|
||||
|
||||
if USE_BASIC_IMAGE_LOADER
|
||||
|
@ -1,15 +1,13 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
DISTCLEANFILES= *.orig *.rej *~ *.bak core
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
noinst_LTLIBRARIES = libxforms.la
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
|
||||
INCLUDES = -I${top_srcdir}/images -I${top_srcdir}/src/ \
|
||||
-I${top_srcdir}/src/frontends/ \
|
||||
-I${top_srcdir}/src/frontends/controllers \
|
||||
${SIGC_CFLAGS} $(BOOST_INCLUDES)
|
||||
LIBS=
|
||||
|
||||
LYXDATADIRS = forms
|
||||
ETAGS_ARGS = --lang=c++
|
||||
|
||||
EXTRA_DIST = xformsGImage.C xformsGImage.h
|
||||
|
||||
|
@ -1,10 +1,7 @@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
DISTCLEANFILES= *.orig *.rej *~ *.bak core
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
noinst_LTLIBRARIES = libgraphics.la
|
||||
LIBS =
|
||||
ETAGS_ARGS = --lang=c++
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
|
||||
INCLUDES = -I${srcdir}/../ $(SIGC_CFLAGS) $(BOOST_INCLUDES)
|
||||
|
||||
EXTRA_DIST = GraphicsImageXPM.C GraphicsImageXPM.h
|
||||
|
@ -1,10 +1,7 @@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
DISTCLEANFILES= *.orig *.rej *~ *.bak core
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
noinst_LTLIBRARIES = libinsets.la
|
||||
LIBS =
|
||||
ETAGS_ARGS = --lang=c++
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
|
||||
INCLUDES = -I${srcdir}/../ $(SIGC_CFLAGS) $(BOOST_INCLUDES)
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
@ -1,10 +1,7 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
DISTCLEANFILES= *.orig *.rej *~ *.bak core
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
noinst_LTLIBRARIES = libmathed.la
|
||||
LIBS=
|
||||
ETAGS_ARGS = --lang=c++
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
|
||||
INCLUDES = -I${srcdir}/../ $(SIGC_CFLAGS) $(BOOST_INCLUDES)
|
||||
|
||||
libmathed_la_SOURCES = \
|
||||
|
@ -1,11 +1,7 @@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
DISTCLEANFILES= *.orig *.rej *~ *.bak core
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
noinst_LTLIBRARIES = libsupport.la
|
||||
LIBS =
|
||||
ETAGS_ARGS = --lang=c++
|
||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||
SIGC_INCLUDES = -I$(top_srcdir) -I$(top_builddir)
|
||||
|
||||
INCLUDES = -I${srcdir}/../ $(SIGC_INCLUDES) $(BOOST_INCLUDES)
|
||||
|
||||
EXTRA_DIST = lyxstring.C lyxstring.h regex.c lyxregex.h \
|
||||
|
Loading…
Reference in New Issue
Block a user