1996-11-03 21:12:00 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 1996/11/03 18:12:00 ws Exp $
|
1994-01-07 22:15:31 +03:00
|
|
|
|
1996-11-03 21:12:00 +03:00
|
|
|
CFLAGS+= -DLIBC_SCCS
|
|
|
|
.if (${MACHINE_ARCH} != "powerpc")
|
|
|
|
CFLAGS+= -fpic
|
|
|
|
.endif
|
1994-01-07 22:15:31 +03:00
|
|
|
OBJS= c++rt0.o
|
|
|
|
|
|
|
|
all: ${OBJS}
|
|
|
|
|
|
|
|
c++rt0.o: c++rt0.c
|
1995-01-08 02:07:03 +03:00
|
|
|
${COMPILE.c} ${.ALLSRC}
|
1994-01-07 22:15:31 +03:00
|
|
|
@${LD} -x -r ${.TARGET}
|
|
|
|
@mv a.out ${.TARGET}
|
|
|
|
|
|
|
|
install:
|
1996-10-18 09:27:38 +04:00
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
|
1994-01-07 22:15:31 +03:00
|
|
|
${DESTDIR}/usr/lib
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|