comparison 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
comparison
equal deleted inserted replaced
1516:0053e6d0cda0 1517:0e9c29538a86
22 A_LIBS = -Lmp3lib -lMP3 -Llibac3 -lac3 $(ALSA_LIB) $(ESD_LIB) 22 A_LIBS = -Lmp3lib -lMP3 -Llibac3 -lac3 $(ALSA_LIB) $(ESD_LIB)
23 VO_LIBS = -Llibvo -lvo $(X_LIBS) 23 VO_LIBS = -Llibvo -lvo $(X_LIBS)
24 24
25 PARTS = mp3lib libac3 libmpeg2 opendivx libavcodec encore libvo libao2 drivers drivers/syncfb 25 PARTS = mp3lib libac3 libmpeg2 opendivx libavcodec encore libvo libao2 drivers drivers/syncfb
26 26
27 ifeq ($(TARGET_ARCH_X86),yes) 27 ifneq ($(W32_LIB),)
28 PARTS += loader loader/DirectShow 28 PARTS += loader loader/DirectShow
29 SRCS += dll_init.c 29 SRCS += dll_init.c
30 LOADER_DEP = loader/libloader.a $(DS_DEP)
31 LIB_LOADER = -Lloader -lloader $(DS_LIB)
32 else
33 LOADER_DEP =
34 LIB_LOADER =
35 endif 30 endif
31 LOADER_DEP = $(W32_DEP) $(DS_DEP)
32 LIB_LOADER = $(W32_LIB) $(DS_LIB)
36 33
37 34
38 .SUFFIXES: .c .o 35 .SUFFIXES: .c .o
39 36
40 # .PHONY: all clean 37 # .PHONY: all clean