diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-06 20:09:40 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-06 20:09:40 +0800 |
commit | 131a77308798e2c314c7b1a00594e44d7cb3fa3d (patch) | |
tree | 53f57bf7cc3f9bf4561e44c6fbf0518d8f3db0b3 /upgrade/Makefile | |
parent | 1ff37fcf607bfc356c60d423ad05fca9d9eab190 (diff) | |
download | pttbbs-131a77308798e2c314c7b1a00594e44d7cb3fa3d.tar pttbbs-131a77308798e2c314c7b1a00594e44d7cb3fa3d.tar.gz pttbbs-131a77308798e2c314c7b1a00594e44d7cb3fa3d.tar.bz2 pttbbs-131a77308798e2c314c7b1a00594e44d7cb3fa3d.tar.lz pttbbs-131a77308798e2c314c7b1a00594e44d7cb3fa3d.tar.xz pttbbs-131a77308798e2c314c7b1a00594e44d7cb3fa3d.tar.zst pttbbs-131a77308798e2c314c7b1a00594e44d7cb3fa3d.zip |
- upgrade: directory for all upgrading scripts/tools/programs
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3967 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'upgrade/Makefile')
-rw-r--r-- | upgrade/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/upgrade/Makefile b/upgrade/Makefile new file mode 100644 index 00000000..d050eba1 --- /dev/null +++ b/upgrade/Makefile @@ -0,0 +1,26 @@ +# $Id: Makefile 3673 2007-12-12 01:42:23Z kcwu $ +# Usually you won't build everything for upgrading, so we let you decide what to run. + +SRCROOT= .. +.include "$(SRCROOT)/pttbbs.mk" + +CFLAGS+= -DPTTBBS_UTIL + +BBSBASE= $(SRCROOT)/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_crypt.o + +LIBS+= $(SRCROOT)/src/libbbsutil/libbbsutil.a \ + $(SRCROOT)/src/libbbs/libbbs.a + +all: + echo "Usually you won't build everything for upgrading, so we let you decide what to run." + +$(SRCROOT)/include/var.h: $(SRCROOT)/mbbsd/var.c + cd $(SRCROOT)/mbbsd; $(MAKE) $(SRCROOT)/include/var.h + +r2014convert: r2014convert.c + $(CCACHE) ${CC} ${CFLAGS} ${LDFLAGS} -o r2014convert r2014convert.c $(LIBS) |