summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/sort/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/sort/Makefile')
-rw-r--r--gnu/usr.bin/sort/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/usr.bin/sort/Makefile b/gnu/usr.bin/sort/Makefile
new file mode 100644
index 0000000..78eb30d
--- /dev/null
+++ b/gnu/usr.bin/sort/Makefile
@@ -0,0 +1,11 @@
+PROG= sort
+SRCS= sort.c error.c version.c long-options.c getopt.c getopt1.c
+
+CFLAGS+=-I${.CURDIR} -DDIRENT=1 -DHAVE_LONG_DOUBLE=1 -DHAVE_LONG_DOUBLE=1 \
+ -DHAVE_ST_BLKSIZE=1 -DHAVE_VPRINTF=1 -DRETSIGTYPE=void \
+ -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DHAVE_FCNTL_H=1 \
+ -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRING_H=1 \
+ -DHAVE_UNISTD_H=1
+
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud