Mercurial > mplayer.hg
annotate libao2/Makefile @ 12128:69ee0a61da88
ability to disable mp3lib, liba52 and libmpeg2
author | alex |
---|---|
date | Mon, 05 Apr 2004 23:17:40 +0000 |
parents | 3de6f1bcbc1a |
children | 80973aa180a5 |
rev | line source |
---|---|
966
69b4f944ce08
Added support for sdl audio out (buggy pre-alpha).
atmosfear
parents:
954
diff
changeset
|
1 include config.mak |
954 | 2 |
1013
74d55f3c4680
libao->libao2 because of conflict with OMS's libao
arpi_esp
parents:
1010
diff
changeset
|
3 LIBNAME = libao2.a |
954 | 4 |
6430 | 5 SRCS=afmt.c audio_out.c ao_mpegpes.c ao_null.c ao_pcm.c ao_plugin.c pl_delay.c pl_format.c pl_surround.c remez.c pl_resample.c pl_volume.c pl_extrastereo.c pl_volnorm.c pl_eq.c $(OPTIONAL_SRCS) |
3631
5f5189ac6a41
Added plugin for fractional resampling (alpha code)
anders
parents:
3484
diff
changeset
|
6 |
954 | 7 OBJS=$(SRCS:.c=.o) |
8 | |
8574
6690cdc35a08
Oops, missing Makefile in the esd audio driver check-in; libao2 Makefile needs
jkeil
parents:
6430
diff
changeset
|
9 CFLAGS = $(OPTFLAGS) -I. -I.. $(ARTS_INC) $(ESD_INC) $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DXR2_INC) $(DVB_INC) |
954 | 10 |
11 .SUFFIXES: .c .o | |
12 | |
13 # .PHONY: all clean | |
14 | |
15 .c.o: | |
16 $(CC) -c $(CFLAGS) -o $@ $< | |
17 | |
1010 | 18 $(LIBNAME): $(OBJS) |
954 | 19 $(AR) r $(LIBNAME) $(OBJS) |
20 | |
21 all: $(LIBNAME) | |
22 | |
23 clean: | |
24 rm -f *.o *.a *~ | |
25 | |
26 distclean: | |
27 rm -f Makefile.bak *.o *.a *~ .depend | |
28 | |
29 dep: depend | |
30 | |
1010 | 31 depend: |
954 | 32 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
33 | |
34 # | |
35 # include dependency files if they exist | |
36 # | |
37 ifneq ($(wildcard .depend),) | |
38 include .depend | |
39 endif |