OTHERSRCS = Makefile.preamble Makefile Makefile.postamble pwd_mkdb.8
MANPAGES = pwd_mkdb.8
-Extra_CC_Flags = -D_PW_NAME_LEN=MAXLOGNAME -D_PW_YPTOKEN=\"__YP!\"
+Extra_CC_Flags = -Wall -Werror -mdynamic-no-pic
+Extra_LD_Flags = -dead_strip
+
+Extra_CC_Flags += -D_PW_NAME_LEN=MAXLOGNAME -D_PW_YPTOKEN=\"__YP!\"
include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make