Last change
on this file since 5014:af22bd800d2b was
4748:d7be1c18ccb5,
checked in by phi, 13 years ago
|
updated configure script to honor LDFLAGS and added --opti to set optimizer level (Closes: #27)
|
File size:
1.2 KB
|
Line | |
---|
1 | include ../Makefile.conf |
---|
2 | include ../Makefile.inc |
---|
3 | |
---|
4 | SLIB=libroardsp$(SHARED_SUFFIX) |
---|
5 | |
---|
6 | TARGETS=$(SLIB) libroardsp.a |
---|
7 | OBJS=libroardsp.o convert.o midside.o poly.o filter.o filterchain.o remove.o transcode.o vio_transcode.o rms.o fader.o mixer.o amp.o interleave.o channels.o resampler_poly3.o float.o |
---|
8 | OLDROAR=midi.o |
---|
9 | FILTER=filter_lowp.o filter_highp.o filter_amp.o filter_quantify.o filter_add.o filter_clip.o filter_downmix.o filter_dcblock.o filter_swap.o filter_agc.o filter_speex_prep.o |
---|
10 | MIDI=synth.o |
---|
11 | CODECS=alaw.o mulaw.o |
---|
12 | TRANSCODERS=transcode_mualaw.o transcode_celt.o transcode_speex.o |
---|
13 | |
---|
14 | ALLOBJS=$(OBJS) $(FILTER) $(TRANSCODERS) $(OLDROAR) $(MIDI) $(CODECS) |
---|
15 | |
---|
16 | #DEFINES = -DDEBUG |
---|
17 | INCLUDE = -I../include -I../include/libroardsp |
---|
18 | CFLAGS += -g -Wall $(OPTI_O) $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC) |
---|
19 | LDFLAGS+= -g $(SHARED) -L../lib/ $(LDPATH) |
---|
20 | |
---|
21 | LIBS = $(LIBROARDSP_NS) |
---|
22 | |
---|
23 | all: ${TARGETS} |
---|
24 | rm -f ../lib/${SLIB} 2> /dev/null || true |
---|
25 | cp $(cp_v) ${TARGETS} ../lib/ |
---|
26 | clean: |
---|
27 | rm -f ${TARGETS} *.o |
---|
28 | new: clean all |
---|
29 | |
---|
30 | $(SLIB): $(ALLOBJS) |
---|
31 | ${CC} ${LDFLAGS} -Wl,-soname,$(SLIB).$(LIBROARDSP_V) -o $(SLIB) $(ALLOBJS) $(LIBS) |
---|
32 | libroardsp.a: $(ALLOBJS) |
---|
33 | ${AR} cru libroardsp.a $(ALLOBJS) |
---|
34 | ${RANLIB} libroardsp.a |
---|
Note: See
TracBrowser
for help on using the repository browser.