]> granicus.if.org Git - nethack/commitdiff
mextra follow up bit 3
authornethack.allison <nethack.allison>
Sat, 7 Jan 2006 13:38:29 +0000 (13:38 +0000)
committernethack.allison <nethack.allison>
Sat, 7 Jan 2006 13:38:29 +0000 (13:38 +0000)
More Makefile tweaks

12 files changed:
src/mkobj.c
src/monst.c
sys/amiga/Makefile.agc
sys/amiga/Makefile.ami
sys/msdos/Makefile.BC
sys/msdos/Makefile.GCC
sys/os2/Makefile.os2
sys/unix/Makefile.src
sys/vms/Makefile.src
sys/winnt/Makefile.bcc
sys/winnt/Makefile.gcc
sys/winnt/Makefile.msc

index a7abd3fedccdc8198a28037aa0f036fdded33799..62c51cc808118fc3588be64a445b3a79d89df5ec 100644 (file)
@@ -1,4 +1,4 @@
-/*     SCCS Id: @(#)mkobj.c    3.5     2005/11/16      */
+/*     SCCS Id: @(#)mkobj.c    3.5     2006/01/07      */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /* NetHack may be freely redistributed.  See license for details. */
 
@@ -1086,7 +1086,7 @@ struct monst *mtmp;
                mtmp2->nmon     = (struct monst *)0;
                mtmp2->data     = (struct permonst *)0;
                mtmp2->minvent  = (struct obj *)0;
-               /* mon_to_buffer() took care of x and mname */
+               /* mon_to_buffer() took care of mextra */
 #ifndef GOLDOBJ
                /* not a pointer but is discarded along with minvent */
                mtmp2->mgold    = 0L;
index 6ee3f065c10a3c69bc782f2bcf548d0129ac0393..2dea391e6aae25e8271b0ff200de2f1aaad22479 100644 (file)
@@ -5,8 +5,6 @@
 #include "config.h"
 #include "permonst.h"
 #include "monsym.h"
-#include "dungeon.h"   /* prerequisite for eshk,vault,epri */
-#include "mextra.h"
 
 #define NO_ATTK {0,0,0,0}
 
index dc234e4064727e2b2427b612c6c3c3576b9cd3ff..6e0c581ed0859253ea91d67b016ab6a5043356a3 100644 (file)
@@ -1,5 +1,5 @@
 #      NetHack Makefile.
-#      SCCS Id: @(#)Makefile.agc       3.5     2000/01/12
+#      SCCS Id: @(#)Makefile.agc       3.5     2006/01/07
 # Copyright (c) Kenneth Lorber, Bethesda, Maryland, 1991,1992,1993,1996.
 # NetHack may be freely redistributed.  See license for details.
 
@@ -1277,7 +1277,7 @@ $(I)permonst.h:  $(I)monattk.h $(I)monflag.h $(I)align.h
        -setdate $(I)permonst.h
        -c:wait 2
 
-$(I)you.h:  $(I)align.h $(I)attrib.h $(I)monst.h $(I)youprop.h $(I)skills.h
+$(I)you.h:  $(I)align.h $(I)attrib.h $(I)monst.h $(I)mextra.h $(I)youprop.h $(I)skills.h
        -setdate $(I)you.h
        -c:wait 2
 
index a583c8a5ed98b25ccd3259594ae8bcd991c2c137..df8f169a872000185ea334af0b1c0fc99fa6e5dd 100644 (file)
@@ -1,5 +1,5 @@
 #      NetHack Makefile.
-#      SCCS Id: @(#)Makefile.ami       3.5     2002/21/02
+#      SCCS Id: @(#)Makefile.ami       3.5     2006/01/07
 # Copyright (c) Kenneth Lorber, Bethesda, Maryland, 1991,1992,1993,1996.
 # NetHack may be freely redistributed.  See license for details.
 
@@ -1616,7 +1616,7 @@ $(I)permonst.h:  $(I)monattk.h $(I)monflag.h $(I)align.h
        -setdate $(I)permonst.h
        -wait 2
 
-$(I)you.h:  $(I)align.h $(I)attrib.h $(I)mextra.h $(I)monst.h $(I)youprop.h $(I)skills.h
+$(I)you.h:  $(I)align.h $(I)attrib.h $(I)monst.h $(I)mextra.h $(I)youprop.h $(I)skills.h
        -setdate $(I)you.h
        -wait 2
 
index cc0f6cde2bc17035a0aa792c158b74d771e38d75..b95d014dda1399ce02ddbfb91aabcea2fc6cacf7 100644 (file)
@@ -1,4 +1,4 @@
-#      SCCS Id: @(#)Makefile.BC        3.5     2006/01/05
+#      SCCS Id: @(#)Makefile.BC        3.5     2006/01/07
 # Copyright (c) Yitzhak Sapir, 1999-2006.
 # NetHack may be freely distributed.  See license for details.
 #
@@ -16,6 +16,8 @@
 # This Makefile is specific to Borland's MAKE which is supplied with the
 # compiler.  It supports only one overlay management facility - VROOMM.
 # (This Makefile won't work with make45l or NDMAKE)
+#
+# NOTE: This Makefile has not been tested with NetHack 3.5.x
 
 #
 # Game Installation Variables.
@@ -854,7 +856,7 @@ PCCONF_H    = $(INCL)\pcconf.h $(INCL)\micro.h $(INCL)\system.h
 PERMONST_H  = $(INCL)\monattk.h $(INCL)\monflag.h $(INCL)\align.h
 YOUPROP_H   = $(INCL)\prop.h $(PERMONST_H) $(INCL)\pm.h $(INCL)\youprop.h \
              $(INCL)\mondata.h
-YOU_H      = $(INCL)\attrib.h $(INCL)\mextra.h $(INCL)\monst.h $(YOUPROP_H) \
+YOU_H      = $(INCL)\attrib.h $(INCL)\monst.h $(INCL)\mextra.h $(YOUPROP_H) \
               $(INCL)\align.h
 DECL_H      = $(INCL)\quest.h $(INCL)\spell.h $(INCL)\color.h \
              $(INCL)\obj.h $(YOU_H) $(INCL)\onames.h $(INCL)\pm.h
index a91a0a27e5138a3bc543cd4c8c1cae47523da7a1..d434f8d291a9bc5a2e6a1e0104f752263530af22 100644 (file)
@@ -359,7 +359,7 @@ PATCHLEV_H = $(INCL)/patchlev.h
 DGN_FILE_H = $(INCL)/align.h   $(INCL)/dgn_file.h
 DUNGEON_H  = $(INCL)/align.h   $(INCL)/dungeon.h
 MONDATA_H  = $(INCL)/align.h   $(INCL)/mondata.h
-MONST_H           = $(INCL)/align.h    $(INCL)/mextra.h $(INCL)/monst.h
+MONST_H           = $(INCL)/align.h    $(INCL)/monst.h $(INCL)/mextra.h
 PERMONST_H = $(INCL)/monattk.h $(INCL)/monflag.h   $(INCL)/align.h   \
            $(INCL)/permonst.h
 REGION_H   = $(INCL)/region.h
@@ -866,7 +866,7 @@ $(O)drawing.o: $(CONFIG_H) drawing.c $(MSYS)/pcvideo.h
 $(O)decl.o: $(CONFIG_H) decl.c
        $(CC) $(cflags) -o$@ decl.c
 
-$(O)monst.o: $(CONFIG_H) $(PERMONST_H) $(DUNGEON_H) $(INCL)/monsym.h   \
+$(O)monst.o: $(CONFIG_H) $(PERMONST_H) $(INCL)/monsym.h   \
        $(INCL)/color.h  monst.c
        $(CC) $(cflags) -o$@ monst.c
 
@@ -1211,7 +1211,7 @@ $(O)mondata.o: mondata.c $(HACK_H)
 $(O)monmove.o: monmove.c $(HACK_H) $(INCL)/mfndpos.h $(INCL)/artifact.h
 $(O)monst.o: monst.c $(CONFIG_H) $(INCL)/permonst.h $(INCL)/align.h \
                $(INCL)/monattk.h $(INCL)/monflag.h $(INCL)/monsym.h \
-               $(INCL)/dungeon.h $(INCL)/color.h
+               $(INCL)/color.h
 $(O)mplayer.o: mplayer.c $(HACK_H)
 $(O)mthrowu.o: mthrowu.c $(HACK_H)
 $(O)muse.o: muse.c $(HACK_H)
index f07c072b6bd48410b61c27b6d6ee49e5b0ec6c36..e52f6e3e4170534cba5819be7e869c8da062502e 100644 (file)
@@ -1,4 +1,4 @@
-#      SCCS Id: @(#)Makefile.os2       3.5     2006/01/05
+#      SCCS Id: @(#)Makefile.os2       3.5     2006/01/07
 #      OS/2 NetHack 3.5 Makefile for OS/2 versions 1.x and 2.x
 #      Copyright (C) 1990, 1991, 1992, 1993, 1996 Timo Hakulinen
 #
@@ -709,9 +709,10 @@ OS2CONF_H  = $(INCL)\os2conf.h $(INCL)\micro.h $(INCL)\system.h $(EXTERN_H)
 GLOBAL_H   = $(INCL)\global.h $(INCL)\coord.h $(OS2CONF_H)
 CONFIG_H   = $(INCL)\config.h $(INCL)\config1.h $(INCL)\tradstdc.h $(GLOBAL_H)
 TRAP_H    = $(INCL)\trap.h
-PERMONST_H = $(INCL)\permonst.h $(INCL)\mextra.h $(INCL)\monattk.h $(INCL)\monflag.h
+PERMONST_H = $(INCL)\permonst.h $(INCL)\monattk.h $(INCL)\monflag.h
 YOU_H     = $(INCL)\you.h $(INCL)\attrib.h $(PERMONST_H) $(INCL)\mondata.h \
-            $(INCL)\monst.h $(INCL)\youprop.h $(INCL)\prop.h $(INCL)\pm.h
+            $(INCL)\monst.h $(INCL)\mextra.h $(INCL)\youprop.h \
+            $(INCL)\prop.h $(INCL)\pm.h
 DECL_H    = $(INCL)\decl.h $(INCL)\spell.h $(INCL)\obj.h $(YOU_H) \
             $(INCL)\onames.h $(INCL)\color.h
 HACK_H    = $(CONFIG_H) $(INCL)\context.h $(DECL_H) $(INCL)\monsym.h $(INCL)\mkroom.h \
index 7faaa619915e1aa9c324357eb17e2f12a94424fb..e9ab930b8b1e4641b1b2f3978b35bb6b23638757 100644 (file)
@@ -1,5 +1,5 @@
 #      NetHack Makefile.
-#      SCCS Id: @(#)Makefile.src       3.5     2006/01/05
+#      SCCS Id: @(#)Makefile.src       3.5     2006/01/07
 
 # newer makes predefine $(MAKE) to 'make' and do smarter processing of
 # recursive make calls if $(MAKE) is used
@@ -567,11 +567,12 @@ $(HACK_H): ../include/hack.h $(CONFIG_H) ../include/align.h \
                ../include/wintype.h ../include/context.h ../include/decl.h \
                ../include/quest.h ../include/spell.h ../include/color.h \
                ../include/obj.h ../include/you.h ../include/attrib.h \
-               ../include/monst.h ../include/skills.h ../include/onames.h \
-               ../include/timeout.h ../include/trap.h ../include/flag.h \
-               ../include/rm.h ../include/vision.h ../include/display.h \
-               ../include/engrave.h ../include/rect.h ../include/region.h \
-               ../include/winprocs.h ../include/wintty.h ../include/trampoli.h
+               ../include/monst.h ../include/mextra.h ../include/skills.h \
+               ../include/onames.h ../include/timeout.h ../include/trap.h \
+               ../include/flag.h ../include/rm.h ../include/vision.h \
+               ../include/display.h ../include/engrave.h ../include/rect.h \
+               ../include/region.h ../include/winprocs.h ../include/wintty.h \
+               ../include/trampoli.h
        touch $(HACK_H)
 #
 tos.o: ../sys/atari/tos.c $(HACK_H) ../include/tcap.h
@@ -752,7 +753,7 @@ mondata.o: mondata.c $(HACK_H)
 monmove.o: monmove.c $(HACK_H) ../include/mfndpos.h ../include/artifact.h
 monst.o: monst.c $(CONFIG_H) ../include/permonst.h ../include/align.h \
                ../include/monattk.h ../include/monflag.h ../include/monsym.h \
-               ../include/dungeon.h ../include/color.h
+               ../include/color.h
 mplayer.o: mplayer.c $(HACK_H)
 mthrowu.o: mthrowu.c $(HACK_H)
 muse.o: muse.c $(HACK_H)
index 2176d980e0e39598384eb77a4d9e0b6b01b25862..1a481c3624ffb33b48117e4910a77b4e879f3c5a 100644 (file)
@@ -1,5 +1,5 @@
 #      NetHack Makefile (VMS) - for building nethack itself.
-#      SCCS Id: @(#)Makefile.src       3.5     2006/01/05
+#      SCCS Id: @(#)Makefile.src       3.5     2006/01/07
 
 #  Copy this file to [.src]Makefile. and then edit it as needed.
 #  The default configuration is for building with DEC C (aka Compaq C).
@@ -304,7 +304,8 @@ $(HACK_H) : $(INC)hack.h $(CONFIG_H) $(INC)align.h \
                $(INC)monflag.h $(INC)mondata.h $(INC)pm.h \
                $(INC)wintype.h $(INC)context.h $(INC)decl.h $(INC)quest.h \
                $(INC)spell.h $(INC)color.h $(INC)obj.h \
-               $(INC)you.h $(INC)attrib.h $(INC)monst.h $(INC)skills.h \
+               $(INC)you.h $(INC)attrib.h $(INC)monst.h \
+               $(INC)mextra.h $(INC)skills.h \
                $(INC)onames.h $(INC)timeout.h $(INC)trap.h \
                $(INC)flag.h $(INC)rm.h $(INC)vision.h \
                $(INC)display.h $(INC)engrave.h $(INC)rect.h $(INC)region.h \
@@ -401,7 +402,7 @@ mondata.obj :       mondata.c $(HACK_H)
 monmove.obj :  monmove.c $(HACK_H) $(INC)mfndpos.h $(INC)artifact.h
 monst.obj :    monst.c $(CONFIG_H) $(INC)permonst.h $(INC)align.h \
                $(INC)monattk.h $(INC)monflag.h $(INC)monsym.h \
-               $(INC)dungeon.h $(INC)color.h
+               $(INC)color.h
 mplayer.obj :  mplayer.c $(HACK_H)
 mthrowu.obj :  mthrowu.c $(HACK_H)
 muse.obj :     muse.c $(HACK_H)
index 4177e72d35e3a1bc692e58e7b46b7255cda401f2..53d8eafc88f95bbe37ca8dd4ef2079d64d4e3cbe 100644 (file)
@@ -475,13 +475,13 @@ CONFIG_H = $(INCL)\config.h $(INCL)\config1.h $(INCL)\tradstdc.h \
 HACK_H = $(INCL)\hack.h $(CONFIG_H) $(INCL)\context.h $(INCL)\align.h \
                $(INCL)\dungeon.h $(INCL)\monsym.h $(INCL)\mkroom.h \
                $(INCL)\objclass.h $(INCL)\youprop.h $(INCL)\prop.h \
-               $(INCL)\permonst.h $(INCL)\mextra.h $(INCL)\monattk.h \
+               $(INCL)\permonst.h $(INCL)\monattk.h \
                $(INCL)\monflag.h $(INCL)\mondata.h $(INCL)\pm.h \
                $(INCL)\wintype.h $(INCL)\decl.h $(INCL)\quest.h \
                $(INCL)\spell.h $(INCL)\color.h $(INCL)\obj.h \
                $(INCL)\you.h $(INCL)\attrib.h $(INCL)\monst.h \
-               $(INCL)\skills.h $(INCL)\onames.h $(INCL)\timeout.h \
-               $(INCL)\trap.h $(INCL)\flag.h $(INCL)\rm.h \
+               $(INCL)\mextra.h $(INCL)\skills.h $(INCL)\onames.h \
+               $(INCL)\timeout.h $(INCL)\trap.h $(INCL)\flag.h $(INCL)\rm.h \
                $(INCL)\vision.h $(INCL)\display.h $(INCL)\engrave.h \
                $(INCL)\rect.h $(INCL)\region.h $(INCL)\winprocs.h \
                $(INCL)\wintty.h $(INCL)\trampoli.h
@@ -1314,7 +1314,7 @@ $(O)mondata.o: mondata.c $(HACK_H)
 $(O)monmove.o: monmove.c $(HACK_H) $(INCL)\mfndpos.h $(INCL)\artifact.h
 $(O)monst.o: monst.c $(CONFIG_H) $(INCL)\permonst.h $(INCL)\align.h \
                $(INCL)\monattk.h $(INCL)\monflag.h $(INCL)\monsym.h \
-               $(INCL)\dungeon.h $(INCL)\color.h
+               $(INCL)\color.h
 $(O)mplayer.o: mplayer.c $(HACK_H)
 $(O)mthrowu.o: mthrowu.c $(HACK_H)
 $(O)muse.o: muse.c $(HACK_H)
index 42fc4481f8a9285650056988765f0f7dda2d065a..e59242741ae4c144579f1a6ea8c2772f72a2ce2c 100644 (file)
@@ -431,13 +431,13 @@ CONFIG_H = $(INCL)/config.h $(INCL)/config1.h $(INCL)/tradstdc.h \
 HACK_H = $(INCL)/hack.h $(CONFIG_H) $(INCL)/align.h $(INCL)/context.h \
               $(INCL)/dungeon.h $(INCL)/monsym.h $(INCL)/mkroom.h \
               $(INCL)/objclass.h $(INCL)/youprop.h $(INCL)/prop.h \
-              $(INCL)/permonst.h $(INCL)/mextra.h $(INCL)/monattk.h \
+              $(INCL)/permonst.h $(INCL)/monattk.h \
               $(INCL)/monflag.h $(INCL)/mondata.h $(INCL)/pm.h \
               $(INCL)/wintype.h $(INCL)/decl.h $(INCL)/quest.h \
               $(INCL)/spell.h $(INCL)/color.h $(INCL)/obj.h \
               $(INCL)/you.h $(INCL)/attrib.h $(INCL)/monst.h \
-              $(INCL)/skills.h $(INCL)/onames.h $(INCL)/timeout.h \
-              $(INCL)/trap.h $(INCL)/flag.h $(INCL)/rm.h \
+              $(INCL)/mextra.h $(INCL)/skills.h $(INCL)/onames.h 
+              $(INCL)/timeout.h $(INCL)/trap.h $(INCL)/flag.h $(INCL)/rm.h \
               $(INCL)/vision.h $(INCL)/display.h $(INCL)/engrave.h \
               $(INCL)/rect.h $(INCL)/region.h $(INCL)/winprocs.h \
               $(INCL)/wintty.h $(INCL)/trampoli.h
@@ -1288,7 +1288,7 @@ $(O)mondata.o: mondata.c $(HACK_H)
 $(O)monmove.o: monmove.c $(HACK_H) $(INCL)/mfndpos.h $(INCL)/artifact.h
 $(O)monst.o: monst.c $(CONFIG_H) $(INCL)/permonst.h $(INCL)/align.h \
                $(INCL)/monattk.h $(INCL)/monflag.h $(INCL)/monsym.h \
-               $(INCL)/dungeon.h $(INCL)/color.h
+               $(INCL)/color.h
 $(O)mplayer.o: mplayer.c $(HACK_H)
 $(O)mthrowu.o: mthrowu.c $(HACK_H)
 $(O)muse.o: muse.c $(HACK_H)
index 1520f3a348bbdcc3126a2137f129bf8880382483..c57202687d5f4ab4ebb1645e155d822c4e2ed9f8 100644 (file)
@@ -419,13 +419,13 @@ CONFIG_H = $(INCL)\config.h $(INCL)\config1.h $(INCL)\tradstdc.h \
 HACK_H = $(INCL)\hack.h $(CONFIG_H) $(INCL)\align.h $(INCL)\context.h \
                $(INCL)\dungeon.h $(INCL)\monsym.h $(INCL)\mkroom.h \
                $(INCL)\objclass.h $(INCL)\youprop.h $(INCL)\prop.h \
-               $(INCL)\permonst.h $(INCL)\mextra.h $(INCL)\monattk.h \
+               $(INCL)\permonst.h $(INCL)\monattk.h \
                $(INCL)\monflag.h $(INCL)\mondata.h $(INCL)\pm.h \
                $(INCL)\wintype.h $(INCL)\decl.h $(INCL)\quest.h \
                $(INCL)\spell.h $(INCL)\color.h $(INCL)\obj.h \
                $(INCL)\you.h $(INCL)\attrib.h $(INCL)\monst.h \
-               $(INCL)\skills.h $(INCL)\onames.h $(INCL)\timeout.h \
-               $(INCL)\trap.h $(INCL)\flag.h $(INCL)\rm.h \
+               $(INCL)\mextra.h $(INCL)\skills.h $(INCL)\onames.h \
+               $(INCL)\timeout.h $(INCL)\trap.h $(INCL)\flag.h $(INCL)\rm.h \
                $(INCL)\vision.h $(INCL)\display.h $(INCL)\engrave.h \
                $(INCL)\rect.h $(INCL)\region.h $(INCL)\winprocs.h $(INCL)\botl.h \
                $(INCL)\wintty.h $(INCL)\trampoli.h
@@ -1364,7 +1364,7 @@ $(O)mondata.o: mondata.c $(HACK_H)
 $(O)monmove.o: monmove.c $(HACK_H) $(INCL)\mfndpos.h $(INCL)\artifact.h
 $(O)monst.o: monst.c $(CONFIG_H) $(INCL)\permonst.h $(INCL)\align.h \
                $(INCL)\monattk.h $(INCL)\monflag.h $(INCL)\monsym.h \
-               $(INCL)\dungeon.h $(INCL)\color.h
+               $(INCL)\color.h
 $(O)mplayer.o: mplayer.c $(HACK_H)
 $(O)mthrowu.o: mthrowu.c $(HACK_H)
 $(O)muse.o: muse.c $(HACK_H)