summaryrefslogtreecommitdiffstats
path: root/usr.bin/objformat/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-03-10 05:20:58 +0000
committerpeter <peter@FreeBSD.org>1998-03-10 05:20:58 +0000
commitc0166228ff37c819ae24b369c29a155eb3d2e1f3 (patch)
treec839473845e8988178d69bb868d7f17fdb1c5231 /usr.bin/objformat/Makefile
downloadFreeBSD-src-c0166228ff37c819ae24b369c29a155eb3d2e1f3.zip
FreeBSD-src-c0166228ff37c819ae24b369c29a155eb3d2e1f3.tar.gz
Import intial version of an a.out/elf tool wrapper/selector. It is
not active yet, just a work-in-progress.
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 0000000..d9ba31b
--- /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>
OpenPOWER on IntegriCloud