summaryrefslogtreecommitdiff
path: root/release/floppies/mk/makecrunch.mk
diff options
context:
space:
mode:
Diffstat (limited to 'release/floppies/mk/makecrunch.mk')
-rw-r--r--release/floppies/mk/makecrunch.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/release/floppies/mk/makecrunch.mk b/release/floppies/mk/makecrunch.mk
new file mode 100644
index 0000000000000..8f2d3e70afe1b
--- /dev/null
+++ b/release/floppies/mk/makecrunch.mk
@@ -0,0 +1,25 @@
+
+
+SYSINSTALL= ${OBJTOP}/release/sysinstall/sysinstall
+
+NOCRYPT?= yes
+
+all: crunch
+
+crunch:
+ -crunchgen ${.CURDIR}/crunch.conf
+ ${MAKE} -f crunch.mk all NOCRYP=${NOCRYPT} \
+ "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY"
+
+clean:
+ rm -f *.o *.stub *.lo *_stub.c *.mk \
+ crunch.cache \
+ crunch.mk \
+ crunch.c \
+ crunch \
+ .tmp_*
+
+install:
+ @echo " No idea what to do to install yet"
+
+.include <bsd.prog.mk>