Mercurial > mplayer.hg
diff Makefile @ 1517:0e9c29538a86
Use USE_WIN32DLL define instead of ARCH_X86 to decide whether or not to compile
Win32 DLL code into mplayer. Default for USE_WIN32DLL is enabled on x86
machines, disabled otherwise.
Use of Win32 DLLs can be disabled on x86 using the --disable-win32 configure
option.
author | jkeil |
---|---|
date | Tue, 14 Aug 2001 18:28:56 +0000 |
parents | ad4d402b3d29 |
children | a444bd456fcc |
line wrap: on
line diff
--- a/Makefile Tue Aug 14 17:10:22 2001 +0000 +++ b/Makefile Tue Aug 14 18:28:56 2001 +0000 @@ -24,15 +24,12 @@ PARTS = mp3lib libac3 libmpeg2 opendivx libavcodec encore libvo libao2 drivers drivers/syncfb -ifeq ($(TARGET_ARCH_X86),yes) +ifneq ($(W32_LIB),) PARTS += loader loader/DirectShow SRCS += dll_init.c -LOADER_DEP = loader/libloader.a $(DS_DEP) -LIB_LOADER = -Lloader -lloader $(DS_LIB) -else -LOADER_DEP = -LIB_LOADER = endif +LOADER_DEP = $(W32_DEP) $(DS_DEP) +LIB_LOADER = $(W32_LIB) $(DS_LIB) .SUFFIXES: .c .o