summaryrefslogtreecommitdiffstats
path: root/util/Makefile
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-24 04:37:45 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-24 04:37:45 +0800
commit0d3972c511342199745acdd58e12f29fd4ba2354 (patch)
tree5037cfe4e751f9b6a2143542c1bf71edb8517b54 /util/Makefile
parenteffcf6bcd5ebbe88363cbd6b9269cc0775c17942 (diff)
downloadpttbbs-0d3972c511342199745acdd58e12f29fd4ba2354.tar
pttbbs-0d3972c511342199745acdd58e12f29fd4ba2354.tar.gz
pttbbs-0d3972c511342199745acdd58e12f29fd4ba2354.tar.bz2
pttbbs-0d3972c511342199745acdd58e12f29fd4ba2354.tar.lz
pttbbs-0d3972c511342199745acdd58e12f29fd4ba2354.tar.xz
pttbbs-0d3972c511342199745acdd58e12f29fd4ba2354.tar.zst
pttbbs-0d3972c511342199745acdd58e12f29fd4ba2354.zip
remove descrypt.c.
let xchatd use libdes crypt(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2532 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/Makefile')
-rw-r--r--util/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/util/Makefile b/util/Makefile
index f7686c76..6d5d1b6b 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -8,11 +8,13 @@ BBSBASE= ../include/var.h
UTIL_OBJS= \
util_cache.o util_record.o util_passwd.o util_var.o \
- util_stuff.o util_osdep.o util_args.o util_file.o
+ util_stuff.o util_osdep.o util_args.o util_file.o \
+ util_crypt.o
MBBSD_OBJS= \
cache record passwd var \
- stuff osdep args file
+ stuff osdep args file \
+ crypt
# 下面這些程式, 會被 compile 並且和 $(UTIL_OBJS) 聯結
CPROG_WITH_UTIL= \
@@ -24,14 +26,14 @@ CPROG_WITH_UTIL= \
reaper buildAnnounce inndBM shmctl \
outmail chkhbf checkmoney merge_dir \
transman angel gamblegive checkdir \
- chesscountry tunepasswd buildir
+ chesscountry tunepasswd buildir xchatd
# 下面這些程式, 會直接被 compile
CPROG_WITHOUT_UTIL= \
shmsweep uhash_loader showboard \
countalldice webgrep bbsrf initbbs \
userlist merge_passwd \
- merge_board xchatd bbsmail
+ merge_board bbsmail
# 下面這些程式會被 install
PROGS= ${CPROG_WITH_UTIL} ${CPROG_WITHOUT_UTIL} \
@@ -56,9 +58,6 @@ util_${fn}.o: ${BBSBASE} ../mbbsd/${fn}.c
$(CCACHE) ${CC} ${CFLAGS} -D_BBS_UTIL_C_ -c -o $@ ../mbbsd/${fn}.c
.endfor
-xchatd: ${BBSBASE} xchatd.c $(UTIL_OBJS) descrypt.c
- $(CCACHE) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.c $(UTIL_OBJS) descrypt.c
-
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)