ldmud-3.2.9/doc/
ldmud-3.2.9/doc/efun/
ldmud-3.2.9/mud/
ldmud-3.2.9/mud/heaven7/
ldmud-3.2.9/mud/heaven7/lib/
ldmud-3.2.9/mud/lp-245/
ldmud-3.2.9/mud/lp-245/banish/
ldmud-3.2.9/mud/lp-245/doc/
ldmud-3.2.9/mud/lp-245/doc/examples/
ldmud-3.2.9/mud/lp-245/doc/sefun/
ldmud-3.2.9/mud/lp-245/log/
ldmud-3.2.9/mud/lp-245/obj/Go/
ldmud-3.2.9/mud/lp-245/players/lars/
ldmud-3.2.9/mud/lp-245/room/death/
ldmud-3.2.9/mud/lp-245/room/maze1/
ldmud-3.2.9/mud/lp-245/room/sub/
ldmud-3.2.9/mud/lp-245/secure/
ldmud-3.2.9/mud/morgengrauen/
ldmud-3.2.9/mud/morgengrauen/lib/
ldmud-3.2.9/mud/sticklib/
ldmud-3.2.9/mud/sticklib/src/
ldmud-3.2.9/mudlib/uni-crasher/
ldmud-3.2.9/pkg/
ldmud-3.2.9/pkg/debugger/
ldmud-3.2.9/pkg/diff/
ldmud-3.2.9/pkg/misc/
ldmud-3.2.9/src/autoconf/
ldmud-3.2.9/src/bugs/
ldmud-3.2.9/src/bugs/MudCompress/
ldmud-3.2.9/src/bugs/b-020916-files/
ldmud-3.2.9/src/bugs/doomdark/
ldmud-3.2.9/src/bugs/ferrycode/ferry/
ldmud-3.2.9/src/bugs/ferrycode/obj/
ldmud-3.2.9/src/bugs/psql/
ldmud-3.2.9/src/done/
ldmud-3.2.9/src/done/order_alist/
ldmud-3.2.9/src/done/order_alist/obj/
ldmud-3.2.9/src/done/order_alist/room/
ldmud-3.2.9/src/gcc/
ldmud-3.2.9/src/gcc/2.7.0/
ldmud-3.2.9/src/gcc/2.7.1/
ldmud-3.2.9/src/hosts/
ldmud-3.2.9/src/hosts/GnuWin32/
ldmud-3.2.9/src/hosts/amiga/NetIncl/
ldmud-3.2.9/src/hosts/amiga/NetIncl/netinet/
ldmud-3.2.9/src/hosts/amiga/NetIncl/sys/
ldmud-3.2.9/src/hosts/i386/
ldmud-3.2.9/src/hosts/msdos/byacc/
ldmud-3.2.9/src/hosts/msdos/doc/
ldmud-3.2.9/src/hosts/os2/
ldmud-3.2.9/src/hosts/win32/
ldmud-3.2.9/src/util/
ldmud-3.2.9/src/util/erq/
ldmud-3.2.9/src/util/indent/hosts/next/
ldmud-3.2.9/src/util/xerq/
ldmud-3.2.9/src/util/xerq/lpc/
ldmud-3.2.9/src/util/xerq/lpc/www/
#-------------------------------------------------------
# LDMud - Makefile for BeOS
#-------------------------------------------------------
#
# Usage: make [CPU=ppc|x86] [O=<opt-spec>]
#             [W=few|norm|all]
#             [S=yes|no]
#             [D=<flags>]
#             [<target>]
#
# The variable CPU determines the platform for which
# the program is compiled. If left unspecified, the
# executing platform is targeted. The created objects
# and binaries are located in subdirectories name
# 'obj.<CPU>'.
#
# The variable O determines the optimization, the value
# <opt-spec> is passed directly to the compiler. If the
# variable is not specified, '1' is used as opt-spec.
#
# The variable W determines the amount of warning.
# 'few' (the default) limits the warnings to those the
# yet unmodified source can pass. 'norm' are full warnings,
# except for those parts surrounded by pragmas. 'all' warnings
# are full warnings.
#
# If S is given and set to 'yes', the compiler runs in strict
# ansi mode, which also turns off inlines.
#
# If D is given, the <flags> are passed to the compiler on the
# commandline.
#
# <target> is one of the following targets:
#
#  ldmud:      create executable for the selected platform
#  all:        create executables for all platforms
#  clean:      delete all object files of the selected platform
#                and all unmodified source files.
#  cleanall:   delete all object files and all unmodified
#                source files.
#  clobber:    delete the object/binary subdirectory
#                for the selected platform
#  clobberall: delete all object/binary subdirectories.
#  depend:     update the dependency information in this file
#  dependall:  update the dependency in all known Makefiles.
#
# If no <target> is given, 'ldmud' is assumed.
#--------------------------------------------------------

#--------------------------------------------------------
# Application Specific Information
#--------------------------------------------------------

# The name of the application.
    IMG_NAME = ldmud

# General mud directory, by default containing all other directories.
    prefix= /boot/home/mud

# The directory the mudlib usually is in.
    MUDLIB = ${prefix}/lib

# The directory where the executables are installed. The default
# erq path starts there.
    BINDIR = ${prefix}/bin

# The directory containing all executables which can be executed
# by the erq. Only safe programs belong here!
    ERQDIR = ${prefix}/erq

# Debugging options:
#   Debugging options should be set in config.h to guarantee a clean
#   recompile.
    DEBUG =

# Typical profiling, warning and optimizing options.
#   -p -DMARK: together they enable the profiling of VM instructions.
#   Additional profiling can be activated in config.h .
    PROFIL =
    WARN =
ifndef O
    OPTIMIZE = -O1
else
    OPTIMIZE = -O${O}
endif

# The yacc used and the typically generated parser files
    YACC = hosts/be/beyacc
    YACCTAB = y.tab.

# The C source files.
    SRCS = access_check.c actions.c array.c backend.c call_out.c closure.c \
           comm.c dumpstat.c ed.c efuns.c gcollect.c hash.c heartbeat.c \
           interpret.c lex.c main.c mapping.c mempools.c object.c \
           otable.c parser.c parse.c parse_old.c pkg-mysql.c port.c \
           ptrtable.c random.c md5.c \
           regexp.c rxcache.c simulate.c simul_efun.c stdstrings.c \
           stralloc.c strfuns.c sprintf.c swap.c wiz_list.c xalloc.c

# Generated source files (overlaps with of SRCS) which need to be
# present for mkdepend to work.
    GENSRCS = make_func.c stdstrings.c lang.c instrs.h

# Macros for MkDepend:
    SKELETON = $(SRCS) make_func_main.c
    EXCEPT = -x efun_defs.c
    SELECT = -S instrs.h -S stdstrings.h -S make_func.c -S lang.c -S lang.h -S efun_defs.c

# Initialize the CFLAGS with the values above
    CFLAGS += $(OPTIMIZE) $(DEBUG) $(WARN) $(PROFIL)
    CFLAGS += -DMUD_LIB='"$(MUDLIB)"' -DBINDIR='"$(BINDIR)"'
    CFLAGS += -DERQ_DIR='"$(ERQDIR)"'

# Add additional flags if given

ifdef D
    CFLAGS += ${D}
endif

#--------------------------------------------------------
# Application Independent Information
#--------------------------------------------------------

# determine the CPU if not specified on the command line
# set MACHINE to the host machine
# set NATIVE to the host cpu
# set CROSS to the non-host cpu
    MACHINE =$(shell uname -m)
ifndef CPU
ifeq ($(MACHINE), BePC)
    CPU = x86
else
    CPU = ppc
endif
endif
ifeq ($(MACHINE), BePC)
    NATIVE = x86
    CROSS = ppc
else
    NATIVE = ppc
    CROSS = x86
endif

# set the object directory
    OBJ	    := obj.$(CPU)
    OBJ_NATIVE := obj.$(NATIVE)
    OBJ_CROSS := obj.$(CROSS)

# specify where to create the application binary
    TARGET :=$(OBJ)/$(IMG_NAME)

# The resource file, with and without path
    RSRC      = $(IMG_NAME).rsrc
    RSRC_FULL = hosts/be/$(RSRC)

# The targets 'BEOS:TYPE' resource - empty as default for native compiles
    MIMS      =

# Tools
    MIMESET = mimeset
    MWBRES  = mwbres
    XRES    = xres

# platform specific settings
ifeq ($(CPU), x86)
ifeq ($(NATIVE), x86)
    CC = gcc
    LD = gcc
else
    CC = /boot/develop/tools/gnupro/bin/i586-beos-gcc
    LD = /boot/develop/tools/gnupro/bin/i586-beos-gcc
    MIMS = -a MIMS:2:BEOS:TYPE -s 'application/x-vnd.Be-elfexecutable'
endif

    CFLAGS += -g -Wall -Wshadow -Wno-parentheses -Winline

ifeq ($(S), yes)
    CFLAGS += -ansi -DNO_INLINES
    # *sigh* -pedantic chokes on Be's include files
endif

    LDFLAGS += -Xlinker -soname=_APP_
endif

ifeq ($(CPU), ppc)
ifeq ($(NATIVE), ppc)
    CC = mwcc$(CPU)
    LD = mwld$(CPU)
else
    CC = /boot/develop_ppc/bin/mwccppc
    LD = /boot/develop_ppc/bin/mwldppc

    LDFLAGS += /boot/develop_ppc/lib/ppc/start_dyn.o \
               /boot/develop_ppc/lib/ppc/glue-noinit.a \
               /boot/develop_ppc/lib/ppc/init_term_dyn.o \
               -L/boot/develop_ppc/lib/ppc \
               -lroot -lnet

    MIMS = -a MIMS:2:BEOS:TYPE -s 'application/x-be-executable'
endif

    # generate mapfiles for metrowerks.
    MAP_FILE	:= $(TARGET).xMAP
    SYMBOL_FILE	:= $(TARGET).xSYM

    CFLAGS += -g -r

ifndef W
    CFLAGS += -w8
else
ifeq ($(W), few)
    CFLAGS += -w8
else
ifeq ($(W), all)
    CFLAGS += -DWARN_ALL -w9 -w=notinlined
else
    CFLAGS += -w9 -w=nonotinlined
endif
endif
endif

ifeq ($(S), yes)
    CFLAGS += -ansi strict -DNO_INLINES
endif

    LDFLAGS += -sym full -map $(MAP_FILE) -export pragma \
               -init _init_routine_ -term _term_routine_ 

endif


# pseudo-function for converting a list of source files in SRCS variable
# to a corresponding list of object files in $(OBJ)/xxx.o
# The "function" strips off the src file suffix (.ccp or .c or whatever)
# and then strips of the directory name, leaving just the root file name.
# It then appends the .o suffix and prepends the $(OBJ)/ path
define SRCS_LIST_TO_OBJS
	$(addprefix $(OBJ)/, $(addsuffix .o, $(foreach file, $(SRCS), $(basename $(notdir $(file))))))
endef

# specify the list of objects
    OBJS := $(SRCS_LIST_TO_OBJS)

#-------------------------------------------------------
# Targets and their rules
#-------------------------------------------------------

# define the actual work to be done	
default: $(TARGET)
$(IMG_NAME): $(TARGET)

all: $(TARGET)
	@make CPU=$(CROSS) $(IMG_NAME)

$(TARGET): $(OBJ) depend $(OBJS) $(RSRC_FULL)
	$(LD) -o $@ $(OBJS) $(LDFLAGS)
	$(XRES) -o $@ $(MIMS) $(RSRC_FULL)
	$(MIMESET) -f $@
	hosts/be/set-version $@
ifneq ($(CPU), $(NATIVE))
	[ -f $(OBJ_NATIVE)/$(IMG_NAME) ] && copyattr -n 'BEOS:M:STD_ICON' $(OBJ_NATIVE)/$(IMG_NAME) $@
	[ -f $(OBJ_NATIVE)/$(IMG_NAME) ] && copyattr -n 'BEOS:L:STD_ICON' $(OBJ_NATIVE)/$(IMG_NAME) $@
endif

clean :: FORCE
	-rm -f $(YACCTAB)h $(YACCTAB)c make_func.c $(OBJ)/make_func
	-rm -f *~ efun_defs.c instrs.h lang.y lang.h lang.c y.output tags TAGS
	-rm -f stdstrings.c stdstrings.h
	-rm -f hosts/*~ hosts/*/*~ bugs/*~ done/*~ $(OBJ)/*.o
	-rm -f wk/*~ settings/*~

cleanall :: clean
	-rm -f $(OBJ_CROSS)/*.o

clobber :: clean FORCE
	-rm -rf $(OBJ) config.cache config.status config.log

clobberall :: clobber cleanall
	-rm -rf $(OBJ_CROSS)

depend: $(SRCS) $(GENSRCS) $(OBJ)
	@$(SHELL) -ec "if type mkdepend > /dev/null 2>&1; then \
          echo Updating dependencies.; \
          mkdepend $(SKELETON) -I. $(EXCEPT) -m -p .c:$$\(OBJ\)/%n.o -fMakefile; \
          mkdepend $(SKELETON) -I. $(EXCEPT) $(SELECT) -m -p .c:$$\(OBJ\)/%n.o -fMakefile; \
          mkdepend $(SKELETON) -I. $(EXCEPT) -m -p .c:$$\(OBJ\)/%n.o -fhosts/be/Makefile; \
          mkdepend $(SKELETON) -I. $(EXCEPT) $(SELECT) -m -p .c:$$\(OBJ\)/%n.o -fhosts/be/Makefile; \
        else\
          echo mkdepend utility not available.; \
        fi"

.PHONY dependall: depend depend-generic depend-amiga

depend-generic: $(SRCS) $(GENSRCS) $(OBJ)
	@$(SHELL) -ec "if type mkdepend > /dev/null 2>&1; then \
          echo Updating dependencies in Makefile.in.; \
          mkdepend $(SKELETON) -I. $(EXCEPT) -m -p .c:%n.o -fMakefile.in; \
          mkdepend $(SKELETON) $(SELECT) -I. $(EXCEPT) -m -p .c:%n.o -fMakefile.in; \
          echo Updating dependencies in hosts/os2/Makefile.; \
          mkdepend $(SKELETON) -I. $(EXCEPT) -m -p .c:%n.o -fhosts/os2/Makefile; \
          mkdepend $(SKELETON) $(SELECT) -I. $(EXCEPT) -m -p .c:%n.o -fhosts/os2/Makefile; \
        else\
          echo mkdepend utility not available.; \
        fi"

AMIGASRCS:= $(addprefix hosts/amiga/, amiga.c signal.c signal_rr.c socket.c ixfile.c)

depend-amiga: $(SRCS) $(GENSRCS) $(AMIGASRCS)  $(OBJ)
	@$(SHELL) -ec "if type mkdepend > /dev/null 2>&1; then \
          echo Updating dependencies in hosts/amiga/DMakefile.; \
          mkdepend $(SKELETON) $(AMIGASRCS) -I. $(EXCEPT) -m -p .c+:%n.o -Ihosts/amiga -fhosts/amiga/DMakefile; \
          mkdepend $(SKELETON) $(AMIGASRCS) $(SELECT) -m -I. $(EXCEPT) -p .c+:%n.o -Ihosts/amiga -fhosts/amiga/DMakefile; \
          echo Updating dependencies in hosts/amiga/Makefile.; \
          mkdepend $(SKELETON) $(AMIGASRCS) -I. $(EXCEPT) -m -p .c+:%n.o -Ihosts/amiga -fhosts/amiga/Makefile; \
          mkdepend $(SKELETON) $(AMIGASRCS) $(SELECT) -I. $(EXCEPT) -m -p .c+:%n.o -Ihosts/amiga -fhosts/amiga/Makefile; \
        else\
          echo mkdepend utility not available.; \
        fi"

# Special rules for making make_func, depending on whether we're
# crosscompiling or not.

make_func.c : make_func.y
	$(YACC) make_func.y
	mv $(YACCTAB)c make_func.c

$(OBJ)/make_func.o : make_func_main.c make_func.c driver.h config.h machine.h port.h
	$(CC) $(INCLUDES) $(CFLAGS) -DYACC='"$(YACC)"' -c make_func_main.c -o $@

$(OBJ)/make_func : $(OBJ)/make_func.o $(OBJ)/hash.o
	$(LD) -o $@ $^ $(LDFLAGS)
	$(MIMESET) -f $@

ifneq ($(CPU), $(NATIVE))
$(OBJ_NATIVE)/make_func :
	@[ -d $(OBJ_NATIVE) ] || mkdir $(OBJ_NATIVE) > /dev/null 2>&1
	make CPU=$(NATIVE) $@
endif

# The making of the compiler and associated files.

efun_defs.c instrs.h : func_spec config.h $(OBJ_NATIVE)/make_func
	-rm -f efun_defs.c instrs.h
	$(OBJ_NATIVE)/make_func instrs

stdstrings.c stdstrings.h: string_spec $(OBJ_NATIVE)/make_func config.h
	rm -f stdstrings.c stdstrings.h
	$(OBJ_NATIVE)/make_func strings

lang.y : prolang.y config.h $(OBJ_NATIVE)/make_func
	-rm -f lang.y
	$(OBJ_NATIVE)/make_func lang

lang.c lang.h : lang.y
	$(YACC) -d -v lang.y
	mv $(YACCTAB)c lang.c
	mv $(YACCTAB)h lang.h

# Be Resource Mangling

$(RSRC_FULL) : hosts/be/driver.r hosts/be/icon-32x32.raw hosts/be/icon-16x16.raw
	cd hosts/be; $(MWBRES) -o $(RSRC) driver.r

#--------------------------------------------------------
#	Rules for the whole system
#--------------------------------------------------------

# rule to create the object file directory if needed
$(OBJ)::
	@[ -d $(OBJ) ] || mkdir $(OBJ) > /dev/null 2>&1

# Don't stumble over non-existing include files.
%.h :
	@echo "Warning: Can't find $@."

# default rule for xxx.c files to compile into $(OBJ)/xxx.o
$(OBJ)/%.o : %.c
	$(CC) $(INCLUDES) $(CFLAGS) -c $< -o $@

# empty rule. Things that depend on this rule will always get triggered
FORCE:

# remove just the application from the object folder
rmapp ::
	-rm -f $(TARGET)

#--------------------------------------------------------
# Dependencies, manual and automatic.

# --- DO NOT MODIFY THIS LINE -- AUTO-DEPENDS FOLLOW ---
$(OBJ)/access_check.o : xalloc.h filestat.h comm.h access_check.h driver.h \
    svalue.h simulate.h typedefs.h config.h port.h strfuns.h sent.h \
    instrs.h hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h \
    hosts/amiga/patchfloat.h machine.h exec.h ./hosts/amiga/ixfile.h

$(OBJ)/actions.o : ../mudlib/sys/driver_hook.h ../mudlib/sys/commands.h \
    xalloc.h wiz_list.h stralloc.h smalloc.h simulate.h sent.h object.h \
    mapping.h interpret.h exec.h efuns.h dumpstat.h comm.h closure.h \
    backend.h array.h actions.h typedefs.h driver.h svalue.h main.h \
    strfuns.h instrs.h port.h config.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/array.o : ../mudlib/sys/inherit_list.h ../mudlib/sys/include_list.h \
    ../mudlib/sys/functionlist.h smalloc.h xalloc.h wiz_list.h swap.h \
    stralloc.h svalue.h simulate.h rxcache.h regexp.h object.h mempools.h \
    mapping.h main.h interpret.h instrs.h closure.h backend.h array.h \
    my-alloca.h typedefs.h driver.h ../mudlib/sys/lpctypes.h strfuns.h \
    sent.h exec.h port.h config.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/backend.o : ../mudlib/sys/debug_message.h \
    ../mudlib/sys/driver_hook.h xalloc.h wiz_list.h swap.h stralloc.h \
    stdstrings.h smalloc.h simulate.h rxcache.h regexp.h random.h otable.h \
    object.h my-alloca.h mapping.h main.h lex.h interpret.h heartbeat.h \
    gcollect.h filestat.h exec.h ed.h comm.h closure.h call_out.h array.h \
    actions.h backend.h hosts/amiga/nsignal.h typedefs.h driver.h svalue.h \
    strfuns.h sent.h instrs.h port.h config.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/call_out.o : ../mudlib/sys/debug_info.h xalloc.h wiz_list.h swap.h \
    svalue.h strfuns.h stralloc.h simulate.h object.h main.h interpret.h \
    gcollect.h exec.h comm.h closure.h backend.h array.h actions.h \
    call_out.h typedefs.h driver.h smalloc.h sent.h instrs.h port.h \
    config.h hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h \
    hosts/amiga/patchfloat.h machine.h ./hosts/amiga/ixfile.h

$(OBJ)/closure.o : xalloc.h switch.h svalue.h stralloc.h stdstrings.h \
    simul_efun.h simulate.h prolang.h object.h main.h lex.h lang.h \
    interpret.h instrs.h exec.h backend.h array.h closure.h my-alloca.h \
    typedefs.h driver.h smalloc.h strfuns.h ptrtable.h sent.h port.h \
    config.h hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h \
    hosts/amiga/patchfloat.h machine.h ./hosts/amiga/ixfile.h

$(OBJ)/comm.o : util/erq/erq.h ../mudlib/sys/driver_hook.h \
    ../mudlib/sys/input_to.h xalloc.h wiz_list.h swap.h stralloc.h \
    stdstrings.h smalloc.h simulate.h sent.h object.h main.h interpret.h \
    gcollect.h filestat.h exec.h ed.h closure.h backend.h array.h actions.h \
    access_check.h comm.h hosts/amiga/nsignal.h telnet.h my-alloca.h \
    typedefs.h driver.h svalue.h strfuns.h instrs.h config.h port.h \
    hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h \
    machine.h ./hosts/amiga/ixfile.h

$(OBJ)/dumpstat.o : svalue.h xalloc.h smalloc.h simulate.h ptrtable.h \
    object.h mapping.h instrs.h filestat.h exec.h closure.h array.h \
    dumpstat.h typedefs.h driver.h strfuns.h sent.h port.h config.h \
    hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h \
    machine.h ./hosts/amiga/ixfile.h

$(OBJ)/ed.o : xalloc.h svalue.h stralloc.h stdstrings.h simulate.h \
    rxcache.h regexp.h object.h main.h interpret.h gcollect.h filestat.h \
    comm.h closure.h actions.h ed.h typedefs.h driver.h smalloc.h strfuns.h \
    sent.h instrs.h exec.h port.h config.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/efuns.o : ../mudlib/sys/time.h ../mudlib/sys/strings.h \
    ../mudlib/sys/objectinfo.h ../mudlib/sys/debug_info.h xalloc.h \
    wiz_list.h svalue.h swap.h strfuns.h stralloc.h stdstrings.h smalloc.h \
    simulate.h rxcache.h ptrtable.h otable.h object.h md5.h mapping.h \
    main.h interpret.h instrs.h heartbeat.h dumpstat.h comm.h closure.h \
    call_out.h backend.h array.h actions.h efuns.h my-alloca.h typedefs.h \
    driver.h sent.h regexp.h exec.h port.h config.h hosts/unix.h \
    hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/gcollect.o : ../mudlib/sys/driver_hook.h xalloc.h wiz_list.h swap.h \
    stralloc.h stdstrings.h smalloc.h simul_efun.h simulate.h sent.h \
    rxcache.h prolang.h parse.h otable.h object.h mapping.h main.h lex.h \
    interpret.h instrs.h heartbeat.h filestat.h exec.h ed.h comm.h \
    closure.h call_out.h backend.h array.h actions.h gcollect.h typedefs.h \
    driver.h svalue.h strfuns.h ptrtable.h regexp.h port.h config.h \
    hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h \
    machine.h ./hosts/amiga/ixfile.h

$(OBJ)/hash.o : hash.h

$(OBJ)/heartbeat.o : ../mudlib/sys/debug_info.h xalloc.h wiz_list.h \
    svalue.h strfuns.h simulate.h sent.h object.h interpret.h gcollect.h \
    comm.h backend.h array.h actions.h heartbeat.h typedefs.h driver.h \
    instrs.h main.h port.h config.h exec.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/interpret.o : ../mudlib/sys/trace.h ../mudlib/sys/debug_info.h \
    ../mudlib/sys/driver_hook.h xalloc.h wiz_list.h switch.h swap.h \
    svalue.h sprintf.h smalloc.h stralloc.h stdstrings.h simul_efun.h \
    simulate.h sent.h random.h ptrtable.h prolang.h parse.h otable.h \
    object.h mapping.h main.h lex.h instrs.h heartbeat.h gcollect.h \
    filestat.h exec.h efuns.h ed.h comm.h closure.h call_out.h backend.h \
    array.h actions.h interpret.h my-rusage.h my-alloca.h typedefs.h \
    driver.h strfuns.h port.h config.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/lex.o : efun_defs.c hosts/amiga/socket.h ../mudlib/sys/driver_hook.h \
    xalloc.h wiz_list.h strfuns.h stralloc.h stdstrings.h simul_efun.h \
    simulate.h prolang.h patchlevel.h object.h mempools.h main.h lang.h \
    interpret.h instrs.h hash.h gcollect.h filestat.h exec.h comm.h \
    closure.h backend.h array.h lex.h my-alloca.h typedefs.h driver.h \
    ./hosts/amiga/socket_sim.h ./hosts/amiga/socket_tcp.h svalue.h \
    smalloc.h ptrtable.h sent.h port.h config.h \
    ./hosts/amiga/socket_sim_protos.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/main.o : xalloc.h wiz_list.h swap.h svalue.h stralloc.h stdstrings.h \
    simul_efun.h simulate.h rxcache.h random.h patchlevel.h otable.h \
    object.h mapping.h lex.h interpret.h gcollect.h filestat.h comm.h \
    array.h backend.h main.h hosts/amiga/socket.h my-alloca.h typedefs.h \
    driver.h smalloc.h strfuns.h ptrtable.h exec.h sent.h instrs.h regexp.h \
    ./hosts/amiga/socket_sim.h ./hosts/amiga/socket_tcp.h port.h config.h \
    ./hosts/amiga/socket_sim_protos.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/make_func_main.o : make_func.c ../mudlib/sys/driver_hook.h hash.h \
    exec.h my-alloca.h driver.h typedefs.h port.h config.h hosts/unix.h \
    hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/mapping.o : xalloc.h wiz_list.h svalue.h stralloc.h smalloc.h \
    simulate.h regexp.h object.h main.h interpret.h gcollect.h closure.h \
    backend.h array.h mapping.h my-alloca.h typedefs.h driver.h strfuns.h \
    sent.h instrs.h exec.h port.h config.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/md5.o : md5.h machine.h

$(OBJ)/mempools.o : xalloc.h gcollect.h mempools.h driver.h typedefs.h \
    port.h config.h hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h \
    hosts/amiga/patchfloat.h machine.h ./hosts/amiga/ixfile.h

$(OBJ)/object.o : ../mudlib/sys/driver_hook.h xalloc.h wiz_list.h svalue.h \
    swap.h strfuns.h stralloc.h stdstrings.h simul_efun.h simulate.h \
    smalloc.h sent.h random.h ptrtable.h prolang.h otable.h mapping.h \
    main.h lex.h lang.h interpret.h filestat.h exec.h comm.h closure.h \
    backend.h array.h actions.h object.h my-alloca.h typedefs.h driver.h \
    instrs.h port.h config.h hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h \
    hosts/amiga/patchfloat.h machine.h ./hosts/amiga/ixfile.h

$(OBJ)/otable.o : ../mudlib/sys/debug_info.h xalloc.h svalue.h simulate.h \
    strfuns.h object.h hash.h gcollect.h backend.h otable.h typedefs.h \
    driver.h sent.h instrs.h main.h port.h config.h exec.h hosts/unix.h \
    hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/parse.o : xalloc.h wiz_list.h svalue.h stralloc.h stdstrings.h \
    simulate.h object.h main.h interpret.h instrs.h gcollect.h closure.h \
    array.h actions.h parse.h typedefs.h driver.h smalloc.h strfuns.h \
    sent.h exec.h port.h config.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/parse_old.o : xalloc.h wiz_list.h svalue.h stralloc.h stdstrings.h \
    simulate.h random.h object.h main.h gcollect.h interpret.h closure.h \
    array.h actions.h parse.h typedefs.h driver.h smalloc.h strfuns.h \
    sent.h instrs.h exec.h port.h config.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/parser.o : lang.c ../mudlib/sys/driver_hook.h xalloc.h wiz_list.h \
    switch.h swap.h svalue.h stralloc.h stdstrings.h simul_efun.h \
    simulate.h object.h mapping.h main.h lex.h instrs.h interpret.h \
    gcollect.h exec.h closure.h backend.h array.h prolang.h my-alloca.h \
    typedefs.h driver.h smalloc.h strfuns.h ptrtable.h sent.h port.h \
    config.h hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h \
    hosts/amiga/patchfloat.h machine.h ./hosts/amiga/ixfile.h

$(OBJ)/pkg-mysql.o : xalloc.h svalue.h simulate.h interpret.h array.h \
    pkg-mysql.h my-alloca.h typedefs.h driver.h strfuns.h sent.h instrs.h \
    port.h config.h exec.h hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h \
    hosts/amiga/patchfloat.h machine.h ./hosts/amiga/ixfile.h

$(OBJ)/port.o : hosts/crypt.c main.h backend.h my-rusage.h driver.h \
    typedefs.h port.h config.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/ptrtable.o : simulate.h mempools.h ptrtable.h driver.h svalue.h \
    strfuns.h sent.h instrs.h typedefs.h port.h config.h exec.h \
    hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h \
    machine.h ./hosts/amiga/ixfile.h

$(OBJ)/random.o : random.h driver.h port.h config.h hosts/unix.h \
    hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/regexp.o : main.h xalloc.h simulate.h comm.h regexp.h driver.h \
    typedefs.h svalue.h strfuns.h sent.h instrs.h port.h config.h exec.h \
    hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h \
    machine.h ./hosts/amiga/ixfile.h

$(OBJ)/rxcache.o : ../mudlib/sys/debug_info.h xalloc.h svalue.h strfuns.h \
    stralloc.h smalloc.h regexp.h hash.h gcollect.h rxcache.h driver.h \
    typedefs.h main.h port.h config.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/simul_efun.o : xalloc.h swap.h svalue.h stralloc.h stdstrings.h \
    simulate.h ptrtable.h object.h lex.h interpret.h instrs.h gcollect.h \
    exec.h array.h simul_efun.h my-alloca.h typedefs.h driver.h main.h \
    smalloc.h strfuns.h sent.h port.h config.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/simulate.o : ../mudlib/sys/rtlimits.h ../mudlib/sys/files.h \
    ../mudlib/sys/driver_hook.h ../mudlib/sys/debug_info.h xalloc.h \
    wiz_list.h svalue.h swap.h strfuns.h stralloc.h stdstrings.h \
    simul_efun.h sent.h rxcache.h prolang.h otable.h object.h mapping.h \
    main.h lex.h instrs.h interpret.h heartbeat.h gcollect.h filestat.h \
    exec.h ed.h dumpstat.h comm.h closure.h call_out.h backend.h array.h \
    actions.h simulate.h hosts/amiga/nsignal.h my-alloca.h typedefs.h \
    driver.h smalloc.h ptrtable.h regexp.h port.h config.h hosts/unix.h \
    hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/sprintf.o : xalloc.h swap.h stralloc.h stdstrings.h simul_efun.h \
    simulate.h sent.h random.h ptrtable.h object.h mapping.h main.h \
    instrs.h interpret.h exec.h closure.h array.h sprintf.h my-alloca.h \
    typedefs.h driver.h smalloc.h strfuns.h svalue.h port.h config.h \
    hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h \
    machine.h ./hosts/amiga/ixfile.h

$(OBJ)/stdstrings.o : stralloc.h stdstrings.h driver.h main.h smalloc.h \
    strfuns.h port.h config.h typedefs.h svalue.h hosts/unix.h \
    hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/stralloc.o : ../mudlib/sys/debug_info.h xalloc.h svalue.h strfuns.h \
    stdstrings.h smalloc.h simulate.h main.h hash.h gcollect.h stralloc.h \
    driver.h typedefs.h sent.h instrs.h port.h config.h exec.h hosts/unix.h \
    hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/strfuns.o : xalloc.h smalloc.h svalue.h simulate.h comm.h strfuns.h \
    typedefs.h driver.h sent.h instrs.h port.h config.h exec.h hosts/unix.h \
    hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/swap.o : hosts/amiga/socket.h ../mudlib/sys/debug_info.h xalloc.h \
    wiz_list.h svalue.h strfuns.h stralloc.h simul_efun.h simulate.h \
    random.h prolang.h otable.h object.h mapping.h main.h interpret.h \
    gcollect.h exec.h comm.h backend.h array.h swap.h typedefs.h driver.h \
    ./hosts/amiga/socket_sim.h ./hosts/amiga/socket_tcp.h smalloc.h \
    ptrtable.h sent.h instrs.h port.h config.h \
    ./hosts/amiga/socket_sim_protos.h hosts/unix.h hosts/be/be.h \
    hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/wiz_list.o : xalloc.h svalue.h stralloc.h stdstrings.h simulate.h \
    object.h mapping.h main.h interpret.h gcollect.h backend.h array.h \
    ../mudlib/sys/wizlist.h wiz_list.h typedefs.h driver.h smalloc.h \
    strfuns.h sent.h instrs.h port.h config.h exec.h hosts/unix.h \
    hosts/be/be.h hosts/amiga/amiga.h hosts/amiga/patchfloat.h machine.h \
    ./hosts/amiga/ixfile.h

$(OBJ)/xalloc.o : smalloc.c simulate.h main.h interpret.h xalloc.h driver.h \
    ../mudlib/sys/debug_info.h object.h exec.h svalue.h gcollect.h \
    backend.h smalloc.h typedefs.h strfuns.h sent.h instrs.h port.h \
    config.h hosts/unix.h hosts/be/be.h hosts/amiga/amiga.h \
    hosts/amiga/patchfloat.h machine.h ./hosts/amiga/ixfile.h

# --- DO NOT MODIFY THIS LINE -- AUTO-DEPENDS PRECEDE ---

# --- DO NOT MODIFY THIS LINE -- SELECTED AUTO-DEPENDS FOLLOW ---
$(OBJ)/access_check.o : instrs.h

$(OBJ)/actions.o : instrs.h

$(OBJ)/array.o : instrs.h

$(OBJ)/backend.o : stdstrings.h instrs.h

$(OBJ)/call_out.o : instrs.h

$(OBJ)/closure.o : stdstrings.h lang.h instrs.h

$(OBJ)/comm.o : stdstrings.h instrs.h

$(OBJ)/dumpstat.o : instrs.h

$(OBJ)/ed.o : stdstrings.h instrs.h

$(OBJ)/efuns.o : stdstrings.h instrs.h

$(OBJ)/gcollect.o : stdstrings.h instrs.h

$(OBJ)/heartbeat.o : instrs.h

$(OBJ)/interpret.o : stdstrings.h instrs.h

$(OBJ)/lex.o : efun_defs.c stdstrings.h lang.h instrs.h

$(OBJ)/main.o : stdstrings.h instrs.h

$(OBJ)/make_func_main.o : make_func.c

$(OBJ)/mapping.o : instrs.h

$(OBJ)/object.o : stdstrings.h lang.h instrs.h

$(OBJ)/otable.o : instrs.h

$(OBJ)/parse.o : stdstrings.h instrs.h

$(OBJ)/parse_old.o : stdstrings.h instrs.h

$(OBJ)/parser.o : lang.c stdstrings.h instrs.h

$(OBJ)/pkg-mysql.o : instrs.h

$(OBJ)/ptrtable.o : instrs.h

$(OBJ)/regexp.o : instrs.h

$(OBJ)/simul_efun.o : stdstrings.h instrs.h

$(OBJ)/simulate.o : stdstrings.h instrs.h

$(OBJ)/sprintf.o : stdstrings.h instrs.h

$(OBJ)/stdstrings.o : stdstrings.h

$(OBJ)/stralloc.o : stdstrings.h instrs.h

$(OBJ)/strfuns.o : instrs.h

$(OBJ)/swap.o : instrs.h

$(OBJ)/wiz_list.o : stdstrings.h instrs.h

$(OBJ)/xalloc.o : instrs.h

# --- DO NOT MODIFY THIS LINE -- SELECTED AUTO-DEPENDS PRECEDE ---