summaryrefslogtreecommitdiffstats
path: root/usr.bin/ar/Makefile
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2008-02-21 10:52:31 +0000
committerkaiw <kaiw@FreeBSD.org>2008-02-21 10:52:31 +0000
commitbd49e931f20cf4f25d0c085cf7b048efe16cb93b (patch)
treed7041e81552890443b432a04c0b9adb7cfa9afeb /usr.bin/ar/Makefile
parentafb9fa5a4b87c13a6d671aa0b02c9e13af0f4146 (diff)
downloadFreeBSD-src-bd49e931f20cf4f25d0c085cf7b048efe16cb93b.zip
FreeBSD-src-bd49e931f20cf4f25d0c085cf7b048efe16cb93b.tar.gz
Import ar(1) front-end. (aka 'BSD' ar)
Reviewed by: jkoshy Approved by: jkoshy (mentor) Tested by: erwin (ports build test on pointyhat) Sponsored by: Google Summer of Code 2007 Reviewed by (earlier version): Jaakko Heinonen <jh[AT]saunalahti.fi> Tested by (earlier version): Steve Kargl <sgk[AT]troutmask.apl.washington.edu> Tested by (earlier version): Martin Voros <martin_voros[AT]yahoo.com> Tested by (earlier version): swell.k[AT]gmail.com Tested by (earlier version): joel Tested by (earlier version): Alexey Shuvaev <shuvaev[AT]physik.uni-wuerzburg.de> Tested by (earlier version): Arjan van Leeuwen <avleeuwen[AT]gmail.com> Thanks to gabor@ for building ports for it. Thanks to erwin@ and kris@ for scheduling the ports build test on pointyhat. And thanks to many others for their feedback.
Diffstat (limited to 'usr.bin/ar/Makefile')
-rw-r--r--usr.bin/ar/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr.bin/ar/Makefile b/usr.bin/ar/Makefile
new file mode 100644
index 0000000..6c277ea
--- /dev/null
+++ b/usr.bin/ar/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+PROG= ar
+VERSION= 1.0.2
+SRCS= ar.c read.c util.c write.c
+WARNS?= 5
+DPADD= ${LIBARCHIVE} ${LIBELF}
+LDADD= -larchive -lelf
+CFLAGS+= -DBSDAR_VERSION=\"${VERSION}\"
+LINKS= ${BINDIR}/ar ${BINDIR}/ranlib
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud