2002-03-13 18:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2003-07-27 19:26:36 +00:00
|
|
|
nodist_include_HEADERS = path_defines.C
|
2002-02-20 22:57:44 +00:00
|
|
|
noinst_LTLIBRARIES = libsupport.la
|
2002-03-13 18:24:44 +00:00
|
|
|
|
2003-07-27 19:26:36 +00:00
|
|
|
CLEANFILES = path_defines.C
|
|
|
|
|
2002-09-24 18:20:26 +00:00
|
|
|
INCLUDES = -I$(srcdir)/../ $(BOOST_INCLUDES)
|
1999-10-19 20:59:27 +00:00
|
|
|
|
2003-07-27 19:26:36 +00:00
|
|
|
EXTRA_DIST = path_defines.C.in lyxstring.C lyxstring.h \
|
2002-05-25 00:19:56 +00:00
|
|
|
os_unix.C os_win32.C os_os2.C
|
2000-02-15 14:28:15 +00:00
|
|
|
|
1999-10-19 20:59:27 +00:00
|
|
|
if USE_LYXSTRING
|
|
|
|
LYXSTRING = lyxstring.C lyxstring.h
|
|
|
|
endif
|
|
|
|
|
2003-07-27 19:26:36 +00:00
|
|
|
BUILT_SOURCES = path_defines.C
|
|
|
|
|
2002-02-20 22:57:44 +00:00
|
|
|
libsupport_la_SOURCES = \
|
2003-03-30 20:25:44 +00:00
|
|
|
BoostFormat.h \
|
1999-10-07 18:44:17 +00:00
|
|
|
DebugStream.C \
|
|
|
|
DebugStream.h \
|
1999-10-02 16:21:10 +00:00
|
|
|
FileInfo.C \
|
|
|
|
FileInfo.h \
|
2002-07-18 14:01:42 +00:00
|
|
|
FileMonitor.h \
|
|
|
|
FileMonitor.C \
|
2000-06-12 11:27:15 +00:00
|
|
|
LAssert.C \
|
1999-10-02 16:21:10 +00:00
|
|
|
LAssert.h \
|
1999-10-23 17:26:19 +00:00
|
|
|
LIstream.h \
|
|
|
|
LOstream.h \
|
2001-05-17 15:11:01 +00:00
|
|
|
os.C \
|
|
|
|
os.h \
|
2000-01-17 21:01:30 +00:00
|
|
|
abort.C \
|
2000-09-26 13:54:57 +00:00
|
|
|
atoi.C \
|
2003-03-30 20:25:44 +00:00
|
|
|
boost-inst.C \
|
2000-01-17 21:01:30 +00:00
|
|
|
chdir.C \
|
2000-09-05 13:16:19 +00:00
|
|
|
copy.C \
|
2003-07-22 20:42:40 +00:00
|
|
|
filename.C \
|
|
|
|
filename.h \
|
1999-10-02 16:21:10 +00:00
|
|
|
filetools.C \
|
|
|
|
filetools.h \
|
2002-02-27 09:59:52 +00:00
|
|
|
forkedcall.C \
|
|
|
|
forkedcall.h \
|
2003-02-25 18:56:09 +00:00
|
|
|
forkedcallqueue.C \
|
|
|
|
forkedcallqueue.h \
|
2002-02-27 09:59:52 +00:00
|
|
|
forkedcontr.C \
|
|
|
|
forkedcontr.h \
|
2000-01-17 21:01:30 +00:00
|
|
|
getcwd.C \
|
2003-07-27 23:40:08 +00:00
|
|
|
gzstream.C \
|
|
|
|
gzstream.h \
|
2000-01-17 21:01:30 +00:00
|
|
|
kill.C \
|
2002-05-26 19:46:25 +00:00
|
|
|
limited_stack.h \
|
1999-10-02 16:21:10 +00:00
|
|
|
lstrings.C \
|
|
|
|
lstrings.h \
|
2000-03-09 03:36:48 +00:00
|
|
|
lyxalgo.h \
|
2000-10-11 21:06:43 +00:00
|
|
|
lyxfunctional.h \
|
1999-10-02 16:21:10 +00:00
|
|
|
lyxlib.h \
|
2000-03-06 16:05:12 +00:00
|
|
|
lyxmanip.h \
|
2003-02-08 19:18:01 +00:00
|
|
|
lyxtime.C \
|
|
|
|
lyxtime.h \
|
1999-10-19 20:59:27 +00:00
|
|
|
$(LYXSTRING) lyxsum.C \
|
2000-01-20 01:41:55 +00:00
|
|
|
mkdir.C \
|
2002-02-26 10:50:48 +00:00
|
|
|
nt_defines.h \
|
|
|
|
os2_defines.h \
|
|
|
|
os2_errortable.h \
|
2000-04-04 00:19:15 +00:00
|
|
|
path.C \
|
1999-10-13 17:32:46 +00:00
|
|
|
path.h \
|
2003-07-27 19:26:36 +00:00
|
|
|
path_defines.C \
|
2000-01-20 01:41:55 +00:00
|
|
|
putenv.C \
|
2000-09-05 13:16:19 +00:00
|
|
|
rename.C \
|
2000-09-26 13:54:57 +00:00
|
|
|
rmdir.C \
|
2000-10-13 16:23:09 +00:00
|
|
|
snprintf.h \
|
|
|
|
snprintf.c \
|
2000-09-14 17:53:12 +00:00
|
|
|
sstream.h \
|
2002-05-25 00:19:56 +00:00
|
|
|
systemcall.C \
|
2002-02-18 19:13:48 +00:00
|
|
|
systemcall.h \
|
2000-11-08 09:39:46 +00:00
|
|
|
tempname.C \
|
2000-07-27 10:26:38 +00:00
|
|
|
textutils.h \
|
2003-05-13 14:36:24 +00:00
|
|
|
tostr.h \
|
|
|
|
tostr.C \
|
2001-11-28 13:15:41 +00:00
|
|
|
translator.h \
|
|
|
|
types.h \
|
2003-05-13 14:36:24 +00:00
|
|
|
userinfo.C \
|
|
|
|
userinfo.h \
|
2002-08-20 20:43:10 +00:00
|
|
|
unlink.C
|
2003-07-27 19:26:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
path_defines.C: build_path_defines
|
|
|
|
|
|
|
|
build_path_defines: path_defines.C.in
|
|
|
|
@rm -f tmp_path_defines ;\
|
|
|
|
ABS_SRCDIR=`cd $(top_srcdir) && pwd` ;\
|
2003-07-27 20:17:31 +00:00
|
|
|
ABS_BUILDDIR=`cd ../.. && pwd` ;\
|
2003-07-27 19:26:36 +00:00
|
|
|
sed "s,%LYX_DIR%,$(pkgdatadir), ;\
|
|
|
|
s,%LOCALEDIR%,$(datadir)/locale, ;\
|
2003-07-27 20:17:31 +00:00
|
|
|
s,%BUILDDIR%,$${ABS_BUILDDIR}, ;\
|
2003-07-27 19:26:36 +00:00
|
|
|
s,%TOP_SRCDIR%,$${ABS_SRCDIR}," \
|
|
|
|
$(srcdir)/path_defines.C.in > tmp_path_defines ;\
|
|
|
|
if cmp -s tmp_path_defines path_defines.C ; then \
|
|
|
|
rm -f tmp_path_defines ;\
|
|
|
|
else \
|
|
|
|
rm -f path_defines.C ;\
|
|
|
|
mv tmp_path_defines path_defines.C ;\
|
|
|
|
fi
|