1# @(#)Makefile 4.5 (Berkeley) 11/22/82 2# 3# crt0 Normal C run time startoff 4# mcrt0 C run time start off for profiling, ``prof'' conventions 5# gcrt0 C run time start off for profiling, ``gprof'' conventions 6# 7OBJS= crt0.o mcrt0.o gcrt0.o 8 9all: ${OBJS} 10 11install: ${OBJS} 12 mv crt0.o /lib/crt0.o 13 mv mcrt0.o /lib/mcrt0.o 14 mv gcrt0.o /usr/lib/gcrt0.o 15 16crt0.s: cmgt.crt0.c 17 cc -S ${DFLAGS} -DCRT0 cmgt.crt0.c 18 /lib/cpp cmgt.crt0.s > crt0.s 19 rm -f cmgt.crt0.s 20mcrt0.s: cmgt.crt0.c crt0.ex 21 cc -S ${DFLAGS} -DMCRT0 cmgt.crt0.c 22 ex - cmgt.crt0.s < crt0.ex 23 /lib/cpp cmgt.crt0.s > mcrt0.s 24 rm -f cmgt.crt0.s 25gcrt0.s: cmgt.crt0.c gcrt0.h crt0.ex 26 cc -S ${DFLAGS} -DGCRT0 cmgt.crt0.c 27 ex - cmgt.crt0.s < crt0.ex 28 /lib/cpp cmgt.crt0.s > gcrt0.s 29 rm -f cmgt.crt0.s 30 31.s.o: 32 as -o $*.o $*.s 33 ld -x -r $*.o 34 mv a.out $*.o 35 36clean: 37 rm -f ${OBJS} *.s 38 39lint: cmgt.crt0.c 40 lint cmgt.crt0.c -DMCRT0 41 lint cmgt.crt0.c -DGCRT0 42 lint cmgt.crt0.c -DCRT0 43