Decouple genassym flags from CFLAGS.
Submitted by: jhay
This commit is contained in:
parent
f756791659
commit
f508bc8ed4
@ -1,7 +1,7 @@
|
||||
# Makefile.i386 -- with config changes.
|
||||
# Copyright 1990 W. Jolitz
|
||||
# from: @(#)Makefile.i386 7.1 5/10/91
|
||||
# $Id: Makefile.i386,v 1.120 1998/09/01 00:11:02 jb Exp $
|
||||
# $Id: Makefile.i386,v 1.121 1998/09/03 20:58:34 nsouch Exp $
|
||||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
@ -41,6 +41,9 @@ INCLUDES+= -I/usr/include
|
||||
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -include opt_global.h
|
||||
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
|
||||
|
||||
# Use the system default for genassym
|
||||
GEN_CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
|
||||
|
||||
# Select the correct set of tools. Can't set OBJFORMAT here because it
|
||||
# doesn't get exported into the environment.
|
||||
.if ${KERNFORMAT} == "elf"
|
||||
@ -161,10 +164,10 @@ assym.s: genassym
|
||||
./genassym >assym.s
|
||||
|
||||
genassym.o: ${I386}/i386/genassym.c
|
||||
${CC} -c ${CFLAGS} -UKERNEL ${I386}/i386/genassym.c
|
||||
${CC} -c ${GEN_CFLAGS} -UKERNEL ${I386}/i386/genassym.c
|
||||
|
||||
genassym: genassym.o
|
||||
${CC} ${CFLAGS} genassym.o -o ${.TARGET}
|
||||
${CC} ${GEN_CFLAGS} genassym.o -o ${.TARGET}
|
||||
|
||||
${SYSTEM_OBJS}: opt_global.h
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Makefile.i386 -- with config changes.
|
||||
# Copyright 1990 W. Jolitz
|
||||
# from: @(#)Makefile.i386 7.1 5/10/91
|
||||
# $Id: Makefile.i386,v 1.120 1998/09/01 00:11:02 jb Exp $
|
||||
# $Id: Makefile.i386,v 1.121 1998/09/03 20:58:34 nsouch Exp $
|
||||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
@ -41,6 +41,9 @@ INCLUDES+= -I/usr/include
|
||||
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -include opt_global.h
|
||||
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
|
||||
|
||||
# Use the system default for genassym
|
||||
GEN_CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
|
||||
|
||||
# Select the correct set of tools. Can't set OBJFORMAT here because it
|
||||
# doesn't get exported into the environment.
|
||||
.if ${KERNFORMAT} == "elf"
|
||||
@ -161,10 +164,10 @@ assym.s: genassym
|
||||
./genassym >assym.s
|
||||
|
||||
genassym.o: ${I386}/i386/genassym.c
|
||||
${CC} -c ${CFLAGS} -UKERNEL ${I386}/i386/genassym.c
|
||||
${CC} -c ${GEN_CFLAGS} -UKERNEL ${I386}/i386/genassym.c
|
||||
|
||||
genassym: genassym.o
|
||||
${CC} ${CFLAGS} genassym.o -o ${.TARGET}
|
||||
${CC} ${GEN_CFLAGS} genassym.o -o ${.TARGET}
|
||||
|
||||
${SYSTEM_OBJS}: opt_global.h
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Makefile.i386 -- with config changes.
|
||||
# Copyright 1990 W. Jolitz
|
||||
# from: @(#)Makefile.i386 7.1 5/10/91
|
||||
# $Id: Makefile.i386,v 1.120 1998/09/01 00:11:02 jb Exp $
|
||||
# $Id: Makefile.i386,v 1.121 1998/09/03 20:58:34 nsouch Exp $
|
||||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
@ -41,6 +41,9 @@ INCLUDES+= -I/usr/include
|
||||
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -include opt_global.h
|
||||
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
|
||||
|
||||
# Use the system default for genassym
|
||||
GEN_CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
|
||||
|
||||
# Select the correct set of tools. Can't set OBJFORMAT here because it
|
||||
# doesn't get exported into the environment.
|
||||
.if ${KERNFORMAT} == "elf"
|
||||
@ -161,10 +164,10 @@ assym.s: genassym
|
||||
./genassym >assym.s
|
||||
|
||||
genassym.o: ${I386}/i386/genassym.c
|
||||
${CC} -c ${CFLAGS} -UKERNEL ${I386}/i386/genassym.c
|
||||
${CC} -c ${GEN_CFLAGS} -UKERNEL ${I386}/i386/genassym.c
|
||||
|
||||
genassym: genassym.o
|
||||
${CC} ${CFLAGS} genassym.o -o ${.TARGET}
|
||||
${CC} ${GEN_CFLAGS} genassym.o -o ${.TARGET}
|
||||
|
||||
${SYSTEM_OBJS}: opt_global.h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user