|
|
1.1 ! root 1: PROG_NAME = c++filt ! 2: ! 3: CC = cc ! 4: NM = nm ! 5: ! 6: HFILES = ansidecl.h demangle.h getopt.h ! 7: ! 8: CFILES = cplus-dem.c getopt.c getopt1.c version.c underscore.c ! 9: ! 10: ! 11: install: build ! 12: for h in $(RC_ARCHS); do \ ! 13: syms="$$syms $(SYMROOT)/$$h/bin/c++filt"; \ ! 14: done; \ ! 15: mkdirs $(DSTROOT)/bin; \ ! 16: lipo -create -output $(DSTROOT)/bin/c++filt $$syms ! 17: strip $(DSTROOT)/bin/c++filt ! 18: chmod 755 $(DSTROOT)/bin/c++filt ! 19: ! 20: build: $(HFILES) ! 21: for h in $(RC_ARCHS); do \ ! 22: echo "== building c++filt for $$h"; \ ! 23: mkdirs $(SYMROOT)/$$h/bin; \ ! 24: $(CC) -arch $$h -DMAIN -I$(SRCROOT)/c++filt \ ! 25: $(CFILES) -o $(SYMROOT)/$$h/bin/$(PROG_NAME); \ ! 26: done ! 27: ! 28: clean: ! 29: rm -f *.o c++filt
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.