freebsd-skq/lib/csu/i386/Makefile

35 lines
778 B
Makefile
Raw Normal View History

1993-11-04 01:09:18 +00:00
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
1995-02-09 08:00:20 +00:00
# $Id: Makefile,v 1.13 1995/02/07 13:27:28 jkh Exp $
1993-06-12 14:58:17 +00:00
CFLAGS+= -DLIBC_SCCS -DDYNAMIC
OBJS= crt0.o gcrt0.o c++rt0.o
CLEANFILES+= a.out
MAN3+= dlopen.3
1993-06-12 14:58:17 +00:00
all: ${OBJS}
crt0.o: crt0.c
${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC} -o ${.TARGET}
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
c++rt0.o: c++rt0.c
${CC} ${CFLAGS} -fpic -c ${.ALLSRC}
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
1993-06-12 14:58:17 +00:00
gcrt0.o: crt0.c
1993-06-12 14:58:17 +00:00
${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET}
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
1993-06-12 14:58:17 +00:00
install:
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
1993-06-12 14:58:17 +00:00
${DESTDIR}/usr/lib
1995-02-09 08:00:20 +00:00
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/dlfcn.h \
${DESTDIR}/usr/include
1993-06-12 14:58:17 +00:00
depend lint tags:
.include <bsd.prog.mk>