scsh-0.5/scsh/aix/Makefile.inc

12 lines
231 B
Makefile

AIX_P = exportlist.aix
exportlist.aix: $(OBJS)
$(RM) exportlist.aix
for f in $(OBJS); do \
/usr/ccs/bin/nm -e $$f | grep '^\..*|extern|' | \
sed -e 's/^\.//;s/|//\'| awk '{print $$1}' >> exportlist.aix; \
done;