summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-10-01 20:16:28 +0000
committerLennart Poettering <lennart@poettering.net>2007-10-01 20:16:28 +0000
commit7d83e5c7816b5e343695a75ba58b32dbe1be969a (patch)
treebfd1dfc9b7c8f4a2aaf66c1b30e78355dee8c88a /Makefile
parent762196328ab7e60f1d2908fd5a337d2ca99726dd (diff)
move all sources down to a seperate src/ tree
git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@34 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile47
1 files changed, 0 insertions, 47 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index bd82b1f..0000000
--- a/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-CFLAGS=-Wall -O0 -g -W -Wno-unused-parameter `pkg-config --cflags liboil-0.3` -DRANDOM_PREFIX=saspeex -DOUTSIDE_SPEEX -D_GNU_SOURCE -pthread
-LIBS=-lm `pkg-config --libs liboil-0.3`
-
-SOURCES=common.c malloc.c oss.c bbuffer.c format.c volscale.c byteswap.c continued-fraction.c zero.c add.c speex/resample.c resample.c interleave.c converter.c g711.c mutex.c once.c thread.c bufferq.c # asyncq.c
-OBJS=$(SOURCES:.c=.o)
-
-all: test-bufferq test-llist test-sine test-pull #test-asyncq
-
-test-bufferq: test-bufferq.o bufferq.o malloc.o #$(OBJS)
- $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
-
-test-llist: test-llist.o
- $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
-
-test-sine: $(OBJS) test-sine.o
- $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
-
-test-pull: $(OBJS) test-pull.o
- $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
-
-test-asyncq: $(OBJS) test-asyncq.o
- $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
-
-*.o: *.h
-
-indent:
- indent -bdfa -brf -kr -nbbo -nbc -ip0 -ppi 4 -cs -nbfde -npsl -br -brs -bap -i4 -bs -cdw -ce -npcs -hnl -cli4 -nut -ci8 < oss.c
-# astyle --indent=spaces=4 --brackets=attach --indent-switches --max-instatement-indent=40 --pad=oper --unpad=paren --convert-tabs --mode=c < oss.c
-
-clean:
- rm -f *.o meta-name-table.h test-bufferq test-llist test-sine core test-pull speex/*.o
-
-common.o: meta-name-table.h
-
-meta-name-table.h: meta-name-table.gperf Makefile
- gperf -t -N sa_lookup_meta_name -H sa_hash_meta_name -p -C < $< | sed -e 's/{""}/{"", 0}/g' > $@
-
-fixme:
- find -name '*.c' -exec fgrep -H -A 3 -B 3 -i FIXME \{\} \;
-
-update-speex:
- wget -O speex/speex_resampler.h http://svn.xiph.org/trunk/speex/include/speex/speex_resampler.h
- wget -O speex/resample.c http://svn.xiph.org/trunk/speex/libspeex/resample.c
- wget -O speex/arch.h http://svn.xiph.org/trunk/speex/libspeex/arch.h
-
-warn-export: all
- nm test-bufferq test-llist test-sine test-pull | grep " T " | awk '{print $$3}' | sort | uniq