File:  [Research Unix] / researchv9 / jerq / sgs / strip / makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:22:00 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

CFLAGS	=-D$(ARCH) -D$(ARFORMAT) -DUNIX $(FLEX) -I$(INC) -I.
ARCH	=AR32W
#	Set ARFORMAT to "PORTAR" for portable archive format (post 5.0)
#	Set ARFORMAT to OLDAR for pre-5.0 archive format
ARFORMAT=PORTAR
FLEX	= -DFLEXNAMES
INC	= ../inc
LIBLD	= ../libld/libld.a
OBJECTS= main.o setflags.o process.o checkflags.o buildtmp.o buildfcns.o \
	copytmp.o fcns.o

strip:	$(OBJECTS) $(LIBLD)
	$(CC) -o strip $(OBJECTS) $(LIBLD)

$(OBJECTS):	$(INC)/filehdr.h $(INC)/ldfcn.h $(INC)/sgs.h defs.h
main.o process.o:  $(INC)/paths.h
buildfcns.o:  $(INC)/scnhdr.h \
	      $(INC)/reloc.h $(INC)/syms.h \
	      $(INC)/storclass.h $(INC)/linenum.h

install:	strip
	cp strip /usr/jerq/bin/3strip
	mv strip xxx
	strip /usr/jerq/bin/3strip
	mv xxx strip

clean:
	rm -f *.o core strip xxx

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.