1 include $(top_srcdir)/config/common.am
5 CLEANFILES += $(BUILT_SOURCES)
7 EXTRA_DIST = package.C.in pch.h os_cygwin.C os_os2.C os_unix.C os_win32.C
9 noinst_LTLIBRARIES = libsupport.la
12 COMPRESSION = gzstream.C gzstream.h
15 BUILT_SOURCES = $(PCH_FILE) package.C
17 AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
19 libsupport_la_SOURCES = \
47 $(COMPRESSION) kill.C \
82 package.C: build_package
84 # Solaris sed does not like spaces bewteen the ;-delimited commands
85 build_package: package.C.in
87 sed "s,%LYX_DIR%,$(LYX_ABS_INSTALLED_DATADIR),;\
88 s,%LOCALEDIR%,$(LYX_ABS_INSTALLED_LOCALEDIR),;\
89 s,%TOP_SRCDIR%,$(LYX_ABS_TOP_SRCDIR)," \
90 $(srcdir)/package.C.in > tmp_package ;\
91 if cmp -s tmp_package package.C ; then \
95 mv tmp_package package.C ;\