1993-11-04 01:09:18 +00:00
|
|
|
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
|
1993-11-18 00:08:03 +00:00
|
|
|
# $Id: Makefile,v 1.6 1993/11/16 02:22:16 paul Exp $
|
1993-06-12 14:58:17 +00:00
|
|
|
|
1993-11-09 04:26:11 +00:00
|
|
|
CFLAGS+= -DLIBC_SCCS -DDYNAMIC
|
1993-11-04 01:09:18 +00:00
|
|
|
OBJS= crt0.o gcrt0.o
|
1993-06-12 14:58:17 +00:00
|
|
|
CLEANFILES+= gmon.o moncrt0.o core a.out
|
|
|
|
|
|
|
|
all: ${OBJS}
|
|
|
|
|
|
|
|
crt0.o: crt0.c
|
|
|
|
${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC}
|
1993-11-16 02:22:16 +00:00
|
|
|
# ${LD} -x -r ${.TARGET}
|
|
|
|
# mv a.out ${.TARGET}
|
1993-06-12 14:58:17 +00:00
|
|
|
|
|
|
|
moncrt0.o: crt0.c
|
|
|
|
${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
1993-11-16 02:22:16 +00:00
|
|
|
# ${LD} -x -r ${.TARGET}
|
|
|
|
# mv a.out ${.TARGET}
|
1993-06-12 14:58:17 +00:00
|
|
|
|
|
|
|
gcrt0.o: moncrt0.o gmon.o
|
1993-11-16 02:22:16 +00:00
|
|
|
# ${LD} -x -r -o ${.TARGET} moncrt0.o gmon.o
|
1993-11-18 00:08:03 +00:00
|
|
|
${LD} -r -o ${.TARGET} moncrt0.o gmon.o
|
1993-06-12 14:58:17 +00:00
|
|
|
|
|
|
|
gmon.o: gmon.c gmon.h
|
1993-11-04 01:09:18 +00:00
|
|
|
${CC} ${CFLAGS} -c ${.IMPSRC}
|
1993-11-16 02:22:16 +00:00
|
|
|
# ${LD} -x -r ${.TARGET}
|
|
|
|
# mv a.out ${.TARGET}
|
1993-06-12 14:58:17 +00:00
|
|
|
|
|
|
|
install:
|
1993-07-03 00:21:21 +00:00
|
|
|
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
|
1993-06-12 14:58:17 +00:00
|
|
|
${DESTDIR}/usr/lib
|
|
|
|
|
|
|
|
depend lint tags:
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|