[btech-checkins] CVS: btechmux Makefile.in,NONE,1.1.2.1 README.BitKeeper,NONE,1.1.2.1 configure,NONE
Brought to you by:
twouters
|
From: Thomas W. <two...@us...> - 2003-09-30 01:38:39
|
Update of /cvsroot/btech/btechmux
In directory sc8-pr-cvs1:/tmp/cvs-serv2119
Added Files:
Tag: btmux_1_4-branch
Makefile.in README.BitKeeper configure configure.in
Removed Files:
Tag: btmux_1_4-branch
Makefile .depend
Log Message:
Merge with the Bitkeeper repository at
http://btechmux.bkbits.net/btechmux-stable (the 'stable' branch.)
This adds a cleaner build system (no recursive make, for one) and a host of
small features as seen on 3030MUX.
--- NEW FILE: Makefile.in ---
#!/usr/bin/make -f
CC = @CC@
MAKEDEPEND = gcc -MM
CFLAGS = -g -Wall -O2 -Wno-unused -fno-strict-aliasing
INCLUDES = -Iinclude -Isrc -Isrc/hcode/include -Isrc/hcode/btech
LIBS = @LIBS@
VERSION_FLAGS = -DMUX_BUILD_DATE="\"`date`\"" \
-DMUX_BUILD_NUM="\"`sh src/buildnum.sh`\""
BUILDFLAGS = -DMYFIFO -DMEMORY_BASED -DBT_ENABLED -DHUDINFO_SUPPORT
ALLFLAGS = $(CFLAGS) $(INCLUDES) $(BUILDFLAGS)
PROTOMAKER = bin/protomaker.sh
MISC_OBJECTS = misc/myfifo.o
EVENT_OBJECTS = event/event.o
TREE_OBJECTS = tree/mux_tree.o \
tree/tree.o \
MUX_OBJECTS = src/alloc.o \
src/boolexp.o \
src/bsd.o \
src/commac.o \
src/command.o \
src/compat.o \
src/comsys.o \
src/conf.o \
src/cque.o \
src/create.o \
src/db.o \
src/db_rw.o \
src/eval.o \
src/file_c.o \
src/flags.o \
src/funceval.o \
src/functions.o \
src/game.o \
src/help.o \
src/htab.o \
src/log.o \
src/look.o \
src/macro.o \
src/mail.o \
src/match.o \
src/mguests.o \
src/move.o \
src/netcommon.o \
src/object.o \
src/player.o \
src/player_c.o \
src/powers.o \
src/predicates.o \
src/python.o \
src/regexp.o \
src/rob.o \
src/set.o \
src/speech.o \
src/strhandler.o \
src/stringutil.o \
src/timer.o \
src/unparse.o \
src/vattr.o \
src/walkdb.o \
src/wild.o \
src/wiz.o \
HCODE_OBJECTS = src/hcode/coolmenu.o \
src/hcode/debug.o \
src/hcode/events.o \
src/hcode/glue.hcode.o \
src/hcode/glue.o \
src/hcode/glue.scode.o \
src/hcode/luck.o \
src/hcode/mech.lostracer.o \
src/hcode/mechfile.o \
src/hcode/spath.o \
BTECH_OBJECTS = src/hcode/btech/aero.bomb.o \
src/hcode/btech/aero.move.o \
src/hcode/btech/ai.o \
src/hcode/btech/artillery.o \
src/hcode/btech/autogun.o \
src/hcode/btech/autopilot.o \
src/hcode/btech/autopilot_command.o \
src/hcode/btech/autopilot_commands.o \
src/hcode/btech/bsuit.o \
src/hcode/btech/btech.o \
src/hcode/btech/btechstats.o \
src/hcode/btech/btspath.o \
src/hcode/btech/crit.o \
src/hcode/btech/ds.bay.o \
src/hcode/btech/ds.turret.o \
src/hcode/btech/econ.o \
src/hcode/btech/econ_cmds.o \
src/hcode/btech/eject.o \
src/hcode/btech/failures.o \
src/hcode/btech/hudinfo.o \
src/hcode/btech/map.bits.o \
src/hcode/btech/map.coding.o \
src/hcode/btech/map.conditions.o \
src/hcode/btech/map.dynamic.o \
src/hcode/btech/map.los.o \
src/hcode/btech/map.o \
src/hcode/btech/map.obj.o \
src/hcode/btech/mech.advanced.o \
src/hcode/btech/mech.ammodump.o \
src/hcode/btech/mech.avail.o \
src/hcode/btech/mech.bth.o \
src/hcode/btech/mech.build.o \
src/hcode/btech/mech.c3.misc.o \
src/hcode/btech/mech.c3.o \
src/hcode/btech/mech.c3i.o \
src/hcode/btech/mech.combat.misc.o \
src/hcode/btech/mech.combat.missile.o \
src/hcode/btech/mech.combat.o \
src/hcode/btech/mech.consistency.o \
src/hcode/btech/mech.contacts.o \
src/hcode/btech/mech.custom.o \
src/hcode/btech/mech.damage.o \
src/hcode/btech/mech.ecm.o \
src/hcode/btech/mech.enhanced.criticals.o \
src/hcode/btech/mech.events.o \
src/hcode/btech/mech.fire.o \
src/hcode/btech/mech.hitloc.o \
src/hcode/btech/mech.ice.o \
src/hcode/btech/mech.lite.o \
src/hcode/btech/mech.los.o \
src/hcode/btech/mech.maps.o \
src/hcode/btech/mech.mechref_ident.o \
src/hcode/btech/mech.move.o \
src/hcode/btech/mech.notify.o \
src/hcode/btech/mech.ood.o \
src/hcode/btech/mech.partnames.o \
src/hcode/btech/mech.physical.o \
src/hcode/btech/mech.pickup.o \
src/hcode/btech/mech.restrict.o \
src/hcode/btech/mech.scan.o \
src/hcode/btech/mech.sensor.functions.o \
src/hcode/btech/mech.sensor.o \
src/hcode/btech/mech.spot.o \
src/hcode/btech/mech.startup.o \
src/hcode/btech/mech.stat.o \
src/hcode/btech/mech.status.o \
src/hcode/btech/mech.tag.o \
src/hcode/btech/mech.tech.commands.o \
src/hcode/btech/mech.tech.damages.o \
src/hcode/btech/mech.tech.do.o \
src/hcode/btech/mech.tech.events.o \
src/hcode/btech/mech.tech.o \
src/hcode/btech/mech.tech.repairs.o \
src/hcode/btech/mech.tech.saverepair.o \
src/hcode/btech/mech.tic.o \
src/hcode/btech/mech.update.o \
src/hcode/btech/mech.utils.o \
src/hcode/btech/mechrep.o \
src/hcode/btech/mine.o \
src/hcode/btech/pcombat.o \
src/hcode/btech/scen.o \
src/hcode/btech/template.o \
ALLOBJS = $(MISC_OBJECTS) $(EVENT_OBJECTS) $(TREE_OBJECTS) \
$(MUX_OBJECTS) $(HCODE_OBJECTS) $(BTECH_OBJECTS)
ALLSRCS = $(ALLOBJS:.o=.c)
TARGETS = src/netmux src/mkindx src/unsplit src/slave
all: $(TARGETS)
# Install copies the 'game' directory to game.run, after trying to get all
# files from bk. If the bk command fails, we don't really care.
install: $(TARGETS)
mv -f $(TARGETS) game/bin/
netmux src/netmux: $(ALLOBJS) src/version.c src/buildnum.sh
$(CC) $(ALLFLAGS) $(VERSION_FLAGS) -c src/version.c -o src/version.o
$(CC) $(ALLFLAGS) -o src/netmux $(ALLOBJS) src/version.o $(LIBS)
clean:
rm -f $(ALLOBJS) src/version.o src/netmux src/mkindx src/unsplit
slave src/slave: src/slave.c
$(CC) $(ALLFLAGS) -o src/slave src/slave.c
mkindx src/mkindx: src/mkindx.o
$(CC) $(ALLFLAGS) -o src/mkindx src/mkindx.o
unsplit src/unsplit: src/unsplit.o
$(CC) $(ALLFLAGS) -o src/unsplit src/unsplit.o
dbconvert src/dbconvert:
echo "dbconvert is no longer supported." && exit 1;
$(ALLOBJS): %.o: %.c
$(CC) $(ALLFLAGS) -c $< -o $@
protos: $(PROTOMAKER)
$(PROTOMAKER) "$(INCLUDES)" $(ALLSRCS)
.depend:
$(MAKEDEPEND) $(ALLFLAGS) $(ALLSRCS) > .depend
depend dep: .depend
.PHONY: clean protos
include .depend
--- NEW FILE: README.BitKeeper ---
This CVS repository is currently in 'slave' mode to the BitKeeper repository
hosted at BK/Bits (http://btechmux.bkbits.net) while I evaluate BitKeeper's
branching. I will attempt to keep them in sync at least while I'm making up
my mind what to do with this project; the 'official' tree may switch to
BitKeeper, or it may stay CVS -- or it may switch to an externally hosted
Subversion or Aegis or Perforce system (or hosted by SF, if they ever offer
anything but CVS.)
- Focus
--- NEW FILE: configure ---
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
# Defaults:
ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:
# Initialize some variables set by options.
# The variables have the same names as the options, with
# dashes changed to underlines.
build=NONE
cache_file=./config.cache
[...2779 lines suppressed...]
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
fi
rm -f $ac_file
mv conftest.h $ac_file
fi
fi; done
EOF
cat >> $CONFIG_STATUS <<EOF
EOF
cat >> $CONFIG_STATUS <<\EOF
exit 0
EOF
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
--- NEW FILE: configure.in ---
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/mudconf.h)
AC_CONFIG_HEADER(src/autoconf.h)
AC_PROG_CC
AC_PROG_CPP
AC_ISC_POSIX
AC_MINIX
AC_HEADER_STDC
AC_CHECK_HEADERS(memory.h unistd.h errno.h malloc.h ieeefp.h sys/select.h sys/rusage.h sys/ucontext.h)
AC_TIME_WITH_SYS_TIME
AC_FUNC_VFORK
AC_FUNC_VPRINTF
AC_HAVE_FUNCS(setrlimit getrusage timelocal mktime srandom)
AC_HAVE_FUNCS(getpagesize getdtablesize socket gethostbyaddr)
AC_HAVE_FUNCS(gettimeofday)
AC_REPLACE_FUNCS(strdup)
AC_TYPE_SIGNAL
AC_FUNC_WAIT3
AC_STRUCT_TM
AC_STRUCT_TIMEZONE
AC_TYPE_PID_T
AC_MSG_CHECKING(for union wait)
AC_TRY_COMPILE([#include <sys/wait.h>],[union wait stat;],
AC_DEFINE(HAVE_UNION_WAIT) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
AC_DECL_SYS_SIGLIST
AC_C_CONST
AC_C_CHAR_UNSIGNED
AC_C_INLINE
AC_MSG_CHECKING(for linger)
AC_TRY_COMPILE([#include <sys/socket.h>],[struct linger ling; ling.l_onoff = 1;],
AC_DEFINE(HAVE_LINGER) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
AC_CHECK_LIB(crypt, crypt)
case "$DEFS" in
*HAVE_SOCKET*)
;;
*)
AC_CHECK_LIB(socket, main) ;;
esac
case "$DEFS" in
*HAVE_GETHOSTBYADDR*)
;;
*)
AC_CHECK_LIB(inet, main) ;;
esac
AC_CHECK_LIB(nsl, main)
AC_CHECK_LIB(bsd, main)
AC_CHECK_LIB(iberty, main)
AC_CHECK_LIB(m, main)
AC_OUTPUT(Makefile)
--- Makefile DELETED ---
--- .depend DELETED ---
|