make sure to dist pch.h and mark PCH_FILE as a built file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10173 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2005-07-12 23:42:23 +00:00
parent 2796b1fe32
commit a78c91bdbb
19 changed files with 70 additions and 19 deletions

View File

@ -1,3 +1,8 @@
2005-07-13 Lars Gullik Bjonnes <larsbj@gullik.net>
* Makefiles: make sure to dist pch.h and mark PCH_FILE as a build
file.
2005-07-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* INSTALL: small tweak.

View File

@ -1,5 +1,9 @@
include $(top_srcdir)/config/common.am
EXTRA_DIST = pch.h
BUILT_SOURCES = $(PCH_FILE)
noinst_LTLIBRARIES = libboost_filesystem.la
AM_CPPFLAGS += \

View File

@ -1,5 +1,9 @@
include $(top_srcdir)/config/common.am
EXTRA_DIST = pch.h
BUILT_SOURCES = $(PCH_FILE)
noinst_LTLIBRARIES = libboost_regex.la
AM_CPPFLAGS += \

View File

@ -1,5 +1,9 @@
include $(top_srcdir)/config/common.am
EXTRA_DIST = pch.h
BUILT_SOURCES = $(PCH_FILE)
noinst_LTLIBRARIES = libboost_signals.la
AM_CPPFLAGS += \

View File

@ -15,7 +15,8 @@ EXTRA_DIST = config.h.in stamp-h.in version.C.in \
Sectioning.C \
Variables.C \
Variables.h \
paper.h
paper.h \
pch.h
LYX_PRE_LIBS = mathed/libmathed.la insets/libinsets.la \
frontends/libfrontends.la
@ -51,7 +52,7 @@ lyx$(EXEEXT): $(FRONTENDS_PROGS)
#lyx_LDFLAGS=-Wl,-O1
BUILT_SOURCES = version.C
BUILT_SOURCES = $(PCH_FILE) version.C
AM_CPPFLAGS += $(PCH_FLAGS) $(BOOST_INCLUDES)

View File

@ -2,7 +2,9 @@ include $(top_srcdir)/config/common.am
CLEANFILES += $(man_MANS)
EXTRA_DIST = lyxclient.man
EXTRA_DIST = pch.h lyxclient.man
BUILT_SOURCES = $(PCH_FILE)
man_MANS = lyxclient.1

View File

@ -4,6 +4,10 @@ SUBDIRS = controllers $(FRONTENDS_SUBDIRS)
DIST_SUBDIRS = controllers xforms qt2 gtk
EXTRA_DIST = pch.h
BUILT_SOURCES = $(PCH_FILE)
noinst_LTLIBRARIES = libfrontends.la
AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)

View File

@ -1,6 +1,8 @@
include $(top_srcdir)/config/common.am
EXTRA_DIST = BCView.tmpl
EXTRA_DIST = pch.h BCView.tmpl
BUILT_SOURCES = $(PCH_FILE)
noinst_LTLIBRARIES = libcontrollers.la

View File

@ -2,6 +2,10 @@ include $(top_srcdir)/config/common.am
SUBDIRS = gimages glade
EXTRA_DIST = pch.h
BUILT_SOURCES = $(PCH_FILE)
noinst_LTLIBRARIES = libgtk.la
AM_CPPFLAGS += \

View File

@ -3,7 +3,9 @@ include $(srcdir)/Makefile.dialogs
SUBDIRS = ui moc
EXTRA_DIST = Makefile.dialogs
EXTRA_DIST = pch.h Makefile.dialogs
BUILT_SOURCES = $(PCH_FILE)
noinst_LTLIBRARIES = libqt2.la

View File

@ -5,7 +5,9 @@ CLEANFILES += *.C *Base.h *Module.h *Dialog.h
SUBDIRS = . moc
EXTRA_DIST = QPreambleDialogBase.ui $(UIFILES)
EXTRA_DIST = pch.h QPreambleDialogBase.ui $(UIFILES)
BUILT_SOURCES = $(PCH_FILE)
AM_CPPFLAGS += \
$(QT_CPPFLAGS) -DQT_NO_TRANSLATION \

View File

@ -3,9 +3,10 @@ include $(top_srcdir)/config/common.am
SUBDIRS = forms
CLEANFILES += stamp-xpm stamp-forms
DISTCLEANFILES += lyx_forms.h lyx_forms.h-tmp lyx_xpm.h lyx_xpm.h-tmp
BUILT_SOURCES = lyx_forms.h lyx_xpm.h
EXTRA_DIST = lyx_forms.h.in lyx_xpm.h.in
BUILT_SOURCES = $(PCH_FILE) lyx_forms.h lyx_xpm.h
EXTRA_DIST = pch.h lyx_forms.h.in lyx_xpm.h.in
AM_CPPFLAGS += \
-I$(top_srcdir)/images \

View File

@ -2,7 +2,9 @@ include $(top_srcdir)/config/common.am
DISTCLEANFILES += $(SRCS:.fd=.C) $(SRCS:.fd=.h) $(SRCS:.fd=.c)
EXTRA_DIST = fdfixc.sed fdfixh.sed fdfix.sh tmp_str.sed README $(SRCS)
EXTRA_DIST = pch.h fdfixc.sed fdfixh.sed fdfix.sh tmp_str.sed README $(SRCS)
BUILT_SOURCES = $(PCH_FILE)
# For (forms_fwd.h, forms_gettext.h) and support/std_string.h, respectively.
AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. -I$(top_srcdir)/src -I..

View File

@ -1,5 +1,9 @@
include $(top_srcdir)/config/common.am
EXTRA_DIST = pch.h
BUILT_SOURCES = $(PCH_FILE)
noinst_LTLIBRARIES = libgraphics.la
AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)

View File

@ -3,9 +3,12 @@ include $(top_srcdir)/config/common.am
noinst_LTLIBRARIES = libinsets.la
EXTRA_DIST = \
pch.h \
insettheorem.C \
insettheorem.h
BUILT_SOURCES = $(PCH_FILE)
AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
libinsets_la_SOURCES = \

View File

@ -1,6 +1,8 @@
include $(top_srcdir)/config/common.am
EXTRA_DIST = formulamacro.C
EXTRA_DIST = pch.h formulamacro.C
BUILT_SOURCES = $(PCH_FILE)
noinst_LTLIBRARIES = libmathed.la

View File

@ -4,7 +4,7 @@ SUBDIRS = . tests
CLEANFILES += $(BUILT_SOURCES)
EXTRA_DIST = package.C.in os_unix.C os_win32.C os_os2.C
EXTRA_DIST = package.C.in pch.h os_unix.C os_win32.C os_os2.C
noinst_LTLIBRARIES = libsupport.la
@ -12,7 +12,7 @@ if USE_COMPRESSION
COMPRESSION = gzstream.C gzstream.h
endif
BUILT_SOURCES = package.C
BUILT_SOURCES = $(PCH_FILE) package.C
AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)

View File

@ -1,6 +1,8 @@
include $(top_srcdir)/config/common.am
EXTRA_DIST = test_convert test_lstrings regfiles
EXTRA_DIST = pch.h test_convert test_lstrings regfiles
BUILT_SOURCES = $(PCH_FILE)
TESTS = \
test_convert \

View File

@ -1,7 +1,8 @@
include $(top_srcdir)/config/common.am
EXTRA_DIST = test-structure.tex test-insets.tex
DISTCLEANFILES += $(BUILT_SOURCES)
EXTRA_DIST = pch.h test-structure.tex test-insets.tex
DISTCLEANFILES += $(LINKED_SOURCES)
#noinst_LTLIBRARIES = libtexparser.la
#
@ -21,7 +22,7 @@ if USE_COMPRESSION
COMPRESSIONLIB = -lz
endif
BUILT_SOURCES = \
LINKED_SOURCES = \
FloatList.C \
Floating.C \
counters.C \
@ -32,8 +33,10 @@ BUILT_SOURCES = \
lyxlex.C \
lyxlex_pimpl.C
BUILT_SOURCES = $(PCH_FILE) $(LINKED_SOURCES)
tex2lyx_SOURCES = \
$(BUILT_SOURCES) \
$(LINKED_SOURCES) \
Spacing.h \
boost.C \
context.C \
@ -56,9 +59,9 @@ tex2lyx_LDADD = \
$(top_builddir)/src/support/libsupport.la \
$(BOOST_LIBS) $(COMPRESSIONLIB)
$(BUILT_SOURCES) :
$(LINKED_SOURCES) :
@rm -f $@ ; \
$(LN_S) $(top_srcdir)/src/$@ .
rm_link_files:
rm -f $(BUILT_SOURCES)
rm -f $(LINKED_SOURCES)