mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-20 02:01:19 +01:00
54335ac349
to check (via getenv) environment variable "ENABLE_STARTUP_LOCALE" at runtime. Submitted by: me per Bruce suggestion
32 lines
662 B
Makefile
32 lines
662 B
Makefile
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
|
|
# $Id: Makefile,v 1.10 1994/08/22 15:13:41 bde Exp $
|
|
|
|
CFLAGS+= -DLIBC_SCCS -DDYNAMIC
|
|
OBJS= crt0.o gcrt0.o c++rt0.o
|
|
CLEANFILES+= a.out
|
|
|
|
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}
|
|
|
|
gcrt0.o: crt0.c
|
|
${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
|
${LD} -x -r ${.TARGET}
|
|
mv a.out ${.TARGET}
|
|
|
|
install:
|
|
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
|
|
${DESTDIR}/usr/lib
|
|
|
|
depend lint tags:
|
|
|
|
.include <bsd.prog.mk>
|