Commit 921e29bb authored by Timothy Redaelli's avatar Timothy Redaelli Committed by Youness Alaoui

Use only POSIX statements in Makefile.am

parent d06e5fd1
......@@ -24,12 +24,12 @@ dist_noinst_DATA = agent-signals-marshal.list
noinst_LTLIBRARIES = libagent.la
agent-signals-marshal.h: agent-signals-marshal.list
glib-genmarshal --header --prefix=agent_marshal $< > $@
glib-genmarshal --header --prefix=agent_marshal $? > $@
agent-signals-marshal.c: agent-signals-marshal.list Makefile.am
glib-genmarshal --body --prefix=agent_marshal $< > $@
sed -i "1i#include \"agent-signals-marshal.h\"" $@
sed -i -e 's/^}$$/(void)return_value;(void)invocation_hint;}/' $@
agent-signals-marshal.c: agent-signals-marshal.list
echo '#include "agent-signals-marshal.h"' > $@
glib-genmarshal --body --prefix=agent_marshal $? | \
sed -e 's/^}$$/(void)return_value;(void)invocation_hint;}/' >> $@
BUILT_SOURCES = \
agent-signals-marshal.h \
......
......@@ -37,9 +37,9 @@ AM_CFLAGS = \
test-symbols.sh::
chmod +x $(srcdir)/$@
libnice.symbols: libnice.sym Makefile
libnice.symbols: libnice.sym
rm -f $@
while read s; do echo "T $$s"; done < $< > $@
while read s; do echo "T $$s"; done < $? > $@
CLEANFILES += libnice.symbols
......
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