diff options
Diffstat (limited to 'util/Makefile')
-rw-r--r-- | util/Makefile | 9 |
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/ |