1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 08:31:09 -08:00

New cflags organization

Copied from Perforce
 Change: 19180
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Pekka Pirinen 1998-01-08 20:13:58 +00:00
parent ae0f198a19
commit 1a387ca3d4
2 changed files with 11 additions and 18 deletions

View file

@ -1,7 +1,7 @@
# impl.gmk.dc: GNUMAKEFILE FRAGMENT FOR DIGITAL C COMPILER (DEC UNIX/OSF)
#
# $HopeName: MMsrc!dc.gmk(trunk.1) $
# Copyright(C) 1997 Harlequin Group, all rights reserved
# $HopeName: MMsrc!dc.gmk(trunk.2) $
# Copyright(C) 1997, 1998 Harlequin Group, all rights reserved
#
# See design.buildsys.unix
#
@ -16,17 +16,11 @@
# as the last statement. We would need to cleam our code in order to use
# the option.
# We need a symbol for a non-empty defintion with empty value
ifdef MPS_EMPTY
error "dc.gmk: MPS_EMPTY defined"
endif
CC = cc
CFLAGSCOMPILER = -std1 -w2 -warnprotos -portable -readonly_strings
CFLAGSHOT = -O2
CFLAGSCOOL = $(MPS_EMPTY)
CFLAGSEXTERNAL = $(MPS_EMPTY)
CFLAGSINTERNAL = -g2
CFLAGSDEBUG = -g2
CFLAGSOPT = -O2 -g3
CFLAGSOPTNODEBUG = -O2
# -M for a dependency file

View file

@ -1,7 +1,7 @@
# impl.gmk.lc: GNUMAKEFILE FRAGMENT FOR LCC
#
# $HopeName: MMsrc!lc.gmk(trunk.1) $
# Copyright (C) 1996,1997 Harlequin Group, all rights reserved
# $HopeName: MMsrc!lc.gmk(trunk.2) $
# Copyright (C) 1996,1997, 1998 Harlequin Group, all rights reserved
#
# This file is included by platform makefiles that use the LCC
# compiler. It defines the compiler specific variables that the
@ -11,16 +11,15 @@
# the time and ignores the -O flag. Hence the empty CFLAGSOPTIMIZE
# macro.
# We need a symbol for a non-empty defintion with empty value
# We need a symbol for a non-empty definition with empty value
ifdef MPS_EMPTY
error "lc.gmk: MPS_EMPTY defined"
endif
CC = lcc
CFLAGSCOMPILER = -I/usr/include
CFLAGSHOT = $(MPS_EMPTY)
CFLAGSCOOL = $(MPS_EMPTY)
CFLAGSINTERNAL = -g
CFLAGSEXTERNAL = $(MPS_EMPTY)
CFLAGSDEBUG = -g
CFLAGSOPT = $(MPS_EMPTY)
CFLAGSOPTNODEBUG = $(MPS_EMPTY)
include comm.gmk