diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-10 14:24:56 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-10 14:24:56 +0800 |
commit | fa5b233767ca9d4e012839c28eb13628d2ebba63 (patch) | |
tree | b9f02d70672704dc7ea5726bc2d7e982c4d75dd9 /mbbsd | |
parent | f1803b4bcb86f3362dda2feba438056363faeed5 (diff) | |
download | pttbbs-fa5b233767ca9d4e012839c28eb13628d2ebba63.tar pttbbs-fa5b233767ca9d4e012839c28eb13628d2ebba63.tar.gz pttbbs-fa5b233767ca9d4e012839c28eb13628d2ebba63.tar.bz2 pttbbs-fa5b233767ca9d4e012839c28eb13628d2ebba63.tar.lz pttbbs-fa5b233767ca9d4e012839c28eb13628d2ebba63.tar.xz pttbbs-fa5b233767ca9d4e012839c28eb13628d2ebba63.tar.zst pttbbs-fa5b233767ca9d4e012839c28eb13628d2ebba63.zip |
Automake is a hard work, still not working now.
git-svn-id: http://opensvn.csie.org/pttbbs/branches/piaip.automake@3152 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/Makefile.am | 41 | ||||
-rw-r--r-- | mbbsd/Makefile.old (renamed from mbbsd/Makefile) | 0 |
2 files changed, 41 insertions, 0 deletions
diff --git a/mbbsd/Makefile.am b/mbbsd/Makefile.am new file mode 100644 index 00000000..8d19b6ff --- /dev/null +++ b/mbbsd/Makefile.am @@ -0,0 +1,41 @@ +######################################################################## +# PTT BBS Automake +# Create: piaip, Sat Sep 10 10:36:56 CST 2005 +######################################################################## +# $Id$ + +bin_PROGRAMS=mbbsd + +mbbsd_SOURCES= \ + ../include/var.h \ + admin.c announce.c args.c assess.c bbs.c board.c brc.c cache.c \ + cal.c calendar.c card.c chat.c chc.c chc_tab.c chess.c chicken.c \ + convert.c crypt.c dark.c edit.c fav.c file.c friend.c gamble.c \ + go.c gomo.c guess.c indict.c io.c kaede.c lovepaper.c mail.c \ + mbbsd.c menu.c more.c name.c osdep.c othello.c passwd.c pmore.c \ + read.c record.c register.c screen.c stuff.c syspost.c talk.c \ + term.c topsong.c user.c var.c vice.c vote.c voteboard.c xyz.c + +../include/var.h: var.c + perl ../util/parsevar.pl < var.c > ../include/var.h + +## reduce .bss align overhead +#.if !defined(DEBUG) +#LDFLAGS+=-Wl,--sort-common +#.endif + +#$(PROG): $(OBJS) +# sh ../util/newvers.sh +# $(DIETCC) $(CC) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS) $(EXT_LIBS) vers.c + +#test: $(PROG) +# killall -9 testmbbsd || true +# cp mbbsd testmbbsd +# ./testmbbsd 9000 +# rm -f testmbbsd +# +#install: $(PROG) +# install -d $(BBSHOME)/bin/ +# install -c -m 755 $(PROG) $(BBSHOME)/bin/ +# mv -f $(BBSHOME)/bin/mbbsd $(BBSHOME)/bin/mbbsd.`date '+%m%d%H%M'` +# ln -sv $(BBSHOME)/bin/mbbsd.`date '+%m%d%H%M'` $(BBSHOME)/bin/mbbsd diff --git a/mbbsd/Makefile b/mbbsd/Makefile.old index a635cb48..a635cb48 100644 --- a/mbbsd/Makefile +++ b/mbbsd/Makefile.old |