mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
f328d583a2
COPTS towards the end of final CFLAGS so that it can be used to override Makefile and other defaults. Using it in Makefiles risks having options set using it clobbered when somebody uses it on the command line. Approved by: bde
21 lines
370 B
Makefile
21 lines
370 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
|
# $FreeBSD$
|
|
|
|
PROG= ping
|
|
MAN= ping.8
|
|
BINMODE=4555
|
|
CFLAGS+=-Wall -Wmissing-prototypes
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
CFLAGS+=-fno-builtin # GCC's builtin memcpy doesn't do unaligned copies
|
|
.endif
|
|
DPADD= ${LIBM}
|
|
LDADD= -lm
|
|
|
|
.if !defined(RELEASE_CRUNCH)
|
|
CFLAGS+=-DIPSEC
|
|
DPADD+= ${LIBIPSEC}
|
|
LDADD+= -lipsec
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|