use CPPFLAGS instead of CFLAGS

This commit is contained in:
lukem 1997-10-25 09:27:04 +00:00
parent 0a94f4f077
commit 0c77c25043
22 changed files with 59 additions and 59 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 1997/10/25 01:50:36 thorpej Exp $
# $NetBSD: Makefile,v 1.6 1997/10/25 09:27:04 lukem Exp $
LIB= bfd
@ -13,13 +13,13 @@ srcdir= $(dist)/bfd
INCSDIR=/usr/include/bfd
INCS= ansidecl.h bfd.h libiberty.h
# CFLAGS=-g #XXX
CFLAGS+= -I.
CFLAGS+= -I$(.CURDIR)
CFLAGS+= -I$(dist)/bfd
CFLAGS+= -I$(dist)/opcodes
# COPTS+=-g #XXX
CPPFLAGS+= -I.
CPPFLAGS+= -I$(.CURDIR)
CPPFLAGS+= -I$(dist)/bfd
CPPFLAGS+= -I$(dist)/opcodes
# ommitted -I$(dist)/libiberty on purpose
CFLAGS+= -I$(dist)/include
CPPFLAGS+= -I$(dist)/include
.PATH: $(dist)/bfd
.PATH: $(dist)/opcodes

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 1997/05/31 21:21:23 cjs Exp $
# $NetBSD: Makefile,v 1.8 1997/10/25 09:27:18 lukem Exp $
LIB= g++
@ -15,7 +15,7 @@ timer.c
CXXFLAGS+= -nostdinc++ -I$(.CURDIR)/../../include \
-I$(.CURDIR)/../../libio -I$(.CURDIR)/../../libstdc++
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../../libio
CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../../libio
.if (${MACHINE} == "alpha")
LDADD= -lcurses
DPADD= ${LIBCURSES}

View File

@ -1,6 +1,6 @@
#!/usr/local/bin/perl
#
# $NetBSD: libg++2netbsd,v 1.22 1997/05/31 21:21:20 cjs Exp $
# $NetBSD: libg++2netbsd,v 1.23 1997/10/25 09:27:11 lukem Exp $
#
# Perl script to convert a standard distribution directory for libg++ into
# a NetBSD source tree.
@ -498,7 +498,7 @@ LIB= g++
CXXFLAGS+= -nostdinc++ -I$(.CURDIR)/../../include \
-I$(.CURDIR)/../../libio -I$(.CURDIR)/../../libstdc++
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../../libio
CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../../libio
.if (${MACHINE} == "alpha")
LDADD= -lcurses
DPADD= ${LIBCURSES}
@ -520,7 +520,7 @@ LIB= io
%% srcs io
CXXFLAGS+= -nostdinc++ -I$(.CURDIR)/../include
CFLAGS+= -I$(.CURDIR)
CPPFLAGS+= -I$(.CURDIR)
NOMAN= noman
NOLINT= nolint
@ -534,7 +534,7 @@ LIB= iostream
CXXFLAGS+= -nostdinc++ -I$(.CURDIR)/../include \
-I$(.CURDIR)/../libio
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../libio
CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../libio
NOMAN= noman
NOLINT= nolint
@ -548,10 +548,10 @@ LIB= stdc++
%% srcs stdc++
CXXFLAGS+= -nostdinc++
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../libio -I$(.CURDIR)/stl
NOMAN= noman
NOLINT= nolint
CXXFLAGS+= -nostdinc++
CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../libio -I$(.CURDIR)/stl
NOMAN= noman
NOLINT= nolint
.PATH: $(.CURDIR)/../libio $(.CURDIR)/stl $(.CURDIR)/../librx

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 1996/12/20 01:04:23 cgd Exp $
# $NetBSD: Makefile,v 1.3 1997/10/25 09:27:22 lukem Exp $
LIB= io
@ -12,7 +12,7 @@ iostrerror.c ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c \
outfloat.c str.cc stdfiles.c strops.c
CXXFLAGS+= -nostdinc++ -I$(.CURDIR)/../include
CFLAGS+= -I$(.CURDIR)
CPPFLAGS+= -I$(.CURDIR)
NOMAN= noman
NOLINT= nolint

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 1996/12/20 01:04:25 cgd Exp $
# $NetBSD: Makefile,v 1.3 1997/10/25 09:27:26 lukem Exp $
LIB= iostream
@ -14,7 +14,7 @@ iovfprintf.c iovfscanf.c outfloat.c strops.c
CXXFLAGS+= -nostdinc++ -I$(.CURDIR)/../include \
-I$(.CURDIR)/../libio
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../libio
CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../libio
NOMAN= noman
NOLINT= nolint

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 1997/05/31 21:21:24 cjs Exp $
# $NetBSD: Makefile,v 1.9 1997/10/25 09:27:30 lukem Exp $
LIB= stdc++
@ -15,10 +15,10 @@ cstringi.cc exceptioni.cc newi.cc stddefi.cc stdexcepti.cc typeinfoi.cc \
cstrmain.cc cstrio.cc fcomplex.cc fcomio.cc dcomplex.cc dcomio.cc \
ldcomplex.cc ldcomio.cc random.cc tempbuf.cc tree.cc rx.c \
CXXFLAGS+= -nostdinc++
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../libio -I$(.CURDIR)/stl
NOMAN= noman
NOLINT= nolint
CXXFLAGS+= -nostdinc++
CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../libio -I$(.CURDIR)/stl
NOMAN= noman
NOLINT= nolint
.PATH: $(.CURDIR)/../libio $(.CURDIR)/stl $(.CURDIR)/../librx

View File

@ -1,6 +1,6 @@
# $Id: Makefile,v 1.2 1993/10/26 06:52:16 cgd Exp $
# $Id: Makefile,v 1.3 1997/10/25 09:27:35 lukem Exp $
CFLAGS+= -I${.CURDIR}
CPPFLAGS+= -I${.CURDIR}
LIB= gnumalloc
SRCS+= combined.c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1997/09/26 15:59:40 gwr Exp $
# $NetBSD: Makefile,v 1.4 1997/10/25 09:27:39 lukem Exp $
LIB= readline
@ -12,8 +12,8 @@ dist= $(TOP)/dist
srcdir= $(dist)/readline
# Note: sysdep.h is found here.
CFLAGS+= -I$(.CURDIR) -I$(srcdir) -I$(dist)/include
CFLAGS+= -DHAVE_CONFIG_H
CPPFLAGS+= -I$(.CURDIR) -I$(srcdir) -I$(dist)/include
CPPFLAGS+= -DHAVE_CONFIG_H
.PATH: $(srcdir)

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 1997/10/18 05:47:50 lukem Exp $
# $NetBSD: Makefile,v 1.5 1997/10/25 09:31:30 lukem Exp $
#
# Makefile for cu
@ -10,7 +10,7 @@ PROG= cu
SRCS= cu.c prot.c log.c chat.c conn.c copy.c
LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
CPPFLAGS+= -I$(.CURDIR)/../common_sources\
-DVERSION=\"$(VERSION)\"
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 1997/10/18 05:47:52 lukem Exp $
# $NetBSD: Makefile,v 1.10 1997/10/25 09:31:34 lukem Exp $
#
# This subdirectory contains Unix specific support functions.
@ -13,7 +13,7 @@ SRCS= access.c addbas.c app3.c app4.c basnam.c bytfre.c cwd.c \
status.c time.c tmpfil.c trunc.c uacces.c ufopen.c ultspl.c \
unknwn.c uuto.c walk.c wldcrd.c work.c xqtfil.c xqtsub.c \
ftw.c corrup.c pipe.c priv.c uid.c tli.c tcp.c sync.c failed.c
CFLAGS+= -I$(.CURDIR)/../common_sources \
CPPFLAGS+= -I$(.CURDIR)/../common_sources \
-DOWNER=\"$(owner)\" -DSBINDIR=\"$(sbindir)\"
NOMAN= noman

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 1997/10/18 05:47:54 lukem Exp $
# $NetBSD: Makefile,v 1.10 1997/10/25 09:31:37 lukem Exp $
#
# This is the Makefile for the Taylor UUCP uuconf library
@ -16,7 +16,7 @@ SRCS= addblk.c addstr.c allblk.c alloc.c base.c bool.c callin.c \
tport.c tportc.c tsinfo.c tsnams.c tsys.c tval.c ugtlin.c \
unk.c val.c vinit.c vport.c vsinfo.c vsnams.c vsys.c runuxq.c \
strip.c
CFLAGS+= -I$(.CURDIR)/../common_sources \
CPPFLAGS+= -I$(.CURDIR)/../common_sources \
-DNEWCONFIGLIB=\"$(newconfigdir)\"\
-DOLDCONFIGLIB=\"$(oldconfigdir)\"

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.8 1997/10/18 05:47:55 lukem Exp $
# $NetBSD: Makefile,v 1.9 1997/10/25 09:31:39 lukem Exp $
#
# This is the Makefile for the libuucp subdirectory of Taylor UUCP
LIB= uucp
SRCS= buffer.c crc.c debug.c escape.c getopt.c getop1.c parse.c \
spool.c status.c xfree.c xmall.c xreall.c getlin.c
CFLAGS+= -I$(.CURDIR)/../common_sources
CPPFLAGS+= -I$(.CURDIR)/../common_sources
NOMAN= noman
NOPROFILE= noprofile

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1997/10/18 05:47:57 lukem Exp $
# $NetBSD: Makefile,v 1.4 1997/10/25 09:31:44 lukem Exp $
#
# Makefile for uuchk
@ -9,7 +9,7 @@ PROG= uuchk
SRCS= uuchk.c
LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
CPPFLAGS+= -I$(.CURDIR)/../common_sources\
-DVERSION=\"$(VERSION)\"
NOMAN= noman

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 1997/10/18 05:47:59 lukem Exp $
# $NetBSD: Makefile,v 1.7 1997/10/25 09:31:48 lukem Exp $
#
# Makefile for uucico
@ -12,7 +12,7 @@ SRCS= uucico.c trans.c send.c rec.c xcmd.c prot.c protg.c protf.c \
conn.c copy.c log.c util.c
LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
CPPFLAGS+= -I$(.CURDIR)/../common_sources\
-DVERSION=\"$(VERSION)\" -DOWNER=\"$(owner)\"
MAN= uucico.8

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1997/10/18 05:48:01 lukem Exp $
# $NetBSD: Makefile,v 1.4 1997/10/25 09:31:51 lukem Exp $
#
# Makefile for uuconv
@ -9,7 +9,7 @@ PROG= uuconv
SRCS= uuconv.c
LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
CPPFLAGS+= -I$(.CURDIR)/../common_sources\
-I$(.CURDIR)/../libuuconf\
-DVERSION=\"$(VERSION)\"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1997/10/18 05:48:03 lukem Exp $
# $NetBSD: Makefile,v 1.4 1997/10/25 09:31:54 lukem Exp $
#
# Makefile for uucp
@ -10,7 +10,7 @@ PROG= uucp
SRCS= uucp.c util.c log.c copy.c
LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
CPPFLAGS+= -I$(.CURDIR)/../common_sources\
-DVERSION=\"$(VERSION)\"
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1997/10/18 05:48:05 lukem Exp $
# $NetBSD: Makefile,v 1.4 1997/10/25 09:31:58 lukem Exp $
#
# Makefile for uulog
@ -8,7 +8,7 @@ PROG= uulog
SRCS= uulog.c log.c
LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
CPPFLAGS+= -I$(.CURDIR)/../common_sources\
-DVERSION=\"$(VERSION)\"
NOMAN= noman

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1997/10/18 05:48:07 lukem Exp $
# $NetBSD: Makefile,v 1.4 1997/10/25 09:32:00 lukem Exp $
#
# Makefile for uuname
@ -10,7 +10,7 @@ PROG= uuname
SRCS= uuname.c log.c
LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
CPPFLAGS+= -I$(.CURDIR)/../common_sources\
-DVERSION=\"$(VERSION)\"
NOMAN= noman

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1997/10/18 05:48:09 lukem Exp $
# $NetBSD: Makefile,v 1.4 1997/10/25 09:32:03 lukem Exp $
#
# Makefile for uupick
@ -8,7 +8,7 @@ PROG= uupick
SRCS= uupick.c log.c copy.c
LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
CPPFLAGS+= -I$(.CURDIR)/../common_sources\
-DVERSION=\"$(VERSION)\"
NOMAN= noman

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 1997/10/18 05:48:11 lukem Exp $
# $NetBSD: Makefile,v 1.6 1997/10/25 09:32:07 lukem Exp $
#
# Makefile for uustat
@ -10,7 +10,7 @@ PROG= uustat
SRCS= uustat.c util.c log.c copy.c
LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
CPPFLAGS+= -I$(.CURDIR)/../common_sources\
-DOWNER=\"$(owner)\"\
-DVERSION=\"$(VERSION)\"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1997/10/18 05:48:16 lukem Exp $
# $NetBSD: Makefile,v 1.4 1997/10/25 09:32:11 lukem Exp $
#
# Makefile for uux
@ -10,7 +10,7 @@ PROG= uux
SRCS= uux.c util.c log.c copy.c
LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
CPPFLAGS+= -I$(.CURDIR)/../common_sources\
-DVERSION=\"$(VERSION)\"
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 1997/10/18 05:48:18 lukem Exp $
# $NetBSD: Makefile,v 1.6 1997/10/25 09:32:15 lukem Exp $
#
# Makefile for uuxqt
@ -10,7 +10,7 @@ PROG= uuxqt
SRCS= uuxqt.c util.c log.c copy.c
LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources \
CPPFLAGS+= -I$(.CURDIR)/../common_sources \
-DOWNER=\"$(owner)\" \
-DVERSION=\"$(VERSION)\"