aboutsummaryrefslogtreecommitdiff
path: root/share/mk/Makefile
diff options
context:
space:
mode:
authorJonathan Anderson <jonathan@FreeBSD.org>2016-10-12 00:42:46 +0000
committerJonathan Anderson <jonathan@FreeBSD.org>2016-10-12 00:42:46 +0000
commit808b18e4d6290cd08c2ac2977fff7aaa70ba7c9c (patch)
treefb924657207198ace02d6f539a2b7f5c284526c3 /share/mk/Makefile
parent943ac2b07e7383625d2d10098953808f35c19417 (diff)
downloadsrc-808b18e4d6290cd08c2ac2977fff7aaa70ba7c9c.tar.gz
src-808b18e4d6290cd08c2ac2977fff7aaa70ba7c9c.zip
Extract suffix rules into bsd.suffixes[-posix].mk.
Refactor make suffix rules into separate files (one for POSIX and one not), and rationalise the rules so that bsd.lib.mk can contain only those rules that are library-specific (.c.po and .c.pico). This can be accomplished by adding ${STATIC_CFLAGS} to the .c.o rule unconditionally. STATIC_CFLAGS are only defined for use by sys.mk rules in lib/libpam/Makefile.inc (see r227797), so it should be safe to include them unconditionally in sys.mk's .c.o rule (tested by make universe and a ports exp-run). Reviewed by: bdrewery, sjg Approved by: rwatson (mentor) Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D6805
Notes
Notes: svn path=/head/; revision=307075
Diffstat (limited to 'share/mk/Makefile')
-rw-r--r--share/mk/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/Makefile b/share/mk/Makefile
index b33ab27ac053..780e3b651238 100644
--- a/share/mk/Makefile
+++ b/share/mk/Makefile
@@ -49,6 +49,8 @@ FILES= \
bsd.progs.mk \
bsd.snmpmod.mk \
bsd.subdir.mk \
+ bsd.suffixes-posix.mk \
+ bsd.suffixes.mk \
bsd.symver.mk \
bsd.sys.mk \
bsd.test.mk \