summaryrefslogtreecommitdiffstats
path: root/util/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/Makefile')
-rw-r--r--util/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/util/Makefile b/util/Makefile
index e291cdee..3daa4579 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.24 2003/02/17 18:37:48 in2 Exp $
+# $Id: Makefile,v 1.25 2003/03/28 13:39:29 in2 Exp $
BBSHOME?=$(HOME)
OSTYPE!=uname
@@ -37,6 +37,10 @@ PROGS= $(CPROGS) BM_money.sh backpasswd.sh mailog.sh opendice.sh\
toplazyBM.sh toplazyBBM.sh dailybackup.pl tarqueue.pl waterball.pl \
filtermail.pl getbackup.pl udnnews.pl rebuildaloha.pl railway_wrapper.pl
+.if ${OSTYPE} == "FreeBSD"
+CPROGS += diskstat
+.endif
+
all: $(PROGS)
bbsmail: bbsmail.c $(OBJS)
@@ -162,6 +166,9 @@ bbsctl: bbsctl.c
shmctl: shmctl.c $(OBJS)
$(CC) $(CFLAGS) -o $@ $@.c $(OBJS)
+diskstat: diskstat.c
+ $(CC) $(CFLAGS) -o diskstat diskstat.c -ldevstat
+
install: $(PROGS)
install -d $(BBSHOME)/bin/
install -c -m 755 $(PROGS) $(BBSHOME)/bin/