Mercurial > mplayer.hg
annotate libaf/Makefile @ 21174:364075c5bc6c
r21161: MSGTR for libmpcodecs/vd.c
r21162: MSGTRs for mencoder.c
r21186: Remove "OSD only" tags; those options always exist.
author | kraymer |
---|---|
date | Fri, 24 Nov 2006 15:06:18 +0000 |
parents | b437b582250d |
children | 68df3b19a160 |
rev | line source |
---|---|
19034 | 1 include ../config.mak |
7568 | 2 |
3 LIBNAME = libaf.a | |
4 | |
15772 | 5 SRCS=af.c \ |
6 af_center.c \ | |
7 af_channels.c \ | |
8 af_comp.c \ | |
9 af_delay.c \ | |
10 af_dummy.c \ | |
11 af_equalizer.c \ | |
12 af_export.c \ | |
13 af_extrastereo.c \ | |
14 af_format.c \ | |
15 af_gate.c \ | |
16 af_hrtf.c \ | |
18470 | 17 af_karaoke.c \ |
15772 | 18 af_pan.c \ |
19 af_resample.c \ | |
18611
1c2f694d5232
Rename sinesupress to sinesuppress, including af_sinesupress.c file rename.
corey
parents:
18470
diff
changeset
|
20 af_sinesuppress.c \ |
15772 | 21 af_sub.c \ |
22 af_surround.c \ | |
23 af_sweep.c \ | |
24 af_tools.c \ | |
25 af_volnorm.c \ | |
26 af_volume.c \ | |
27 filter.c \ | |
28 format.c \ | |
29 window.c \ | |
19034 | 30 $(AF_SRCS) \ |
7568 | 31 |
16168
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
32 ifeq ($(CONFIG_LIBAVUTIL),yes) |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
33 LIBAV_INC += -I../libavutil |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
34 endif |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
35 ifeq ($(CONFIG_LIBAVCODEC),yes) |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
36 LIBAV_INC += -I../libavcodec |
17522
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
37 SRCS+=af_lavcresample.c |
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
38 endif |
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
39 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
40 SRCS+=af_lavcresample.c |
16168
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
41 endif |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
42 |
7568 | 43 OBJS=$(SRCS:.c=.o) |
44 | |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19037
diff
changeset
|
45 CFLAGS = -I. -I.. $(LIBAV_INC) $(OPTFLAGS) -D_GNU_SOURCE |
9770 | 46 |
12706 | 47 ifeq ($(TARGET_OS),MINGW32) |
9770 | 48 CFLAGS += -D_IO_H_ |
49 endif | |
50 | |
7568 | 51 .SUFFIXES: .c .o |
52 | |
53 .c.o: | |
54 $(CC) -c $(CFLAGS) -o $@ $< | |
55 | |
56 $(LIBNAME): $(OBJS) Makefile | |
57 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 58 $(RANLIB) $(LIBNAME) |
7568 | 59 |
8167 | 60 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h |
7568 | 61 |
62 all: $(LIBNAME) | |
63 | |
64 clean: | |
65 rm -f *.o *.a *~ | |
66 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17381
diff
changeset
|
67 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17381
diff
changeset
|
68 rm -f .depend |
7568 | 69 |
21080 | 70 dep depend: |
7568 | 71 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
72 | |
73 # | |
74 # include dependency files if they exist | |
75 # | |
76 ifneq ($(wildcard .depend),) | |
77 include .depend | |
78 endif |