Removed -I${.CURDIR}/.../sys from CFLAGS.

This commit is contained in:
Ruslan Ermilov 2001-05-18 13:41:42 +00:00
parent 6555ad204e
commit 3ab9a9d0e0
29 changed files with 13 additions and 35 deletions

View File

@ -1,8 +1,6 @@
# $FreeBSD$
# @(#)Makefile 8.1 (Berkeley) 6/6/93
CFLAGS+=-I${.CURDIR}/../../sys
PROG= chio
SRCS= chio.c

View File

@ -9,7 +9,7 @@ SRCS= fmt.c keyword.c nlist.c print.c ps.c
# keep ps from being an unnecessary load
# on large systems.
#
CFLAGS+=-I${.CURDIR}/../../sys -DLAZY_PS
CFLAGS+=-DLAZY_PS
DPADD= ${LIBM} ${LIBKVM}
LDADD= -lm -lkvm
#BINGRP= kmem

View File

@ -18,6 +18,6 @@ MLINKS+=devstat.3 buildmatch.3
MLINKS+=devstat.3 compute_stats.3
MLINKS+=devstat.3 compute_etime.3
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../sys
CFLAGS+=-I${.CURDIR}
.include <bsd.lib.mk>

View File

@ -1,11 +1,8 @@
# $FreeBSD$
LIB= ipx
#CFLAGS+=-DLIBC_SCCS -I${.CURDIR}/../../sys
SRCS= ipx_addr.c ipx_ntoa.c
MAN= ipx.3
MLINKS+=ipx.3 ipx_addr.3 ipx.3 ipx_ntoa.3
.include <bsd.lib.mk>

View File

@ -2,7 +2,7 @@
# $FreeBSD$
LIB= kvm
CFLAGS+=-DLIBC_SCCS -I${.CURDIR} -I${.CURDIR}/../../sys
CFLAGS+=-DLIBC_SCCS -I${.CURDIR}
SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_file.c kvm_getloadavg.c \
kvm_getswapinfo.c kvm_proc.c
INCS= kvm.h

View File

@ -4,7 +4,7 @@
LIB= util
SHLIB_MAJOR= 3
SHLIB_MINOR= 0
CFLAGS+=-Wall -DLIBC_SCCS -I${.CURDIR} -I${.CURDIR}/../../sys
CFLAGS+=-Wall -DLIBC_SCCS -I${.CURDIR}
CFLAGS+=-DINET6
SRCS= _secure_path.c auth.c extattr.c fparseln.c login.c login_auth.c \
login_cap.c login_class.c login_crypt.c login_ok.c login_times.c \

View File

@ -3,7 +3,6 @@
PROG= ccdconfig
MAN= ccdconfig.8
CFLAGS+= -I${.CURDIR}/../../sys
LDADD+= -lkvm
DPADD+= ${LIBKVM}
BINGRP= kmem

View File

@ -5,7 +5,7 @@
PROG= ipf
MAN= ipf.4 ipf.5 ipf.8
SRCS= ipf.c parse.c opt.c facpri.c common.c
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../contrib/ipfilter
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I${.CURDIR}/../../contrib/ipfilter
MAINTAINER= guido@freebsd.org

View File

@ -5,7 +5,7 @@
PROG= ipfstat
MAN= ipfstat.8
SRCS= fils.c parse.c opt.c kmem.c facpri.c common.c
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP -I${.CURDIR}/../../contrib/ipfilter
DPADD= ${NCURSES}
LDADD= -lncurses

View File

@ -6,7 +6,7 @@ PROG= ipmon
MAN= ipl.4 ipmon.8
SRCS= ipmon.c
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I${.CURDIR}/../../contrib/ipfilter
MAINTAINER= guido@freebsd.org

View File

@ -6,7 +6,7 @@ PROG= ipnat
MAN= ipnat.1 ipnat.4 ipnat.5
MLINKS= ipnat.5 ipnat.conf.5
SRCS= ipnat.c kmem.c natparse.c common.c
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I${.CURDIR}/../../contrib/ipfilter
MAINTAINER= guido@freebsd.org

View File

@ -29,6 +29,4 @@
PROG= kldload
MAN= kldload.8
CFLAGS+=-I${.CURDIR}/../../sys
.include <bsd.prog.mk>

View File

@ -29,6 +29,4 @@
PROG= kldstat
MAN= kldstat.8
CFLAGS+=-I${.CURDIR}/../../sys
.include <bsd.prog.mk>

View File

@ -29,6 +29,4 @@
PROG= kldunload
MAN= kldunload.8
CFLAGS+=-I${.CURDIR}/../../sys
.include <bsd.prog.mk>

View File

@ -7,7 +7,7 @@ SRCS= mount_hpfs.c getmntopts.c
MAN= mount_hpfs.8
MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${.CURDIR}/../../sys -I${MOUNT} -DHPFS
CFLAGS+=-I${MOUNT} -DHPFS
.PATH: ${MOUNT}
.include <bsd.prog.mk>

View File

@ -7,7 +7,7 @@ SRCS= mount_ntfs.c getmntopts.c
MAN= mount_ntfs.8
MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${.CURDIR}/../../sys -I${MOUNT}
CFLAGS+=-I${MOUNT}
.PATH: ${MOUNT}
.include <bsd.prog.mk>

View File

@ -4,7 +4,6 @@
PROG= fstat
SRCS= cd9660.c fstat.c msdosfs.c
CFLAGS+=-Wall
CFLAGS+=-I${.CURDIR}/../../sys
DPADD= ${LIBKVM}
LDADD= -lkvm
BINGRP= kmem

View File

@ -2,6 +2,5 @@
# $FreeBSD$
PROG= mt
CFLAGS+=-I${.CURDIR}/../../sys
.include <bsd.prog.mk>

View File

@ -2,7 +2,6 @@
# $FreeBSD$
PROG= systat
CFLAGS+=-I${.CURDIR}/../../sys
SRCS= cmds.c cmdtab.c devs.c fetch.c iostat.c keyboard.c main.c \
mbufs.c netcmds.c netstat.c pigs.c swap.c icmp.c mode.c ip.c tcp.c \
vmstat.c

View File

@ -3,7 +3,6 @@
PROG= vmstat
MAN= vmstat.8
CFLAGS+=-I${.CURDIR}/../../sys
BINGRP= kmem
BINMODE=2555
DPADD= ${LIBKVM} ${LIBDEVSTAT}

View File

@ -32,7 +32,6 @@ SRCS= atmarpd.c atmarp_config.c atmarp_log.c atmarp_scsp.c \
atmarp_subr.c atmarp_timer.c
MAN= atmarpd.8
CFLAGS+= -I${.CURDIR}/../../../sys
LDADD+= -latm -lmd
DPADD+= ${LIBATM} ${LIBMD}

View File

@ -35,7 +35,7 @@ SRCS= scspd.c scsp_cafsm.c scsp_config.c scsp_config_lex.c \
scsp_timer.c
MAN= scspd.8
CFLAGS+= -I. -I${.CURDIR}/../../../sys -I${.CURDIR}
CFLAGS+= -I. -I${.CURDIR}
LDADD+= -latm -lmd
DPADD+= ${LIBATM} ${LIBMD}

View File

@ -5,7 +5,6 @@ MAINTAINER=ken@FreeBSD.ORG
PROG= iostat
MAN= iostat.8
CFLAGS+=-I${.CURDIR}/../../sys
DPADD= ${LIBKVM} ${LIBDEVSTAT}
LDADD= -lkvm -ldevstat
BINGRP= kmem

View File

@ -9,7 +9,7 @@ SRCS= opt_ipfilter.h \
ipft_tx.c misc.c ip_frag.c ip_state.c ip_nat.c ip_proxy.c \
ip_auth.c ipft_hx.c ip_fil.c natparse.c facpri.c common.c
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.OBJDIR} -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I. -I${.CURDIR}/../../contrib/ipfilter
CLEANFILES+= opt_ipfilter.h

View File

@ -8,7 +8,6 @@ SRCS= ipresend.c ip.c resend.c opt.c ipft_ef.c ipft_hx.c ipft_sn.c ipft_td.c ipf
CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" \
-DUSE_INET6 \
-I- -I${.CURDIR}/../../sys/netinet \
-I${.CURDIR}/../../contrib/ipfilter/ipsend \
-I${.CURDIR}/../../contrib/ipfilter

View File

@ -11,7 +11,7 @@ MAN= ipsend.1 ipsend.5
CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" \
-DUSE_INET6 \
-I- -I. -I${.CURDIR}/../../sys/netinet \
-I. \
-I${.CURDIR}/../../contrib/ipfilter/ipsend \
-I${.CURDIR}/../../contrib/ipfilter/iplang \
-I${.CURDIR}/../../contrib/ipfilter

View File

@ -8,7 +8,6 @@ SRCS= iptest.c iptests.c ip.c sbpf.c 44arp.c sock.c
CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" \
-DUSE_INET6 \
-I- -I${.CURDIR}/../../sys/netinet \
-I${.CURDIR}/../../contrib/ipfilter/ipsend \
-I${.CURDIR}/../../contrib/ipfilter

View File

@ -2,6 +2,5 @@
PROG= usbd
MAN= usbd.conf.5 usbd.8
CFLAGS+=-I${.CURDIR}/../../sys
.include <bsd.prog.mk>

View File

@ -3,6 +3,5 @@
PROG= usbdevs
MAN= usbdevs.8
CFLAGS+=-I${.CURDIR}/../../sys
.include <bsd.prog.mk>