Mercurial > mplayer.hg
comparison Makefile @ 1991:dee4b2ea5e5b
add gui support to config scripts, and fixed some warning.
author | pontscho |
---|---|
date | Thu, 27 Sep 2001 17:40:43 +0000 |
parents | e0cc7b7290ec |
children | 14c4f848a767 |
comparison
equal
deleted
inserted
replaced
1990:7858bc1b360d | 1991:dee4b2ea5e5b |
---|---|
21 CFLAGS = $(OPTFLAGS) -Iloader -Ilibvo $(CSS_INC) $(EXTRA_INC) # -Wall | 21 CFLAGS = $(OPTFLAGS) -Iloader -Ilibvo $(CSS_INC) $(EXTRA_INC) # -Wall |
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 $(MLIB_LIB) $(X_LIBS) | 23 VO_LIBS = -Llibvo -lvo $(MLIB_LIB) $(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 ifeq ($(GUI),yes) | |
27 PARTS += Gui | |
28 endif | |
26 | 29 |
27 ifneq ($(W32_LIB),) | 30 ifneq ($(W32_LIB),) |
28 PARTS += loader loader/DirectShow | 31 PARTS += loader loader/DirectShow |
29 SRCS += dll_init.c | 32 SRCS += dll_init.c |
30 endif | 33 endif |
72 $(MAKE) -C opendivx | 75 $(MAKE) -C opendivx |
73 | 76 |
74 encore/libencore.a: | 77 encore/libencore.a: |
75 $(MAKE) -C encore | 78 $(MAKE) -C encore |
76 | 79 |
80 Gui/libgui.a: | |
81 $(MAKE) -C Gui | |
77 | 82 |
78 MPLAYER_DEP = mplayer.o $(OBJS) $(LOADER_DEP) $(AV_DEP) $(COMMONLIBS) | 83 MPLAYER_DEP = mplayer.o $(OBJS) $(LOADER_DEP) $(AV_DEP) $(COMMONLIBS) |
84 ifeq ($(GUI),yes) | |
85 MPLAYER_DEP += Gui/libgui.a | |
86 endif | |
79 mplayerwithoutlink: $(MPLAYER_DEP) | 87 mplayerwithoutlink: $(MPLAYER_DEP) |
80 @for a in $(PARTS); do $(MAKE) -C $$a all ; done | 88 @for a in $(PARTS); do $(MAKE) -C $$a all ; done |
81 | 89 |
82 $(PRG): $(MPLAYER_DEP) | 90 $(PRG): $(MPLAYER_DEP) |
83 $(CC) $(CFLAGS) -o $(PRG) mplayer.o $(OBJS) $(XMM_LIBS) $(LIRC_LIBS) $(A_LIBS) -lm $(TERMCAP_LIB) $(LIB_LOADER) $(AV_LIB) -Llibmpeg2 -lmpeg2 -Llibao2 -lao2 $(VO_LIBS) $(CSS_LIB) -Lencore -lencore $(DECORE_LIBS) $(GUI_LIBS) $(ARCH_LIBS) | 91 $(CC) $(CFLAGS) -o $(PRG) mplayer.o $(OBJS) $(XMM_LIBS) $(LIRC_LIBS) $(A_LIBS) -lm $(TERMCAP_LIB) $(LIB_LOADER) $(AV_LIB) -Llibmpeg2 -lmpeg2 -Llibao2 -lao2 $(VO_LIBS) $(CSS_LIB) -Lencore -lencore $(DECORE_LIBS) $(GUI_LIBS) $(ARCH_LIBS) |