diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2004-08-27 19:33:17 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2004-08-27 19:33:17 +0000 |
commit | e46ac635c2c28d80706f02f239bb847c7e48c34b (patch) | |
tree | edfd3169ae1ca48fbf36d7d1c6b61ccdfe50d01b /win32/contrib/pthreads/Makefile.am | |
parent | 2d5b782a786e81f3ee364210278747d8d338f065 (diff) | |
download | xine-lib-e46ac635c2c28d80706f02f239bb847c7e48c34b.tar.gz xine-lib-e46ac635c2c28d80706f02f239bb847c7e48c34b.tar.bz2 |
MINGW32 port. Engine library and most of plugins compiles now.
List of some changes:
- replaced some _MSC_VER by more common WIN32
- define INTLDIR, remove -static flag for included intl
- shared more common CFLAGS with DEBUG_CFLAGS
- use WIN32_CFLAGS for all building
- separate some flags into THREAD_CFLAGS_CONFIG,
THREAD_CFLAGS_CONFIG and ZLIB_LIB_CONFIG for public xine-config,
automatically use internal libs if necessary
- don't warn about missing X for mingw and cygwin
- libw32dll disabled for WIN32 (making native loader would be
interesting, or porting wine code to Windows? :->)
- DVB and RTP disabled for WIN32, not ported yet
- fix build and fix a warning in cdda
- fix build for nosefart and libfaad
- implement configure option --disable-freetype
- sync libxine.pc and xine-config.in
- add -liberty to goom under WIN32
- move original build files from included phread and zlib into archives
and replace them by autotools
CVS patchset: 6910
CVS date: 2004/08/27 19:33:17
Diffstat (limited to 'win32/contrib/pthreads/Makefile.am')
-rw-r--r-- | win32/contrib/pthreads/Makefile.am | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/win32/contrib/pthreads/Makefile.am b/win32/contrib/pthreads/Makefile.am new file mode 100644 index 000000000..dc55b0107 --- /dev/null +++ b/win32/contrib/pthreads/Makefile.am @@ -0,0 +1,42 @@ +LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic + +#AM_CLFAGS = -I. -D_WIN32_WINNT=0x400 -DHAVE_CONFIG_H -DPTW32_BUILD -D__CLEANUP_C +AM_CPPFLAGS = -D__CLEANUP_C + +EXTRA_DIST = acconfig.h ANNOUNCE CONTRIBUTIRS COPYING.LIB ChangeLog FAQ MAINTAINERS NEWS PROGRESS README README.CV README.NONPORTABLE README.WinCE TODO WinCE-PORT build.tar.gz config.h.in pthread.def pthread.dsp pthread.dsw + +if WIN32 +noinst_LTLIBRARIES = libpthread.la +include_HEADERS = pthread.h sched.h +noinst_HEADERS = config.h implement.h need_errno.h semaphore.h +else +noinst_HEADERS = config.h implement.h need_errno.h semaphore.h pthread.h sched.h +endif + +libpthread_la_SOURCES = attr.c barrier.c cancel.c cleanup.c condvar.c create.c dll.c errno.c exit.c fork.c global.c misc.c mutex.c nonportable.c private.c rwlock.c sched.c semaphore.c signal.c spin.c sync.c tsd.c + +pass1: + @$(MAKE) MULTIPASS_CFLAGS="$(PASS1_CFLAGS)" + +pass2: + @$(MAKE) MULTIPASS_CFLAGS="$(PASS2_CFLAGS)" + +debug: + @$(MAKE) CFLAGS="$(DEBUG_CFLAGS)" + +install-data-hook: + +install-debug: debug + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + @list='$(SUBDIRS)'; for subdir in $$list; do \ + (cd $$subdir && $(MAKE) $@) || exit; \ + done; + $(MAKE) $(AM_MAKEFLAGS) install-data-hook + +mostlyclean-generic: + -rm -f *~ \#* .*~ .\#* + +maintainer-clean-generic: + -@echo "This command is intended for maintainers to use;" + -@echo "it deletes files that may require special tools to rebuild." + -rm -f Makefile.in |