Mercurial > mplayer.hg
annotate libaf/Makefile @ 15772:d3d30585a9d2
Be more patch-friendly
author | ranma |
---|---|
date | Sun, 19 Jun 2005 22:52:55 +0000 |
parents | 667c78f0fc60 |
children | 99c188fbdba4 |
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_lavcresample.c \ | |
18 af_pan.c \ | |
19 af_resample.c \ | |
20 af_sub.c \ | |
21 af_surround.c \ | |
22 af_sweep.c \ | |
23 af_tools.c \ | |
24 af_volnorm.c \ | |
25 af_volume.c \ | |
26 filter.c \ | |
27 format.c \ | |
28 window.c \ | |
29 $(OPTIONAL_SRCS) \ | |
7568 | 30 |
31 OBJS=$(SRCS:.c=.o) | |
32 | |
15596
667c78f0fc60
- correct the argument in configure check for lrintf() to avoid a warning
henry
parents:
14749
diff
changeset
|
33 CFLAGS = $(OPTFLAGS) -I. -Wall $(EXTRA_INC) -D_GNU_SOURCE |
9770 | 34 |
12706 | 35 ifeq ($(TARGET_OS),MINGW32) |
9770 | 36 CFLAGS += -D_IO_H_ |
37 endif | |
38 | |
7568 | 39 .SUFFIXES: .c .o |
40 | |
41 .c.o: | |
42 $(CC) -c $(CFLAGS) -o $@ $< | |
43 | |
44 $(LIBNAME): $(OBJS) Makefile | |
45 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 46 $(RANLIB) $(LIBNAME) |
7568 | 47 |
8167 | 48 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h |
7568 | 49 |
50 all: $(LIBNAME) | |
51 | |
52 clean: | |
53 rm -f *.o *.a *~ | |
54 | |
55 distclean: | |
56 rm -f *.o *.a *~ .depend | |
57 | |
58 dep: depend | |
59 | |
60 depend: | |
61 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
62 | |
63 # | |
64 # include dependency files if they exist | |
65 # | |
66 ifneq ($(wildcard .depend),) | |
67 include .depend | |
68 endif |