Mercurial > mplayer.hg
annotate libaf/Makefile @ 14217:5b5ebf93ec16
Adds support for LADSPA (Linux Audio Developer's Simple Plugin API) plugins.
Compilation is optional and can be controled by configure. You need to
have the LADSPA SDK installed in order to have it autodetected by configure.
Manual page is updated.
author | ivo |
---|---|
date | Thu, 23 Dec 2004 02:09:52 +0000 |
parents | be8f4abbe960 |
children | 815f03b7cee5 |
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 | |
13996 | 5 SRCS=af.c af_mp.c af_dummy.c af_delay.c af_channels.c af_format.c af_resample.c \ |
6 window.c filter.c af_volume.c af_equalizer.c af_tools.c af_comp.c af_gate.c \ | |
7 af_pan.c af_surround.c af_sub.c af_export.c af_volnorm.c af_extrastereo.c \ | |
14217
5b5ebf93ec16
Adds support for LADSPA (Linux Audio Developer's Simple Plugin API) plugins.
ivo
parents:
13996
diff
changeset
|
8 af_lavcresample.c af_sweep.c af_hrtf.c $(OPTIONAL_SRCS) |
7568 | 9 |
10 OBJS=$(SRCS:.c=.o) | |
11 | |
9329 | 12 CFLAGS = $(OPTFLAGS) -I. -Wall $(EXTRA_INC) |
9770 | 13 |
12706 | 14 ifeq ($(TARGET_OS),MINGW32) |
9770 | 15 CFLAGS += -D_IO_H_ |
16 endif | |
17 | |
7568 | 18 .SUFFIXES: .c .o |
19 | |
20 .c.o: | |
21 $(CC) -c $(CFLAGS) -o $@ $< | |
22 | |
23 $(LIBNAME): $(OBJS) Makefile | |
24 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 25 $(RANLIB) $(LIBNAME) |
7568 | 26 |
8167 | 27 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h |
7568 | 28 |
29 all: $(LIBNAME) | |
30 | |
31 clean: | |
32 rm -f *.o *.a *~ | |
33 | |
34 distclean: | |
35 rm -f *.o *.a *~ .depend | |
36 | |
37 dep: depend | |
38 | |
39 depend: | |
40 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
41 | |
42 # | |
43 # include dependency files if they exist | |
44 # | |
45 ifneq ($(wildcard .depend),) | |
46 include .depend | |
47 endif |