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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
2
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
3 LIBNAME = libaf.a
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
4
13996
be8f4abbe960 head related transfer function
henry
parents: 13721
diff changeset
5 SRCS=af.c af_mp.c af_dummy.c af_delay.c af_channels.c af_format.c af_resample.c \
be8f4abbe960 head related transfer function
henry
parents: 13721
diff changeset
6 window.c filter.c af_volume.c af_equalizer.c af_tools.c af_comp.c af_gate.c \
be8f4abbe960 head related transfer function
henry
parents: 13721
diff changeset
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
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
9
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
10 OBJS=$(SRCS:.c=.o)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
11
9329
113095b8258b required for i18n+-lintl (found by Nexus)
arpi
parents: 8832
diff changeset
12 CFLAGS = $(OPTFLAGS) -I. -Wall $(EXTRA_INC)
9770
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
13
12706
51d61721906b mingw crosscompiling step 1
faust3
parents: 12632
diff changeset
14 ifeq ($(TARGET_OS),MINGW32)
9770
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
15 CFLAGS += -D_IO_H_
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
16 endif
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
17
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
18 .SUFFIXES: .c .o
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
19
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
20 .c.o:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
21 $(CC) -c $(CFLAGS) -o $@ $<
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
22
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
23 $(LIBNAME): $(OBJS) Makefile
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
24 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10892
diff changeset
25 $(RANLIB) $(LIBNAME)
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
26
8167
e8832e66babd New features:
anders
parents: 8073
diff changeset
27 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
28
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
29 all: $(LIBNAME)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
30
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
31 clean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
32 rm -f *.o *.a *~
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
33
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
34 distclean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
35 rm -f *.o *.a *~ .depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
36
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
37 dep: depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
38
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
39 depend:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
40 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
41
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
42 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
43 # include dependency files if they exist
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
44 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
45 ifneq ($(wildcard .depend),)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
46 include .depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
47 endif