summaryrefslogtreecommitdiffstats
path: root/util/Makefile
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-14 18:20:39 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-14 18:20:39 +0800
commit162a59f51f60fa7fc589ef2f75625fad7f024dea (patch)
treefe99a4ec494d9d98496ccd67b41e053d7637ff65 /util/Makefile
parent69235ab6f7b279ff15443448b23b6944931c0275 (diff)
downloadpttbbs-162a59f51f60fa7fc589ef2f75625fad7f024dea.tar
pttbbs-162a59f51f60fa7fc589ef2f75625fad7f024dea.tar.gz
pttbbs-162a59f51f60fa7fc589ef2f75625fad7f024dea.tar.bz2
pttbbs-162a59f51f60fa7fc589ef2f75625fad7f024dea.tar.lz
pttbbs-162a59f51f60fa7fc589ef2f75625fad7f024dea.tar.xz
pttbbs-162a59f51f60fa7fc589ef2f75625fad7f024dea.tar.zst
pttbbs-162a59f51f60fa7fc589ef2f75625fad7f024dea.zip
bbsmail: reindent, ignore multipart mails, apply iconv to mail subject.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1539 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/Makefile')
-rw-r--r--util/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/util/Makefile b/util/Makefile
index 09f6cc32..33594270 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -20,7 +20,7 @@ CPROG_WITH_UTIL= \
openvice parse_news openticket topusr \
indexuser yearsold toplazyBM toplazyBBM \
reaper buildAnnounce inndBM shmctl \
- outmail bbsmail
+ outmail
# 下面這些程式, 會直接被 compile
CPROG_WITHOUT_UTIL= \
@@ -35,7 +35,8 @@ PROGS= ${UTIL_OBJS} ${CPROG_WITH_UTIL} ${CPROG_WITHOUT_UTIL} \
openticket.sh stock.sh topsong.sh weather.sh \
stock.perl weather.perl toplazyBM.sh toplazyBBM.sh \
dailybackup.pl tarqueue.pl waterball.pl filtermail.pl \
- getbackup.pl udnnews.pl rebuildaloha.pl railway_wrapper.pl
+ getbackup.pl udnnews.pl rebuildaloha.pl railway_wrapper.pl\
+ bbsmail
all: ${CPROG_WITH_UTIL} ${CPROG_WITHOUT_UTIL} ${PROGS}
@@ -52,6 +53,10 @@ util_${fn}.o: ../mbbsd/${fn}.c
xchatd: xchatd.c $(UTIL_OBJS) descrypt.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.c $(UTIL_OBJS) descrypt.c
+bbsmail: bbsmail.c ../innbbsd/str_decode.c $(UTIL_OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o bbsmail -DUSE_ICONV \
+ bbsmail.c ../innbbsd/str_decode.c $(UTIL_OBJS)
+
install: $(PROGS)
install -d $(BBSHOME)/bin/
install -c -m 755 $(PROGS) $(BBSHOME)/bin/