empiremud/cnf/
empiremud/doc/
empiremud/lib/boards/
empiremud/lib/etc/
empiremud/lib/misc/
empiremud/lib/plralias/F-J/
empiremud/lib/plralias/K-O/
empiremud/lib/plralias/P-T/
empiremud/lib/plralias/U-Z/
empiremud/lib/plrobjs/
empiremud/lib/plrobjs/F-J/
empiremud/lib/plrobjs/K-O/
empiremud/lib/plrobjs/P-T/
empiremud/lib/plrobjs/U-Z/
empiremud/lib/world/
empiremud/lib/world/mob/
empiremud/lib/world/obj/
empiremud/log/
# EmpireMUD 0.1b Makefile.in - Makefile template used by 'configure'
# Designed from CircleMUD 3.0 Makefile.in
#

# C compiler to use
CC = @CC@

# Path to cxref utility
CXREF = cxref

# Any special flags you want to pass to the compiler
MYFLAGS = @MYFLAGS@

#flags for profiling (see hacker.doc for more information)
PROFILE = 

##############################################################################
# Do Not Modify Anything Below This Line (unless you know what you're doing) #
##############################################################################

BINDIR = ../bin

CFLAGS = @CFLAGS@ $(MYFLAGS) $(PROFILE)

LIBS = @LIBS@ @CRYPTLIB@ @NETLIB@

OBJFILES = act.comm.o act.immortal.o act.informative.o act.item.o \
	act.movement.o act.other.o act.social.o alias.o ban.o boards.o \
	building.o comm.o config.o constants.o db.o empire.o fight.o handler.o \
	interpreter.o limits.o mail.o mobact.o modify.o objsave.o olc.o race.o \
	random.o skills.o utils.o weather.o

CXREF_FILES = act.comm.c act.immortal.c act.informative.c act.item.c \
	act.movement.c act.other.c act.social.c alias.c ban.c boards.c \
	building.c comm.c config.c constants.c db.c empire.c fight.c handler.c \
	interpreter.c limits.c mail.c mobact.c modify.c objsave.c olc.c race.c \
	random.c skills.c utils.c weather.c

default: all

all: .accepted
	$(MAKE) $(BINDIR)/empire
	$(MAKE) utils

.accepted:
	@./licheck @MORE@

utils: .accepted
	(cd util; $(MAKE) all)
empire:
	$(MAKE) $(BINDIR)/empire

$(BINDIR)/empire : $(OBJFILES)
	$(CC) -o $(BINDIR)/empire $(PROFILE) $(OBJFILES) $(LIBS)

clean:
	rm -f *.o
ref:
#
# Create the cross reference files
# Note, this is not meant to be used unless you've installed cxref...
#
	@for file in $(CXREF_FILES) ; do \
	  echo Cross referencing $$file ; \
	  $(CXREF) -D__CXREF__ -xref -Odoc -Nempire $$file ; \
	done
#
# Create the source files using cxref
#
	@for file in $(CXREF_FILES) ; do \
	   echo Documenting $$file ; \
	   ( cd . ; $(CXREF) -D__CXREF__ -warn-xref -xref -Odoc -Nempire -html $$file ) ; \
	   rm -f $(DOCS) ; \
	done
#
# Create the index using cxref
#
	@echo Indexing
	@( cd . ; $(CXREF) -D__CXREF__ -index-all -Odoc -Nempire -html )
	@rm -f $(DOCS)

# Dependencies for the object files (automagically generated with
# gcc -MM)

act.comm.o: act.comm.c conf.h sysdep.h structs.h utils.h comm.h \
  interpreter.h handler.h db.h
	$(CC) -c $(CFLAGS) act.comm.c
act.immortal.o: act.immortal.c conf.h sysdep.h structs.h utils.h comm.h \
  interpreter.h handler.h db.h skills.h empire.h vnums.h
	$(CC) -c $(CFLAGS) act.immortal.c
act.informative.o: act.informative.c conf.h sysdep.h structs.h utils.h \
  comm.h interpreter.h handler.h db.h utils.h empire.h skills.h
	$(CC) -c $(CFLAGS) act.informative.c
act.item.o: act.item.c conf.h sysdep.h structs.h utils.h comm.h \
  interpreter.h handler.h db.h
	$(CC) -c $(CFLAGS) act.item.c
act.movement.o: act.movement.c conf.h sysdep.h structs.h utils.h comm.h \
  interpreter.h handler.h db.h empire.h skills.h
	$(CC) -c $(CFLAGS) act.movement.c
act.other.o: act.other.c conf.h sysdep.h structs.h utils.h comm.h \
  interpreter.h handler.h db.h empire.h skills.h vnums.h
	$(CC) -c $(CFLAGS) act.other.c
act.social.o: act.social.c conf.h sysdep.h structs.h utils.h comm.h \
  interpreter.h handler.h db.h
	$(CC) -c $(CFLAGS) act.social.c
alias.o: alias.c conf.h sysdep.h structs.h utils.h interpreter.h db.h
	$(CC) -c $(CFLAGS) alias.c
ban.o: ban.c conf.h sysdep.h structs.h utils.h comm.h interpreter.h \
  handler.h db.h
	$(CC) -c $(CFLAGS) ban.c
boards.o: boards.c conf.h sysdep.h structs.h utils.h comm.h db.h boards.h \
  interpreter.h handler.h vnums.h
	$(CC) -c $(CFLAGS) boards.c
building.o: building.c conf.h sysdep.h structs.h utils.h comm.h \
  interpreter.h handler.h db.h empire.h skills.h vnums.h
	$(CC) -c $(CFLAGS) building.c
comm.o: comm.c conf.h sysdep.h structs.h utils.h comm.h interpreter.h \
  handler.h db.h empire.h
	$(CC) -c $(CFLAGS) comm.c
config.o: config.c conf.h sysdep.h structs.h interpreter.h
	$(CC) -c $(CFLAGS) config.c
constants.o: constants.c conf.h sysdep.h structs.h interpreter.h
	$(CC) -c $(CFLAGS) constants.c
db.o: db.c conf.h sysdep.h structs.h utils.h db.h comm.h handler.h mail.h \
  interpreter.h
	$(CC) -c $(CFLAGS) db.c
empire.o: empire.c conf.h sysdep.h structs.h utils.h comm.h handler.h db.h \
  empire.h interpreter.h skills.h vnums.h
	$(CC) -c $(CFLAGS) empire.c
fight.o: fight.c conf.h sysdep.h structs.h utils.h comm.h handler.h \
  interpreter.h db.h skills.h empire.h vnums.h
	$(CC) -c $(CFLAGS) fight.c
handler.o: handler.c conf.h sysdep.h structs.h utils.h comm.h db.h handler.h \
  interpreter.h empire.h
	$(CC) -c $(CFLAGS) handler.c
interpreter.o: interpreter.c conf.h sysdep.h structs.h comm.h \
  interpreter.h db.h utils.h handler.h mail.h
	$(CC) -c $(CFLAGS) interpreter.c
limits.o: limits.c conf.h sysdep.h structs.h utils.h comm.h db.h handler.h \
  skills.h empire.h
	$(CC) -c $(CFLAGS) limits.c
mail.o: mail.c conf.h sysdep.h structs.h utils.h comm.h db.h interpreter.h \
  handler.h mail.h
	$(CC) -c $(CFLAGS) mail.c
mobact.o: mobact.c conf.h sysdep.h structs.h utils.h db.h comm.h \
  interpreter.h handler.h skills.h
	$(CC) -c $(CFLAGS) mobact.c
modify.o: modify.c conf.h sysdep.h structs.h utils.h interpreter.h \
  handler.h db.h comm.h mail.h boards.h
	$(CC) -c $(CFLAGS) modify.c
objsave.o: objsave.c conf.h sysdep.h structs.h comm.h handler.h db.h \
  interpreter.h utils.h
	$(CC) -c $(CFLAGS) objsave.c
olc.o: olc.c conf.h sysdep.h olc.h
	$(CC) -c $(CFLAGS) olc.c
race.o: race.c conf.h sysdep.h structs.h utils.h interpreter.h skills.h \
  handler.h db.h comm.h
	$(CC) -c $(CFLAGS) race.c
random.o: random.c utils.h
	$(CC) -c $(CFLAGS) random.c
skills.o: skills.c conf.h sysdep.h structs.h utils.h comm.h interpreter.h \
  handler.h db.h skills.h vnums.h empire.h
	$(CC) -c $(CFLAGS) skills.c
utils.o: utils.c conf.h sysdep.h structs.h utils.h comm.h handler.h db.h \
  interpreter.h skills.h empire.h vnums.h
	$(CC) -c $(CFLAGS) utils.c
weather.o: weather.c conf.h sysdep.h structs.h utils.h comm.h handler.h \
  interpreter.h db.h
	$(CC) -c $(CFLAGS) weather.c