summaryrefslogtreecommitdiff
path: root/gnu/lib/libg++/genclass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libg++/genclass/Makefile')
-rw-r--r--gnu/lib/libg++/genclass/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/lib/libg++/genclass/Makefile b/gnu/lib/libg++/genclass/Makefile
new file mode 100644
index 00000000000..68d8e6482a3
--- /dev/null
+++ b/gnu/lib/libg++/genclass/Makefile
@@ -0,0 +1,13 @@
+# Makefile for g++ library genclass
+
+PROG= genclass
+SRCS= genclass.sh
+NOMAN=
+STRIP=
+
+genclass: genclass.sh
+ sed -e 's|^PROTODIR=.*|PROTODIR=${DESTDIR}/usr/include/g++/gen|' \
+ -e 's|<VERSION>|2.4|' ${.ALLSRC} > ${.TARGET}
+
+.include <bsd.prog.mk>
+.include "../../../usr.bin/Makefile.inc"