Commit 5e5da7b2 authored by Timothy Redaelli's avatar Timothy Redaelli Committed by Youness Alaoui

Use only POSIX statements in nice/Makefile.am

parent 3b5a62ac
......@@ -37,16 +37,16 @@ AM_CFLAGS = \
test-symbols.sh::
chmod +x $(srcdir)/$@
libnice-symbols-test.c: libnice.sym Makefile
libnice-symbols-test.c: libnice.sym
rm -f $@
while read s; do echo "void $$s(void) { }" ; done < $< > $@
while read s; do echo "void $$s(void) { }" ; done < $? > $@
libnice-symbols-test.o: libnice-symbols-test.c
$(CC) $(CFLAGS) -c -o $@ $<
$(CC) $(CFLAGS) -c -o $@ $?
libnice.symbols: libnice-symbols-test.o Makefile
libnice.symbols: libnice-symbols-test.o
rm -f $@
$(top_srcdir)/scripts/make-symbol-list.sh $< >$@
$(top_srcdir)/scripts/make-symbol-list.sh $? > $@
CLEANFILES += libnice.symbols libnice-symbols-test.c libnice-symbols-test.o
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment