comparison Makefile @ 26311:a3d7fc4f186e

Build all parts in the libmenu subdirectory nonrecursively.
author diego
date Mon, 07 Apr 2008 08:28:54 +0000
parents 51338bf153de
children c0dba62cd135
comparison
equal deleted inserted replaced
26310:89fcab7f215d 26311:a3d7fc4f186e
42 mp_msg.c \ 42 mp_msg.c \
43 mixer.c \ 43 mixer.c \
44 parser-mpcmd.c \ 44 parser-mpcmd.c \
45 command.c \ 45 command.c \
46 input/input.c \ 46 input/input.c \
47 libmenu/menu.c \
48 libmenu/menu_chapsel.c \
49 libmenu/menu_cmdlist.c \
50 libmenu/menu_console.c \
51 libmenu/menu_filesel.c \
52 libmenu/menu_list.c \
53 libmenu/menu_param.c \
54 libmenu/menu_pt.c \
55 libmenu/menu_txt.c \
56 libmenu/vf_menu.c \
47 57
48 SRCS_MPLAYER-$(APPLE_REMOTE) += input/ar.c 58 SRCS_MPLAYER-$(APPLE_REMOTE) += input/ar.c
59 SRCS_MPLAYER-$(DVBIN) += libmenu/menu_dvbin.c
49 SRCS_MPLAYER-$(JOYSTICK) += input/joystick.c 60 SRCS_MPLAYER-$(JOYSTICK) += input/joystick.c
50 SRCS_MPLAYER-$(LIRC) += input/lirc.c 61 SRCS_MPLAYER-$(LIRC) += input/lirc.c
51 62
52 63
53 SRCS_MENCODER = mencoder.c \ 64 SRCS_MENCODER = mencoder.c \
79 LIBS_MPLAYER = libvo/libvo.a \ 90 LIBS_MPLAYER = libvo/libvo.a \
80 libao2/libao2.a \ 91 libao2/libao2.a \
81 92
82 LIBS_MPLAYER-$(VIDIX) += vidix/libvidix.a 93 LIBS_MPLAYER-$(VIDIX) += vidix/libvidix.a
83 LIBS_MPLAYER-$(GUI) += gui/libgui.a 94 LIBS_MPLAYER-$(GUI) += gui/libgui.a
84 LIBS_MPLAYER-$(LIBMENU) += libmenu/libmenu.a
85 95
86 LIBS_MENCODER = libmpcodecs/libmpencoders.a \ 96 LIBS_MENCODER = libmpcodecs/libmpencoders.a \
87 libmpdemux/libmpmux.a \ 97 libmpdemux/libmpmux.a \
88 98
89 # Having this in libosdep.a is not enough. 99 # Having this in libosdep.a is not enough.
116 libavcodec \ 126 libavcodec \
117 libavformat \ 127 libavformat \
118 libavutil \ 128 libavutil \
119 libdvdcss \ 129 libdvdcss \
120 libfaad2 \ 130 libfaad2 \
121 libmenu \
122 libmpcodecs \ 131 libmpcodecs \
123 libmpdemux \ 132 libmpdemux \
124 libmpeg2 \ 133 libmpeg2 \
125 libpostproc \ 134 libpostproc \
126 libswscale \ 135 libswscale \
131 stream \ 140 stream \
132 tremor \ 141 tremor \
133 vidix \ 142 vidix \
134 143
135 DIRS = input \ 144 DIRS = input \
145 libmenu \
136 146
137 all: $(ALL_PRG) 147 all: $(ALL_PRG)
138 148
139 dep depend:: help_mp.h version.h codecs.conf.h 149 dep depend:: help_mp.h version.h codecs.conf.h
140 @for a in $(PARTS); do $(MAKE) -C $$a dep; done 150 @for a in $(PARTS); do $(MAKE) -C $$a dep; done
218 osdep/libosdep.a: 228 osdep/libosdep.a:
219 $(MAKE) -C osdep 229 $(MAKE) -C osdep
220 230
221 osdep/mplayer-rc.o: version.h 231 osdep/mplayer-rc.o: version.h
222 $(MAKE) -C osdep mplayer-rc.o 232 $(MAKE) -C osdep mplayer-rc.o
223
224 libmenu/libmenu.a:
225 $(MAKE) -C libmenu
226 233
227 mplayer$(EXESUF): $(MPLAYER_DEPS) 234 mplayer$(EXESUF): $(MPLAYER_DEPS)
228 $(CC) -o $@ $^ $(LDFLAGS_MPLAYER) 235 $(CC) -o $@ $^ $(LDFLAGS_MPLAYER)
229 236
230 mencoder$(EXESUF): $(MENCODER_DEPS) 237 mencoder$(EXESUF): $(MENCODER_DEPS)
382 libvo/libvo.a: .norecurse $(wildcard libvo/*.[ch]) 389 libvo/libvo.a: .norecurse $(wildcard libvo/*.[ch])
383 libvo/libosd.a: .norecurse $(wildcard libvo/*.[ch]) 390 libvo/libosd.a: .norecurse $(wildcard libvo/*.[ch])
384 libao2/libao2.a: .norecurse $(wildcard libao2/*.[ch]) 391 libao2/libao2.a: .norecurse $(wildcard libao2/*.[ch])
385 osdep/libosdep.a: .norecurse $(wildcard osdep/*.[ch]) 392 osdep/libosdep.a: .norecurse $(wildcard osdep/*.[ch])
386 393
387 libmenu/libmenu.a: .norecurse $(wildcard libmenu/*.[ch])
388 libaf/libaf.a: .norecurse $(wildcard libaf/*.[ch]) 394 libaf/libaf.a: .norecurse $(wildcard libaf/*.[ch])
389 dvdread/libdvdread.a: .norecurse $(wildcard dvdread/*.[ch]) 395 dvdread/libdvdread.a: .norecurse $(wildcard dvdread/*.[ch])
390 libdvdcss/libdvdcss.a: .norecurse $(wildcard libdvdcss/*.[ch]) 396 libdvdcss/libdvdcss.a: .norecurse $(wildcard libdvdcss/*.[ch])
391 397
392 libmpdemux/libmpdemux.a: .norecurse $(wildcard libmpdemux/*.[ch]) 398 libmpdemux/libmpdemux.a: .norecurse $(wildcard libmpdemux/*.[ch])