summaryrefslogtreecommitdiffstats
path: root/util/Makefile
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-28 21:39:29 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-28 21:39:29 +0800
commite76616aaf6771e5c435a935376c14ef47024a37f (patch)
tree686322aa9b3af111c913a7892ee0b240980fb24e /util/Makefile
parenta3aa2fb84feac7c8f0dca9ec0542accfa0feca96 (diff)
downloadpttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.tar
pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.tar.gz
pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.tar.bz2
pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.tar.lz
pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.tar.xz
pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.tar.zst
pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.zip
comments
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@739 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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/