Mercurial > mplayer.hg
comparison Makefile @ 2450:f51307170f69
MIPS support by oliver.schoenbrunner@jku.at
author | arpi |
---|---|
date | Wed, 24 Oct 2001 14:02:19 +0000 |
parents | ec8ff6ea4af6 |
children | 23de840b63f2 |
comparison
equal
deleted
inserted
replaced
2449:7ef89d9b06ed | 2450:f51307170f69 |
---|---|
17 BINDIR = ${prefix}/bin | 17 BINDIR = ${prefix}/bin |
18 # BINDIR = /usr/local/bin | 18 # BINDIR = /usr/local/bin |
19 SRCS = ima4.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c find_sub.c dec_audio.c dec_video.c codec-cfg.c subreader.c lirc_mp.c cfgparser.c mixer.c spudec.c | 19 SRCS = ima4.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c find_sub.c dec_audio.c dec_video.c codec-cfg.c subreader.c lirc_mp.c cfgparser.c mixer.c spudec.c |
20 OBJS = $(SRCS:.c=.o) | 20 OBJS = $(SRCS:.c=.o) |
21 CFLAGS = $(OPTFLAGS) -Ilibmpdemux -Iloader -Ilibvo $(CSS_INC) $(EXTRA_INC) $(MADLIB_INC) # -Wall | 21 CFLAGS = $(OPTFLAGS) -Ilibmpdemux -Iloader -Ilibvo $(CSS_INC) $(EXTRA_INC) $(MADLIB_INC) # -Wall |
22 A_LIBS = -Lmp3lib -lMP3 -Llibac3 -lac3 $(ALSA_LIB) $(ESD_LIB) $(MADLIB_LIB) | 22 A_LIBS = -Lmp3lib -lMP3 -Llibac3 -lac3 $(ALSA_LIB) $(ESD_LIB) $(MADLIB_LIB) $(SGI_AUDIO_LIB) |
23 VO_LIBS = -Llibvo -lvo $(MLIB_LIB) $(X_LIBS) | 23 VO_LIBS = -Llibvo -lvo $(MLIB_LIB) $(X_LIBS) |
24 OSDEP_LIBS = -Llinux -losdep | 24 OSDEP_LIBS = -Llinux -losdep |
25 PP_LIBS = -Lpostproc -lpostproc | 25 PP_LIBS = -Lpostproc -lpostproc |
26 XA_LIBS = -Lxa -lxa | 26 XA_LIBS = -Lxa -lxa |
27 | 27 |
28 ifeq ($(TARGET_ARCH_SGI_MIPS),yes) | |
29 PARTS = libmpdemux mp3lib libac3 libmpeg2 opendivx libavcodec encore libvo libao2 drivers drivers/syncfb | |
30 else | |
28 PARTS = libmpdemux mp3lib libac3 libmpeg2 opendivx libavcodec encore libvo libao2 drivers drivers/syncfb linux postproc xa | 31 PARTS = libmpdemux mp3lib libac3 libmpeg2 opendivx libavcodec encore libvo libao2 drivers drivers/syncfb linux postproc xa |
32 endif | |
29 ifeq ($(GUI),yes) | 33 ifeq ($(GUI),yes) |
30 PARTS += Gui | 34 PARTS += Gui |
31 endif | 35 endif |
32 | 36 |
33 ifneq ($(W32_LIB),) | 37 ifneq ($(W32_LIB),) |
106 endif | 110 endif |
107 mplayerwithoutlink: $(MPLAYER_DEP) | 111 mplayerwithoutlink: $(MPLAYER_DEP) |
108 @for a in $(PARTS); do $(MAKE) -C $$a all ; done | 112 @for a in $(PARTS); do $(MAKE) -C $$a all ; done |
109 | 113 |
110 $(PRG): $(MPLAYER_DEP) | 114 $(PRG): $(MPLAYER_DEP) |
111 $(CC) -rdynamic $(CFLAGS) -o $(PRG) mplayer.o -Llibmpdemux -lmpdemux $(OBJS) $(XMM_LIBS) $(LIRC_LIBS) $(A_LIBS) -lm $(TERMCAP_LIB) $(LIB_LOADER) $(AV_LIB) -Llibmpeg2 -lmpeg2 -Llibao2 -lao2 $(VO_LIBS) $(CSS_LIB) -Lencore -lencore $(GUI_LIBS) $(ARCH_LIBS) $(OSDEP_LIBS) $(PP_LIBS) $(XA_LIBS) $(DECORE_LIBS) | 115 $(CC) -rdynamic $(CFLAGS) -o $(PRG) mplayer.o -Llibmpdemux -lmpdemux $(OBJS) $(XMM_LIBS) $(LIRC_LIBS) $(TERMCAP_LIB) $(LIB_LOADER) $(AV_LIB) -Llibmpeg2 -lmpeg2 -Llibao2 -lao2 $(A_LIBS) $(VO_LIBS) $(CSS_LIB) -Lencore -lencore $(GUI_LIBS) $(ARCH_LIBS) $(OSDEP_LIBS) $(PP_LIBS) $(XA_LIBS) $(DECORE_LIBS) -lm |
112 | 116 |
113 $(PRG_FIBMAP): fibmap_mplayer.o | 117 $(PRG_FIBMAP): fibmap_mplayer.o |
114 $(CC) -o $(PRG_FIBMAP) fibmap_mplayer.o | 118 $(CC) -o $(PRG_FIBMAP) fibmap_mplayer.o |
115 | 119 |
116 # $(PRG_HQ): depfile mplayerHQ.o $(OBJS) loader/libloader.a libmpeg2/libmpeg2.a opendivx/libdecore.a $(COMMONLIBS) encore/libencore.a | 120 # $(PRG_HQ): depfile mplayerHQ.o $(OBJS) loader/libloader.a libmpeg2/libmpeg2.a opendivx/libdecore.a $(COMMONLIBS) encore/libencore.a |