1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Added CWARNFLAGS and COPTFLAGS defines to Makefile so that we can easily

test various warning and optimization compiler flags without modifying the
Makefile. (From my patch set.)
This commit is contained in:
Garrett Wollman 1993-11-07 04:41:11 +00:00
parent 727c7fbdc9
commit 70176e63d6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=712
3 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.9 1993/10/23 06:46:24 nate Exp $
# $Id: Makefile.i386,v 1.10 1993/10/23 08:28:17 nate Exp $
#
# Makefile for FreeBSD
#
@ -30,10 +30,12 @@ DBSYM= /usr/sbin/dbsym
S= ../..
I386= ../../i386
CWARNFLAGS=
COPTFLAGS=-O
INCLUDES= -I. -I$S -I$S/sys
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -Di386 -DNPX
ASFLAGS=
CFLAGS= -O ${DEBUG} ${COPTS}
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
LOAD_ADDRESS?= FE000000
NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $<

View File

@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.9 1993/10/23 06:46:24 nate Exp $
# $Id: Makefile.i386,v 1.10 1993/10/23 08:28:17 nate Exp $
#
# Makefile for FreeBSD
#
@ -30,10 +30,12 @@ DBSYM= /usr/sbin/dbsym
S= ../..
I386= ../../i386
CWARNFLAGS=
COPTFLAGS=-O
INCLUDES= -I. -I$S -I$S/sys
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -Di386 -DNPX
ASFLAGS=
CFLAGS= -O ${DEBUG} ${COPTS}
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
LOAD_ADDRESS?= FE000000
NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $<

View File

@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.9 1993/10/23 06:46:24 nate Exp $
# $Id: Makefile.i386,v 1.10 1993/10/23 08:28:17 nate Exp $
#
# Makefile for FreeBSD
#
@ -30,10 +30,12 @@ DBSYM= /usr/sbin/dbsym
S= ../..
I386= ../../i386
CWARNFLAGS=
COPTFLAGS=-O
INCLUDES= -I. -I$S -I$S/sys
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -Di386 -DNPX
ASFLAGS=
CFLAGS= -O ${DEBUG} ${COPTS}
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
LOAD_ADDRESS?= FE000000
NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $<