diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2003-08-31 15:20:17 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2003-08-31 15:20:17 +0000 |
commit | 41f8931571d84917b32a9538b509d4d7c5456ca8 (patch) | |
tree | b4da709b504fdf33097f1060ba847dc14c04eae3 /share | |
parent | d73829d478f08400f8f787ef58e9bb8d96637528 (diff) | |
download | src-41f8931571d84917b32a9538b509d4d7c5456ca8.tar.gz src-41f8931571d84917b32a9538b509d4d7c5456ca8.zip |
Whitespace diff reduction between bsd.prog.mk and bsd.lib.mk outputs.
Notes
Notes:
svn path=/head/; revision=119607
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.lib.mk | 2 | ||||
-rw-r--r-- | share/mk/bsd.prog.mk | 19 |
2 files changed, 19 insertions, 2 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 4ad78316247b..58bce19512b8 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -21,7 +21,9 @@ SHLIB_LINK?= ${SHLIB_NAME:R} SONAME?= ${SHLIB_NAME} .endif +.if defined(CRUNCH_CFLAGS) CFLAGS+= ${CRUNCH_CFLAGS} +.endif .if defined(DEBUG_FLAGS) CFLAGS+= ${DEBUG_FLAGS} diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 43bb9e8e2c47..8ae4063a3b65 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -5,8 +5,17 @@ .SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .ln .s .S .asm -CFLAGS+=${COPTS} ${DEBUG_FLAGS} +.if defined(COPTS) +CFLAGS+=${COPTS} +.endif + +.if defined(DEBUG_FLAGS) +CFLAGS+=${DEBUG_FLAGS} +.endif + +.if defined(CRUNCH_CFLAGS) CFLAGS+=${CRUNCH_CFLAGS} +.endif .if !defined(DEBUG_FLAGS) STRIP?= -s @@ -79,7 +88,13 @@ all: objwarn ${PROG} ${SCRIPTS} all: _manpages .endif -CLEANFILES+= ${PROG} ${OBJS} +.if defined(PROG) +CLEANFILES+= ${PROG} +.endif + +.if defined(OBJS) +CLEANFILES+= ${OBJS} +.endif .if defined(PROG) _EXTRADEPEND: |