Mercurial > mplayer.hg
annotate libao2/Makefile @ 18985:add5f992bba2
more c++ decl crap
author | rfelker |
---|---|
date | Mon, 10 Jul 2006 02:53:06 +0000 |
parents | e0ef5688cce7 |
children | 9b3a8b48e5b3 |
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 |
15772 | 5 SRCS=audio_out.c \ |
6 ao_mpegpes.c \ | |
7 ao_null.c \ | |
8 ao_pcm.c \ | |
9 $(OPTIONAL_SRCS) \ | |
3631
5f5189ac6a41
Added plugin for fractional resampling (alpha code)
anders
parents:
3484
diff
changeset
|
10 |
954 | 11 OBJS=$(SRCS:.c=.o) |
12 | |
15772 | 13 CFLAGS = $(OPTFLAGS) -I. -I.. \ |
14 $(ARTS_INC) \ | |
15 $(DVB_INC) \ | |
16 $(DXR2_INC) \ | |
17 $(ESD_INC) \ | |
18 $(EXTRA_INC) \ | |
19 $(JACK_INC) \ | |
17633
e0ef5688cce7
OpenAL audio support, actual output is mono-only (no positioning yet).
reimar
parents:
17488
diff
changeset
|
20 $(OPENAL_INC) \ |
15772 | 21 $(POLYP_INC) \ |
22 $(SDL_INC) \ | |
23 $(X11_INC) \ | |
954 | 24 |
25 .SUFFIXES: .c .o | |
26 | |
27 # .PHONY: all clean | |
28 | |
29 .c.o: | |
30 $(CC) -c $(CFLAGS) -o $@ $< | |
31 | |
1010 | 32 $(LIBNAME): $(OBJS) |
954 | 33 $(AR) r $(LIBNAME) $(OBJS) |
12632 | 34 $(RANLIB) $(LIBNAME) |
954 | 35 |
36 all: $(LIBNAME) | |
37 | |
38 clean: | |
39 rm -f *.o *.a *~ | |
40 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
15772
diff
changeset
|
41 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
15772
diff
changeset
|
42 rm -f .depend |
954 | 43 |
44 dep: depend | |
45 | |
1010 | 46 depend: |
954 | 47 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
48 | |
49 # | |
50 # include dependency files if they exist | |
51 # | |
52 ifneq ($(wildcard .depend),) | |
53 include .depend | |
54 endif |