summaryrefslogtreecommitdiffstats
path: root/util/Makefile
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-06 17:02:50 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-06 17:02:50 +0800
commit243b8fa1bcadfb312cc334fdd83322a043d97a41 (patch)
tree695ef854c84e0e7abfc1c2b1b34881bd52e48fc8 /util/Makefile
parent1f6dede4cd2f7f35a2a768ec4c1f75aba51b71dd (diff)
downloadpttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.tar
pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.tar.gz
pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.tar.bz2
pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.tar.lz
pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.tar.xz
pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.tar.zst
pttbbs-243b8fa1bcadfb312cc334fdd83322a043d97a41.zip
Revision 3000
- sync with ptt1 local modified source git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/Makefile')
-rw-r--r--util/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/util/Makefile b/util/Makefile
index 7ff2f3b6..4f7e19a4 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -23,7 +23,7 @@ CPROG_WITH_UTIL= \
expire mandex rmuid horoscope \
openvice parse_news openticket topusr \
yearsold toplazyBM toplazyBBM writemoney \
- reaper buildAnnounce inndBM shmctl \
+ reaper buildAnnounce inndBM mailangel \
outmail chkhbf checkmoney merge_dir \
transman angel gamblegive checkdir \
chesscountry tunepasswd buildir xchatd
@@ -37,6 +37,7 @@ CPROG_WITHOUT_UTIL= \
# 下面這些程式會被 install
PROGS= ${CPROG_WITH_UTIL} ${CPROG_WITHOUT_UTIL} \
+ shmctl \
BM_money.sh backpasswd.sh mailog.sh opendice.sh \
openticket.sh stock.sh topsong.sh weather.sh \
stock.perl weather.perl toplazyBM.sh toplazyBBM.sh \
@@ -58,6 +59,13 @@ util_${fn}.o: ${BBSBASE} ../mbbsd/${fn}.c
$(CCACHE) ${CC} ${CFLAGS} -D_BBS_UTIL_C_ -c -o $@ ../mbbsd/${fn}.c
.endfor
+shmctl: ${BBSBASE} shmctl.c ${UTIL_OBJS}
+ $(CCACHE) ${CC} ${CFLAGS} ${LDFLAGS} -o shmctl ${UTIL_OBJS} shmctl.c
+#shmctl: ${BBSBASE} shmctl.c ${UTIL_OBJS}
+# $(CCACHE) gcc -g -DBBSHOME='"/home/bbs"' -I../include -D__OS_MAJOR_VERSION__="2" -D__OS_MINOR_VERSION__="6" -DPTTBBS_UTIL -O1 -o shmctl ${UTIL_OBJS} shmctl.c
+#shmctl: ${BBSBASE} shmctl.cc ${UTIL_OBJS}
+# $(CCACHE) g++ -g -DBBSHOME='"/home/bbs"' -I../include -D__OS_MAJOR_VERSION__="2" -D__OS_MINOR_VERSION__="6" -DPTTBBS_UTIL -O1 -o shmctl ${UTIL_OBJS} shmctl.cc
+
bbsmail: ${BBSBASE} bbsmail.c ../innbbsd/str_decode.c $(UTIL_OBJS)
$(CCACHE) $(CC) $(CFLAGS) $(LDFLAGS) -o bbsmail -DUSE_ICONV \
bbsmail.c ../innbbsd/str_decode.c $(UTIL_OBJS)