Patch from Giles Lean to make compilation flags more consistent.
This commit is contained in:
parent
770773f4ad
commit
3dbc1e9443
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.9 1994/09/19 06:47:16 mycroft Exp $
|
||||
# $Id: Makefile,v 1.10 1995/01/07 23:07:03 mycroft Exp $
|
||||
|
||||
LIB= gcc
|
||||
NOPROFILE=
|
||||
@ -30,19 +30,19 @@ OBJS= ${LIB1OBJS} ${LIB2OBJS}
|
||||
LIB2SOBJS=${LIB2OBJS:.o=.so}
|
||||
|
||||
#${LIB1OBJS}: libgcc1.c
|
||||
# ${CC} -c ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c
|
||||
# ${COMPILE.c} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c
|
||||
# @${LD} -x -r ${.TARGET}
|
||||
# @mv a.out ${.TARGET}
|
||||
|
||||
${LIB2OBJS}: libgcc2.c
|
||||
${CC} -c ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c
|
||||
${COMPILE.c} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c
|
||||
@${LD} -x -r ${.TARGET}
|
||||
@mv a.out ${.TARGET}
|
||||
|
||||
#${LIB1SOBJS}: libgcc1.c
|
||||
# ${CC} -c -fpic ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c
|
||||
# ${COMPILE.c} -fpic -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c
|
||||
|
||||
${LIB2SOBJS}: libgcc2.c
|
||||
${CC} -c -fpic ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c
|
||||
${COMPILE.c} -fpic -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.3 1994/09/19 23:51:14 deraadt Exp $
|
||||
# $Id: Makefile,v 1.4 1995/01/07 23:08:36 mycroft Exp $
|
||||
|
||||
LIB= bfd
|
||||
NOPROFILE=
|
||||
@ -16,7 +16,7 @@ SRCS= archive.c archures.c bfd.c cache.c coffgen.c core.c ctor.c \
|
||||
.include "arch/$(MACHINE_ARCH)/Makefile.inc"
|
||||
|
||||
targets.o archures.o: $(.CURDIR)/$(.TARGET:S/.o$/.c/)
|
||||
$(CC) $(CFLAGS) $(VECTORS) -c -o $(.TARGET) $(.IMPSRC)
|
||||
${COMPILE.c} $(VECTORS) -o $(.TARGET) $(.IMPSRC)
|
||||
|
||||
|
||||
install:
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.2 1994/02/10 01:10:01 cgd Exp $
|
||||
# $Id: Makefile,v 1.3 1995/01/07 23:09:08 mycroft Exp $
|
||||
|
||||
CFLAGS+= -DLIBC_SCCS -fpic
|
||||
OBJS= c++rt0.o
|
||||
@ -6,7 +6,7 @@ OBJS= c++rt0.o
|
||||
all: ${OBJS}
|
||||
|
||||
c++rt0.o: c++rt0.c
|
||||
${CC} ${CFLAGS} -c ${.ALLSRC}
|
||||
${COMPILE.c} ${.ALLSRC}
|
||||
@${LD} -x -r ${.TARGET}
|
||||
@mv a.out ${.TARGET}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
|
||||
# $Id: Makefile,v 1.12 1994/05/14 06:33:05 cgd Exp $
|
||||
# $Id: Makefile,v 1.13 1995/01/07 23:10:42 mycroft Exp $
|
||||
|
||||
CFLAGS+= -DLIBC_SCCS -DDYNAMIC
|
||||
OBJS= crt0.o gcrt0.o
|
||||
@ -8,12 +8,12 @@ CLEANFILES+= core a.out
|
||||
all: ${OBJS}
|
||||
|
||||
crt0.o: crt0.c
|
||||
${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC}
|
||||
${COMPILE.c} -DCRT0 ${.ALLSRC}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
|
||||
gcrt0.o: crt0.c
|
||||
${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
||||
${COMPILE.c} -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
|
||||
# $Id: Makefile,v 1.3 1994/05/14 06:33:14 cgd Exp $
|
||||
# $Id: Makefile,v 1.4 1995/01/07 23:10:44 mycroft Exp $
|
||||
|
||||
CFLAGS+= -DLIBC_SCCS -DDYNAMIC
|
||||
OBJS= crt0.o gcrt0.o
|
||||
@ -8,12 +8,12 @@ CLEANFILES+= core a.out
|
||||
all: ${OBJS}
|
||||
|
||||
crt0.o: crt0.c
|
||||
${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC}
|
||||
${COMPILE.c} -DCRT0 ${.ALLSRC}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
|
||||
gcrt0.o: crt0.c
|
||||
${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
||||
${COMPILE.c} -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
|
||||
# $Id: Makefile,v 1.3 1994/05/14 06:33:17 cgd Exp $
|
||||
# $Id: Makefile,v 1.4 1995/01/07 23:10:45 mycroft Exp $
|
||||
|
||||
CFLAGS+= -DLIBC_SCCS # -DDYNAMIC
|
||||
OBJS= crt0.o gcrt0.o
|
||||
@ -8,12 +8,12 @@ CLEANFILES+= gmon.o moncrt0.o core a.out
|
||||
all: ${OBJS}
|
||||
|
||||
crt0.o: crt0.c
|
||||
${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC}
|
||||
${COMPILE.c} -DCRT0 ${.ALLSRC}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
|
||||
gcrt0.o: crt0.c
|
||||
${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
||||
${COMPILE.c} -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 5.5 (Berkeley) 5/21/91
|
||||
# $Id: Makefile,v 1.4 1994/05/14 06:33:22 cgd Exp $
|
||||
# $Id: Makefile,v 1.5 1995/01/07 23:10:47 mycroft Exp $
|
||||
|
||||
CFLAGS+= -DLIBC_SCCS -DDYNAMIC
|
||||
OBJS= crt0.o gcrt0.o
|
||||
@ -8,12 +8,12 @@ CLEANFILES+= gmon.o moncrt0.o core a.out
|
||||
all: ${OBJS}
|
||||
|
||||
crt0.o: crt0.c
|
||||
${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC}
|
||||
${COMPILE.c} -DCRT0 ${.ALLSRC}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
|
||||
gcrt0.o: crt0.c
|
||||
${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
||||
${COMPILE.c} -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.1 1994/01/14 05:24:33 cgd Exp $
|
||||
# $Id: Makefile,v 1.2 1995/01/07 23:14:00 mycroft Exp $
|
||||
|
||||
PROG= doexec
|
||||
NOMAN= noman, no way, man
|
||||
@ -44,7 +44,7 @@ test-scriptarg-nospace: ${PROG} ${TD}/scriptarg-nospace
|
||||
${RP} ${TD}/scriptarg-nospace 2>&1 | diff - ${OD}/scriptarg-nospace
|
||||
|
||||
goodaout: ${TD}/goodaout.c
|
||||
${CC} ${LDFLAGS} ${LDSTATIC} ${CFLAGS} -o ${.TARGET} ${TD}/goodaout.c
|
||||
${LINK.c} ${LDSTATIC} -o ${.TARGET} ${TD}/goodaout.c ${LDLIBS}
|
||||
|
||||
test-goodaout: ${PROG} goodaout
|
||||
${RP} ${.OBJDIR}/goodaout | diff - ${OD}/goodaout
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 5.5 (Berkeley) 2/19/91
|
||||
# $Id: Makefile,v 1.3 1993/07/31 15:25:07 mycroft Exp $
|
||||
# $Id: Makefile,v 1.4 1995/01/07 23:14:32 mycroft Exp $
|
||||
|
||||
PROG= chpass
|
||||
SRCS= chpass.c edit.c field.c pw_copy.c pw_scan.c pw_util.c pw_yp.c table.c util.c getpwent.c
|
||||
@ -16,4 +16,4 @@ LDADD+= -lrpcsvc
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
getpwent.o: getpwent.c
|
||||
${CC} ${CFLAGS} -UYP -c ${.IMPSRC}
|
||||
${COMPILE.c} -UYP ${.IMPSRC}
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 5.11 (Berkeley) 2/19/91
|
||||
# $Id: Makefile,v 1.8 1994/10/17 18:36:57 brezak Exp $
|
||||
# $Id: Makefile,v 1.9 1995/01/07 23:14:51 mycroft Exp $
|
||||
|
||||
PROG= passwd
|
||||
SRCS= local_passwd.c yp_passwd.c passwd.c pw_copy.c pw_util.c getpwent.c
|
||||
@ -27,4 +27,4 @@ BINMODE=4555
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
getpwent.o: getpwent.c
|
||||
${CC} ${CFLAGS} -UYP -c ${.IMPSRC}
|
||||
${COMPILE.c} -UYP ${.IMPSRC}
|
||||
|
Loading…
Reference in New Issue
Block a user