summaryrefslogtreecommitdiffstats
path: root/upgrade/Makefile
blob: 9890340530526ce65ac446c12e1f05bab5a0bdb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $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."
    echo "Please type make rDDDD_XXXX to build your upgrade program."

$(SRCROOT)/include/var.h: $(SRCROOT)/mbbsd/var.c
    cd $(SRCROOT)/mbbsd; $(MAKE) $(SRCROOT)/include/var.h