scsh-0.6/scsh/aix/Makefile.inc

9 lines
229 B
PHP
Raw Normal View History

2003-05-01 06:21:33 -04:00
AIX_P = exportlist.aix
exportlist.aix: $(OBJS)
$(RM) exportlist.aix
for f in $(OBJS); do \
/usr/ccs/bin/nm -B -e $$f | grep ' T [^ ][^ ]*$$' | \
sed -e 's/^.* T \.*\([^ ][^ ]*\)$$/\1/' >> exportlist.aix; \
done;