1 include $(top_srcdir)/config/common.am
5 noinst_LTLIBRARIES = libsupport.la
7 CLEANFILES += path_defines.C
9 EXTRA_DIST = package.C.in os_unix.C os_win32.C os_os2.C
12 COMPRESSION = gzstream.C gzstream.h
15 BUILT_SOURCES = package.C
17 AM_CPPFLAGS = $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
19 libsupport_la_SOURCES = \
47 $(COMPRESSION) kill.C \
84 package.C: build_package
86 build_package: package.C.in
88 ABS_SRCDIR=`cd $(top_srcdir) && pwd` ;\
89 ABS_BUILDDIR=`cd ../.. && pwd` ;\
90 sed "s,%LYX_DIR%,$(pkgdatadir), ;\
91 s,%LOCALEDIR%,$(datadir)/locale, ;\
92 s,%TOP_SRCDIR%,$${ABS_SRCDIR}," \
93 $(srcdir)/package.C.in > tmp_package ;\
94 if cmp -s tmp_package package.C ; then \
98 mv tmp_package package.C ;\