aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/objformat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/objformat/Makefile')
-rw-r--r--usr.bin/objformat/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.bin/objformat/Makefile b/usr.bin/objformat/Makefile
new file mode 100644
index 0000000000000..d9ba31bf80e88
--- /dev/null
+++ b/usr.bin/objformat/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+PROG= objformat
+NOMAN= not yet
+CFLAGS+= -DMAIN
+
+.if ${BINFORMAT} == elf
+CFLAGS+= -DFREEBSD_ELF
+.else
+CFLAGS+= -DFREEBSD_AOUT
+.endif
+
+# LINKS+= /usr/bin/objformat /usr/bin/as
+# LINKS+= /usr/bin/objformat /usr/bin/ld
+
+.include <bsd.prog.mk>