aboutsummaryrefslogtreecommitdiff
path: root/bin/ls/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ls/Makefile')
-rw-r--r--bin/ls/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/ls/Makefile b/bin/ls/Makefile
new file mode 100644
index 000000000000..db3fae7eb232
--- /dev/null
+++ b/bin/ls/Makefile
@@ -0,0 +1,21 @@
+# @(#)Makefile 8.1 (Berkeley) 6/2/93
+# $FreeBSD$
+
+.include <src.opts.mk>
+
+PACKAGE=runtime
+PROG= ls
+SRCS= cmp.c ls.c print.c util.c
+LIBADD= xo util
+
+.if !defined(RELEASE_CRUNCH) && \
+ ${MK_LS_COLORS} != no
+CFLAGS+= -DCOLORLS
+LIBADD+= termcapw
+.endif
+
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
+.include <bsd.prog.mk>