CLEANFILES += $(BUILT_SOURCES)
-EXTRA_DIST = package.C.in pch.h os_unix.C os_win32.C os_os2.C
+EXTRA_DIST = package.C.in pch.h \
+ os_cygwin.C os_unix.C os_win32.C os_win32.h
noinst_LTLIBRARIES = libsupport.la
-if USE_COMPRESSION
-COMPRESSION = gzstream.C gzstream.h
-endif
+libsupport_la_LIBADD = $(LIBSHLWAPI)
BUILT_SOURCES = $(PCH_FILE) package.C
libsupport_la_SOURCES = \
FileMonitor.h \
FileMonitor.C \
+ RandomAccessList.h \
abort.C \
chdir.C \
convert.C \
copied_ptr.h \
cow_ptr.h \
debugstream.h \
+ docstream.C \
+ docstream.h \
+ docstring.C \
+ docstring.h \
environment.h \
environment.C \
filefilterlist.C \
filename.h \
filetools.C \
filetools.h \
+ fontutils.C \
+ fontutils.h \
forkedcall.C \
forkedcall.h \
forkedcallqueue.C \
fs_extras.C \
fs_extras.h \
getcwd.C \
- $(COMPRESSION) kill.C \
+ kill.C \
limited_stack.h \
lstrings.C \
lstrings.h \
mkdir.C \
os.C \
os.h \
- os2_defines.h \
- os2_errortable.h \
path.C \
path.h \
package.C \
types.h \
userinfo.C \
userinfo.h \
+ unicode.C \
+ unicode.h \
unlink.C
# Solaris sed does not like spaces bewteen the ;-delimited commands
build_package: package.C.in
@rm -f tmp_package ;\
- ABS_SRCDIR=`cd $(top_srcdir) && pwd` ;\
- ABS_BUILDDIR=`cd ../.. && pwd` ;\
- sed "s,%LYX_DIR%,$(pkgdatadir),;\
-s,%LOCALEDIR%,$(datadir)/locale,;\
-s,%TOP_SRCDIR%,$${ABS_SRCDIR}," \
+ sed "s,%LYX_DIR%,$(LYX_ABS_INSTALLED_DATADIR),;\
+s,%LOCALEDIR%,$(LYX_ABS_INSTALLED_LOCALEDIR),;\
+s,%TOP_SRCDIR%,$(LYX_ABS_TOP_SRCDIR),;\
+s,%PROGRAM_SUFFIX%,$(program_suffix)," \
$(srcdir)/package.C.in > tmp_package ;\
if cmp -s tmp_package package.C ; then \
rm -f tmp_package ;\