PROGRAMS += acpi
.endif
-.if ${OBJECT_FMT} == "ELF"
-ELFSTRIP=/usr/gnu_cross/bin/i386-pc-minix3-strip
-.else
+.if ${OBJECT_FMT} == "a.out"
STRIPFLAG+= -s
.endif
proto.gen: $(PROGRAMS) $(SCRIPTS) $(MAKEDEV) proto.sh proto
sh -e proto.sh >proto.gen
-#.if ${OBJECT_FMT} == "ELF"
-#proto.gen: elfstrip
-#
-#.PHONY: elfstrip
-#
-#elfstrip: $(PROGRAMS)
-# ${ELFSTRIP} $(PROGRAMS)
-#.endif
+.if ${OBJECT_FMT} == "ELF"
+proto.gen: elfstrip
+
+.PHONY: elfstrip
+
+elfstrip: $(PROGRAMS)
+ strip $(PROGRAMS)
+.endif
.include <bsd.prog.mk>