1 include $(top_srcdir)/config/common.am
5 CLEANFILES += $(BUILT_SOURCES)
7 EXTRA_DIST = package.C.in pch.h \
8 os_cygwin.C os_os2.C os_unix.C os_win32.C os_win32.h
10 noinst_LTLIBRARIES = libsupport.la
13 COMPRESSION = gzstream.C gzstream.h
16 BUILT_SOURCES = $(PCH_FILE) package.C
18 AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
20 libsupport_la_SOURCES = \
48 $(COMPRESSION) kill.C \
83 package.C: build_package
85 # Solaris sed does not like spaces bewteen the ;-delimited commands
86 build_package: package.C.in
88 sed "s,%LYX_DIR%,$(LYX_ABS_INSTALLED_DATADIR),;\
89 s,%LOCALEDIR%,$(LYX_ABS_INSTALLED_LOCALEDIR),;\
90 s,%TOP_SRCDIR%,$(LYX_ABS_TOP_SRCDIR)," \
91 $(srcdir)/package.C.in > tmp_package ;\
92 if cmp -s tmp_package package.C ; then \
96 mv tmp_package package.C ;\