summaryrefslogtreecommitdiff
path: root/src/xine-engine
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2004-09-06 18:34:37 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2004-09-06 18:34:37 +0000
commit261088452aebcd55874ba9cfdea8bbc6534122a0 (patch)
treea02f0717c43f30d7fb55e6a9f4e0d4134798ba63 /src/xine-engine
parente1ea9c13f9d15c4f9bf1372678fe9827be626be0 (diff)
downloadxine-lib-261088452aebcd55874ba9cfdea8bbc6534122a0.tar.gz
xine-lib-261088452aebcd55874ba9cfdea8bbc6534122a0.tar.bz2
Updates:
- usability MSVC for frontends - remove unistd.h from public headers - add configure option "--with-dxheaders" - install .def file under WIN32 - MSVC port update (some people might want it) CVS patchset: 6944 CVS date: 2004/09/06 18:34:37
Diffstat (limited to 'src/xine-engine')
-rw-r--r--src/xine-engine/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/xine-engine/Makefile.am b/src/xine-engine/Makefile.am
index f0f6d8d0b..d34ba80df 100644
--- a/src/xine-engine/Makefile.am
+++ b/src/xine-engine/Makefile.am
@@ -10,6 +10,7 @@ INTERNAL_ZLIB_LIB = $(top_builddir)/win32/contrib/zlib/libzlib.la
DIRENT_LIB = $(top_builddir)/win32/contrib/libdirent.la
INTERNAL_PTHREAD_LIB = $(top_builddir)/win32/contrib/pthreads/libpthread.la
TIMER_LIB = $(top_builddir)/win32/contrib/libtimer.la
+DEF_FILE = libxine-$(XINE_MAJOR).def
if !HAVE_ZLIB
zlib_dep = $(INTERNAL_ZLIB_LIB)
endif
@@ -17,7 +18,7 @@ if WIN32
dirent_lib = $(DIRENT_LIB)
pthread_dep = $(INTERNAL_PTHREAD_LIB)
timer_lib = $(TIMER_LIB)
-def_ldflags="-Wl,--output-def,libxine.def"
+def_ldflags="-Wl,--output-def,$(DEF_FILE)"
endif
libxine_la_SOURCES = xine.c metronom.c configfile.c buffer.c \
@@ -48,6 +49,14 @@ include_HEADERS = buffer.h metronom.h configfile.h vo_scale.h \
noinst_HEADERS = bswap.h
+if WIN32
+install-exec-local:
+ cp -p $(DEF_FILE) $(DESTDIR)$(libdir)
+
+uninstall-local:
+ rm -f $(DEF_FILE) $(DESTDIR)$(libdir)
+endif
+
@INCLUDED_INTL_TRUE@@INTLLIBS@:
@INCLUDED_INTL_TRUE@ @cd $(top_builddir)/intl && $(MAKE) libintl.la