Replaced COPTS by equivalent CFLAGS.
This commit is contained in:
parent
4b81536769
commit
94c5bbf6d8
@ -13,5 +13,5 @@ SRCS=\
|
||||
|
||||
NOMAN=1
|
||||
|
||||
COPTS+=-DNO_MEMLOCK
|
||||
CFLAGS+=-DNO_MEMLOCK
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user