1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-25 16:13:17 +00:00

Replaced COPTS by equivalent CFLAGS.

This commit is contained in:
Ruslan Ermilov 2004-08-13 14:21:49 +00:00
parent 0a26e64fe7
commit 5f90425815
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133652
3 changed files with 10 additions and 10 deletions

View File

@ -13,5 +13,5 @@ SRCS=\
NOMAN=1
COPTS+=-DNO_MEMLOCK
CFLAGS+=-DNO_MEMLOCK
.include <bsd.prog.mk>

View File

@ -8,29 +8,29 @@ SRCS= rc_parse.y rc_scan.l main.c rc_config.c log.c curses.c \
y.tab.h holiday.c
# compile debug support
COPTS+= -DDEBUG
CFLAGS+= -DDEBUG
# avoid wacky merging of string constants from
# source code with compile-time timestamp
COPTS+= -fno-merge-constants
CFLAGS+= -fno-merge-constants
# enable rtprio usage
COPTS+= -DUSE_RTPRIO
CFLAGS+= -DUSE_RTPRIO
COPTS+= -I. -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel -I${.CURDIR}
CFLAGS+= -I. -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel -I${.CURDIR}
.include "${.CURDIR}/../Makefile.inc"
.if !defined(I4B_WITHOUT_CURSES)
COPTS+= -DUSE_CURSES
CFLAGS+= -DUSE_CURSES
DPADD= ${LIBCURSES}
LDADD= -lcurses
.endif
.if defined(I4B_EXTERNAL_MONITOR)
COPTS+= -DI4B_EXTERNAL_MONITOR
CFLAGS+= -DI4B_EXTERNAL_MONITOR
.if defined(I4B_NOTCPIP_MONITOR)
COPTS+= -DI4B_NOTCPIP_MONITOR
CFLAGS+= -DI4B_NOTCPIP_MONITOR
.endif
.endif

View File

@ -5,11 +5,11 @@ MAN= isdnmonitor.8
SRCS= main.c curses.c
# compile debug support
COPTS+= -DDEBUG
CFLAGS+= -DDEBUG
# avoid wacky merging of string constants from
# source code with compile-time timestamp
COPTS+= -fno-merge-constants
CFLAGS+= -fno-merge-constants
DPADD= ${LIBCURSES}
LDADD= -lcurses