Mercurial > mplayer.hg
annotate libaf/Makefile @ 17725:d7dd016cb97a
update activity every 30 sec
author | nplourde |
---|---|
date | Sat, 04 Mar 2006 12:37:44 +0000 |
parents | 2408715522a7 |
children | 0aa3fef68422 |
rev | line source |
---|---|
14217
5b5ebf93ec16
Adds support for LADSPA (Linux Audio Developer's Simple Plugin API) plugins.
ivo
parents:
13996
diff
changeset
|
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 \ | |
17 af_pan.c \ | |
18 af_resample.c \ | |
19 af_sub.c \ | |
20 af_surround.c \ | |
21 af_sweep.c \ | |
22 af_tools.c \ | |
23 af_volnorm.c \ | |
24 af_volume.c \ | |
25 filter.c \ | |
26 format.c \ | |
27 window.c \ | |
28 $(OPTIONAL_SRCS) \ | |
7568 | 29 |
16168
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
30 LIBAV_INC = |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
31 ifeq ($(CONFIG_LIBAVUTIL),yes) |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
32 LIBAV_INC += -I../libavutil |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
33 endif |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
34 ifeq ($(CONFIG_LIBAVCODEC),yes) |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
35 LIBAV_INC += -I../libavcodec |
17522
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
36 SRCS+=af_lavcresample.c |
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
37 endif |
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
38 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
39 SRCS+=af_lavcresample.c |
16168
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
40 endif |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
41 |
7568 | 42 OBJS=$(SRCS:.c=.o) |
43 | |
17381
7af5fe0860a1
This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from
rathann
parents:
16982
diff
changeset
|
44 CFLAGS = $(OPTFLAGS) -I. -I.. $(LIBAV_INC) $(EXTRA_INC) -D_GNU_SOURCE |
9770 | 45 |
12706 | 46 ifeq ($(TARGET_OS),MINGW32) |
9770 | 47 CFLAGS += -D_IO_H_ |
48 endif | |
49 | |
7568 | 50 .SUFFIXES: .c .o |
51 | |
52 .c.o: | |
53 $(CC) -c $(CFLAGS) -o $@ $< | |
54 | |
55 $(LIBNAME): $(OBJS) Makefile | |
56 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 57 $(RANLIB) $(LIBNAME) |
7568 | 58 |
8167 | 59 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h |
7568 | 60 |
61 all: $(LIBNAME) | |
62 | |
63 clean: | |
64 rm -f *.o *.a *~ | |
65 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17381
diff
changeset
|
66 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17381
diff
changeset
|
67 rm -f .depend |
7568 | 68 |
69 dep: depend | |
70 | |
71 depend: | |
72 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
73 | |
74 # | |
75 # include dependency files if they exist | |
76 # | |
77 ifneq ($(wildcard .depend),) | |
78 include .depend | |
79 endif |