home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / nethack-3.1 / sys / unix / Makefile.src < prev    next >
Encoding:
Makefile  |  1993-01-25  |  23.2 KB  |  623 lines

  1. #    NetHack Makefile.
  2. #    SCCS Id: @(#)Makefile.src    3.1    93/01/25
  3.  
  4. # This makefile replaces the previous Makefile.unix, Makefile.xenix,
  5. # Makefile.3B2, Makefile.att, and Makefile.tos.
  6. # Set SYSTEM to one of:
  7. #    'Sysunix'    -- generic UNIX
  8. #    'Sys3B2'    -- AT&T 3B2, 3B5, etc.
  9. #    'Sysatt'    -- AT&T UNIXPC, 7300, 3B1
  10. #    'SysV-AT'    -- Microport 286 UNIX (put -DDUMB in CFLAGS)
  11. #    'Systos'    -- Atari
  12. SYSTEM = Sysunix
  13.  
  14. #
  15. # Make sure that your bourne shell is specified here, as you have to spawn
  16. # some of the commands (eg. depend) in bourne shell for them to work.
  17. #
  18. # For Systos users compiling on the ST, you'll either need a bourne shell
  19. # clone or you'll need to do make depend, etc. by hand. In either case,
  20. # the line below probably needs changing
  21. SHELL=/bin/sh
  22.  
  23. # Pick the SYSSRC and SYSOBJ lines corresponding to your desired operating
  24. # system.
  25. #
  26. # for UNIX systems
  27. SYSSRC = ../sys/unix/ioctl.c ../sys/unix/unixmain.c ../sys/unix/unixtty.c \
  28.     ../sys/unix/unixunix.c
  29. SYSOBJ = ioctl.o unixmain.o unixtty.o unixunix.o
  30. #
  31. # for Systos
  32. # SYSSRC = ../sys/atari/tos.c ../sys/share/pcmain.c ../sys/share/pcsys.c \
  33. #    ../sys/share/pctty.c ../sys/share/pcunix.c
  34. # SYSOBJ = tos.o pcmain.o pcsys.o pctty.o pcunix.o
  35.  
  36.  
  37. # if you are using gcc as your compiler:
  38. #    uncomment the CC definition below if it's not in your environment
  39. #    if you get setcgtty() warnings during execution, you are feeding gcc
  40. #        a non-ANSI <sys/ioctl.h> -- either run fixincludes on it or use
  41. #        -traditional in CFLAGS
  42. # CC = gcc
  43. #
  44. #    For Bull DPX/2 systems at B.O.S. 2.0 or higher use the following:
  45. #
  46. # CC = gcc -ansi -D_BULL_SOURCE -D_XOPEN_SOURCE -D_POSIX_SOURCE
  47. #    If you are using GCC 2.2.2 or higher on a DPX/2, just use:
  48. #
  49. # CC = gcc -ansi
  50. #
  51. # if you're debugging and want gcc to check as much as possible, use:
  52. # CC = gcc -W -Wimplicit -Wreturn-type -Wunused -Wformat -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -DGCC_WARN
  53.  
  54. # flags may have to be changed as required
  55. # flags for 286 Xenix:
  56. # CFLAGS = -Ml2t16 -O -LARGE -I../include
  57. # LFLAGS = -Ml -F 4000 -SEG 512
  58.  
  59. # flags for 286 Microport SysV-AT
  60. # CFLAGS = -DDUMB -Ml -I../include
  61. # LFLAGS = -Ml
  62.  
  63. # flags for Atari gcc
  64. # CFLAGS = -O -I../include
  65. # LFLAGS = -s
  66.  
  67. # flags for AIX 3.1 cc on IBM RS/6000 to define
  68. # a suitable subset of standard libraries
  69. # (note that there is more info regarding the "-qchars=signed"
  70. # switch in file Install.unx note 8)
  71. # CFLAGS = -D_NO_PROTO -D_XOPEN_SOURCE -O -I../include -qchars=signed
  72.  
  73. # flags for A/UX 2.01 using native cc or c89
  74. # gcc predefines AUX so that's not needed there
  75. # Remember to use -lcurses for WINLIB below !
  76. # CFLAGS = -ZS -D_POSIX_SOURCE -O -I../include -DAUX
  77.  
  78. # flags for debugging:
  79. # CFLAGS = -g -I../include
  80.  
  81. CFLAGS = -g -I../include
  82. LFLAGS =
  83.  
  84.  
  85. # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired
  86. # combination of windowing systems.  Also set windowing systems in config.h.
  87. #
  88. # files for a straight tty port using no native windowing system
  89. WINTTYSRC = ../win/tty/getline.c ../win/tty/termcap.c ../win/tty/topl.c \
  90.     ../win/tty/wintty.c
  91. WINTTYOBJ = getline.o termcap.o topl.o wintty.o
  92. #
  93. # files for an X11 port
  94. WINX11SRC = ../win/X11/Window.c ../win/X11/dialogs.c ../win/X11/winX.c \
  95.     ../win/X11/winmap.c  ../win/X11/winmenu.c ../win/X11/winmesg.c \
  96.     ../win/X11/winmisc.c ../win/X11/winstat.c ../win/X11/wintext.c \
  97.     ../win/X11/winval.c
  98. WINX11OBJ = Window.o dialogs.o winX.o winmap.o winmenu.o winmesg.o \
  99.     winmisc.o winstat.o wintext.o winval.o
  100. #
  101. WINSRC = $(WINTTYSRC)
  102. WINOBJ = $(WINTTYOBJ)
  103.  
  104. # on some systems the termcap library is in -ltermcap or -lcurses
  105. # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead
  106. # Sysatt uses shared library in lieu of this option
  107. # Systos needs -lcurses16 if you use -mshort
  108. # AIX 3.1 on RS/6000 likes -lcurses if TERMINFO defined in config.h
  109. # and -ltermcap otherwise
  110. #
  111. # libraries for tty ports
  112. # WINTTYLIB = -ltermcap
  113. # WINTTYLIB = -lcurses
  114. # WINTTYLIB = -lcurses16
  115. WINTTYLIB = -ltermlib
  116. #
  117. # libraries for X11
  118. WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11
  119. # WINX11LIB = -lXaw -lXmu -lXt -lX11
  120. #
  121. #
  122. WINLIB = $(WINTTYLIB)
  123.  
  124. # any other strange libraries your system needs (for Sysunix only -- the more
  125. # specialized targets should already be right)
  126. #
  127. # on HP-UX, the malloc(3x) routines in libmalloc.a seem to align things
  128. # better than the malloc(3) ones in libc.a
  129. # LIBS = -lmalloc
  130. #
  131. # DPX/2's also use the malloc(3x) routines.  In addition, if you are building
  132. # for X11, you must include libinet.a.
  133. # LIBS = -lmalloc -linet
  134. LIBS =
  135.  
  136. # make NetHack
  137. GAME     = nethack
  138.  
  139. # if you defined RANDOM in unixconf.h/tosconf.h since your system did not come
  140. # with a reasonable random number generator
  141. # RANDOBJ = random.o
  142. RANDOBJ =
  143.  
  144.  
  145.  
  146. # ----------------------------------------
  147. #
  148. # Nothing below this line should have to be changed.
  149. #
  150. # Other things that have to be reconfigured are in config.h,
  151. # {unixconf.h, pcconf.h, tosconf.h}, and possibly system.h
  152.  
  153. MAKEDEFS = ../util/makedefs
  154.  
  155. # all .c that are part of the main NetHack program and are not operating- or
  156. # windowing-system specific
  157. HACKCSRC = allmain.c alloc.c apply.c artifact.c attrib.c ball.c bones.c\
  158.        botl.c cmd.c dbridge.c decl.c detect.c display.c do.c do_name.c\
  159.        do_wear.c dog.c dogmove.c dokick.c dothrow.c drawing.c dungeon.c\
  160.        eat.c end.c engrave.c exper.c explode.c extralev.c files.c\
  161.        fountain.c hack.c hacklib.c invent.c lock.c mail.c makemon.c\
  162.        mcastu.c mhitm.c mhitu.c minion.c mklev.c mkmap.c mkmaze.c\
  163.        mkobj.c mkroom.c mon.c mondata.c monmove.c monst.c mplayer.c\
  164.        mthrowu.c muse.c music.c o_init.c objects.c objnam.c options.c\
  165.        pager.c pickup.c pline.c polyself.c potion.c pray.c priest.c\
  166.        quest.c questpgr.c read.c rect.c restore.c rip.c rnd.c rumors.c\
  167.        save.c shk.c shknam.c sit.c sounds.c sp_lev.c spell.c steal.c\
  168.        timeout.c topten.c track.c trap.c u_init.c uhitm.c vault.c\
  169.        version.c vision.c weapon.c were.c wield.c windows.c wizard.c\
  170.        worm.c worn.c write.c zap.c
  171.  
  172. # all operating-system-dependent .c (for dependencies and such)
  173. SYSCSRC = ../sys/atari/tos.c ../sys/share/pcmain.c ../sys/share/pcsys.c \
  174.     ../sys/share/pctty.c ../sys/share/pcunix.c ../sys/share/random.c \
  175.     ../sys/unix/ioctl.c ../sys/unix/unixmain.c ../sys/unix/unixtty.c \
  176.     ../sys/unix/unixunix.c
  177.  
  178. # all windowing-system-dependent .c (for dependencies and such)
  179. WINCSRC = $(WINTTYSRC) $(WINX11SRC)
  180.  
  181. # .c files for this version (for date.h)
  182. VERSOURCES = $(HACKCSRC) $(SYSSRC) $(WINSRC) monstr.c vis_tab.c
  183.  
  184. # .c files for all UNIX versions (for lint and tags)
  185. CSOURCES = $(HACKCSRC) $(SYSSRC) $(WINCSRC) monstr.c vis_tab.c
  186.  
  187.  
  188. # all .h files except date.h, onames.h, pm.h, and vis_tab.h which would
  189. # cause dependency loops if run through "make depend"
  190. # and dgn_comp.h, dgn_file.h, lev_comp.h, special level & dungeon files.
  191. #
  192. HACKINCL = align.h amiconf.h artifact.h artilist.h attrib.h color.h config.h\
  193.        coord.h decl.h def_os2.h display.h dungeon.h edog.h emin.h engrave.h\
  194.        epri.h eshk.h extern.h flag.h func_tab.h global.h hack.h lev.h\
  195.        macconf.h mfndpos.h micro.h mkroom.h monattk.h mondata.h monflag.h\
  196.        monst.h monsym.h obj.h objclass.h os2conf.h patchlevel.h pcconf.h\
  197.        permonst.h prop.h rect.h rm.h sp_lev.h spell.h system.h termcap.h\
  198.        tosconf.h tradstdc.h trampoli.h trap.h unixconf.h vault.h vision.h\
  199.        vmsconf.h wintty.h winX.h winprocs.h wintype.h you.h youprop.h
  200.  
  201. HSOURCES = $(HACKINCL) date.h onames.h pm.h vis_tab.h\
  202.         lev_comp.h dgn_comp.h dgn_file.h
  203.  
  204. # the following .o's _must_ be made before any others (for makedefs)
  205. FIRSTOBJ = monst.o objects.o
  206.  
  207. HOBJ = $(FIRSTOBJ) allmain.o alloc.o apply.o artifact.o attrib.o ball.o\
  208.     bones.o botl.o cmd.o dbridge.o decl.o detect.o display.o do.o\
  209.     do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o\
  210.     dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o\
  211.     files.o fountain.o hack.o hacklib.o invent.o lock.o mail.o\
  212.     makemon.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o\
  213.     mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o monstr.o\
  214.     mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o\
  215.     pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o\
  216.     quest.o questpgr.o read.o rect.o restore.o rip.o rnd.o rumors.o\
  217.     save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o steal.o\
  218.     timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o\
  219.     vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o\
  220.     worm.o worn.o write.o zap.o\
  221.     $(RANDOBJ) $(SYSOBJ) $(WINOBJ) version.o
  222. # the .o files from the HACKCSRC, SYSSRC, and WINSRC lists
  223.  
  224. $(GAME):    $(SYSTEM)
  225.     @echo "$(GAME) is up to date."
  226.  
  227. Sysunix:    $(HOBJ) Makefile
  228.     @echo "Loading ..."
  229.     @$(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(WINLIB) $(LIBS)
  230.     @touch Sysunix
  231.  
  232. Sys3B2:    $(HOBJ) Makefile
  233.     @echo "Loading ..."
  234.     @$(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(WINLIB) -lmalloc
  235.     @touch Sys3B2
  236.  
  237. Sysatt:    $(HOBJ) Makefile
  238.     @echo "Loading ..."
  239.     @$(LD) $(LFLAGS) /lib/crt0s.o /lib/shlib.ifile -o $(GAME) $(HOBJ)
  240.     @touch Sysatt
  241.  
  242. Systos:    $(HOBJ) Makefile
  243.     @echo "Loading ..."
  244.     @$(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(WINLIB)
  245.     @touch Systos
  246.  
  247. SysV-AT:    DUMB.Setup $(HOBJ) Makefile
  248.     @echo "Loading ..."
  249.     @$(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(WINLIB)
  250.     @touch SysV-AT
  251.  
  252. DUMB.Setup:    ../include/extern.h
  253.     cp ../include/extern.h ../include/extern.h.BAK 
  254.     cat ../include/extern.h | \
  255.         sed -e '/^E\ int\ /!b' \
  256.             -e '/[^;/     ]$$/N' \
  257.             -e '/[(][*]occupation[)]/b' \
  258.             -e '/[(][*]afternmv[)]/b' \
  259.             -e '/float_down/b' \
  260.             -e '/done1/b' \
  261.             -e '/identify/b' \
  262.             -e '/Hear_again/b' \
  263.             -e '/hangup/b' \
  264.             -e 's/^\(.*\)$$/\/\* \1 \/\*\*\//' | \
  265.         sed -e '/^E\ void\ /!b' \
  266.             -e '/[^;/     ]$$/N' \
  267.             -e 's/^\(.*\)$$/\/\* \1 \/\*\*\//' \
  268.                 >../include/extern.DUMB 
  269.     cp ../include/extern.DUMB ../include/extern.h 
  270.     @touch DUMB.Setup
  271.  
  272. all:    $(GAME)
  273.  
  274.  
  275. #    dependencies for makedefs and its outputs, which the util
  276. #    Makefile is responsible for keeping up to date
  277. #
  278.  
  279. # special rules, to force update of makedefs, real dependencies should be
  280. # below in the 'make depend' output.
  281. monst.o:
  282.     $(CC) $(CFLAGS) -c monst.c
  283.     @rm -f $(MAKEDEFS)
  284.  
  285. objects.o:
  286.     $(CC) $(CFLAGS) -c objects.c
  287.     @rm -f $(MAKEDEFS)
  288.  
  289. $(MAKEDEFS): ../util/makedefs.c  ../include/artilist.h
  290.     @( cd ../util ; $(MAKE) makedefs)
  291.  
  292. ../include/onames.h: $(MAKEDEFS)
  293.     @( cd ../util ; $(MAKE) ../include/onames.h )
  294. ../include/pm.h: $(MAKEDEFS)
  295.     @( cd ../util ; $(MAKE) ../include/pm.h )
  296. monstr.c: $(MAKEDEFS)
  297.     @( cd ../util ; $(MAKE) ../src/monstr.c )
  298. ../include/vis_tab.h: $(MAKEDEFS)
  299.     @( cd ../util ; $(MAKE) ../include/vis_tab.h )
  300. vis_tab.c: $(MAKEDEFS)
  301.     @( cd ../util ; $(MAKE) ../src/vis_tab.c )
  302.  
  303. #    date.h should be remade any time any of the source or include code
  304. #    is modified.  Unfortunately, this would make the contents of this
  305. #    file far more complex.  Since "hack.h" depends on most of the include
  306. #    files, we kludge around this by making date.h dependent on hack.h,
  307. #    even though it doesn't include this file.
  308. #
  309. #    hack.h depends on makedefs' output, so we know makedefs will be
  310. #    up to date before being executed
  311. ../include/date.h:    $(VERSOURCES) ../include/hack.h
  312.     ( cd ../util ; $(MAKE) ../include/date.h )
  313.  
  314.  
  315. lint:
  316. # lint cannot have -p here because (i) capitals are meaningful:
  317. # [Ww]izard, (ii) identifiers may coincide in the first six places:
  318. # doweararm() versus dowearring().
  319. # _flsbuf comes from <stdio.h>, a bug in the system libraries.
  320.     @echo lint -axbh -DLINT ...
  321.     @lint -axbh -I../include -DLINT $(CSOURCES) | sed '/_flsbuf/d'
  322.  
  323.  
  324. tags: $(CSOURCES)
  325.     @echo ctags -tw ...
  326.     @ctags -tw $(CSOURCES)
  327.     @( cd ../include ; ctags -tw $(HSOURCES) )
  328.     @( cd ../util ; $(MAKE) tags )
  329.  
  330. clean:
  331.     rm -f *.o
  332.  
  333. spotless: clean
  334.     rm -f a.out core $(GAME) Sys*
  335.     rm -f ../include/date.h ../include/onames.h ../include/pm.h
  336.     rm -f monstr.c ../include/vis_tab.h vis_tab.c
  337.  
  338.  
  339. depend:
  340. # For the moment we are lazy and disregard /usr/include files because
  341. # the sources contain them conditionally. Perhaps we should use cpp.
  342. #        ( /bin/grep '^#[     ]*include' $$i | sed -n \
  343. #            -e 's,<\(.*\)>,"/usr/include/\1",' \
  344. #
  345. # extern.h is ignored, even though its declared function types may affect the
  346. # compilation of all the .c files, since extern.h changes every time the
  347. # type of an external function does, and we would spend all our time recompiling
  348. # if we did not ignore it.  the risk is minimal, as lint should pick up any
  349. # calls to the modified function that were not modified accordingly.
  350. #
  351. # patchlev.h is the name MS-DOS uses to refer to patchlevel.h after it gets
  352. # through truncating the name, but it does not really exist
  353. #
  354. # theory of operation:
  355. #    for each file
  356. #        for each include line
  357. #            pick out filename from within ""
  358. #            delete unwanted names
  359. #            prepend ../include/
  360. #            squirrel away in hold space
  361. #        at end of file
  362. #            pick up hold space
  363. #            change newlines to spaces
  364. #            prepend file:
  365. #            change .c to .o
  366. #            add command if necessary
  367. #
  368.     for i in ${SYSCSRC} ${WINCSRC}; do \
  369.         ( echo '#include ""' | cat - $$i | \
  370.         /bin/grep '^#[     ]*include[     ]*"' | sed -n \
  371.             -e 's/[^"]*"\([^"]*\)".*/\1/' \
  372.             -e 's/patchlev.h//' \
  373.             -e 's/.*\.h/..\/include\/&/' \
  374.             -e H \
  375.             -e '$$g' -e '$$s/\n/ /g' \
  376.             -e '$$s;.*;'$$i': '$$i'&;' \
  377.             -e '$$s;\.\./[^/]*/[^/]*/\([^.]*\)\.c;\1.o;' \
  378.             -e '$$s;.*;&\
  379.         $$(CC) $$(CFLAGS) -c '$$i';p' \
  380.             >> makedep); done
  381.     for i in ${HACKCSRC}; do \
  382.         ( /bin/grep '^#[     ]*include[     ]*"' $$i | sed -n \
  383.             -e 's/[^"]*"\([^"]*\)".*/\1/' \
  384.             -e 's/patchlev.h//' \
  385.             -e 's/.*\.h/..\/include\/&/' \
  386.             -e H \
  387.             -e '$$g' -e '$$s/\n/ /g' \
  388.             -e '$$s/.*/'$$i': &/' \
  389.             -e '$$s/\.c:/.o:/p' \
  390.             >> makedep); done
  391.     for i in ${HACKINCL}; do \
  392.         ( /bin/grep '^#[     ]*include[     ]*"' ../include/$$i | sed -n \
  393.             -e 's/[^"]*"\([^"]*\)".*/\1/' \
  394.             -e 's/extern.h//' \
  395.             -e 's/.*\.h/..\/include\/&/' \
  396.             -e H \
  397.             -e '$$g' -e '$$s/\n/ /g' \
  398.             -e '$$s/.*/..\/include\/'$$i': &\
  399.         touch ..\/include\/'$$i/p \
  400.             >> makedep); done
  401.     @echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
  402.     @echo '$$r makedep' >>eddep
  403.     @echo 'w' >>eddep
  404.     @cp Makefile Makefile.bak
  405.     ed - Makefile < eddep
  406.     @rm -f eddep makedep
  407.     @echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
  408.     @echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
  409.     @echo '# see make depend above' >> Makefile
  410.     - diff Makefile.bak Makefile
  411.     @rm -f Makefile.bak
  412.  
  413. # DO NOT DELETE THIS LINE
  414.  
  415. tos.o: ../sys/atari/tos.c  ../include/hack.h ../include/termcap.h
  416.     $(CC) $(CFLAGS) -c ../sys/atari/tos.c
  417. pcmain.o: ../sys/share/pcmain.c  ../include/hack.h
  418.     $(CC) $(CFLAGS) -c ../sys/share/pcmain.c
  419. pcsys.o: ../sys/share/pcsys.c  ../include/hack.h ../include/wintty.h
  420.     $(CC) $(CFLAGS) -c ../sys/share/pcsys.c
  421. pctty.o: ../sys/share/pctty.c  ../include/hack.h ../include/wintty.h
  422.     $(CC) $(CFLAGS) -c ../sys/share/pctty.c
  423. pcunix.o: ../sys/share/pcunix.c  ../include/hack.h
  424.     $(CC) $(CFLAGS) -c ../sys/share/pcunix.c
  425. random.o: ../sys/share/random.c  ../include/hack.h
  426.     $(CC) $(CFLAGS) -c ../sys/share/random.c
  427. ioctl.o: ../sys/unix/ioctl.c  ../include/hack.h ../include/termcap.h
  428.     $(CC) $(CFLAGS) -c ../sys/unix/ioctl.c
  429. unixmain.o: ../sys/unix/unixmain.c  ../include/hack.h
  430.     $(CC) $(CFLAGS) -c ../sys/unix/unixmain.c
  431. unixtty.o: ../sys/unix/unixtty.c  ../include/hack.h ../include/wintty.h
  432.     $(CC) $(CFLAGS) -c ../sys/unix/unixtty.c
  433. unixunix.o: ../sys/unix/unixunix.c  ../include/hack.h
  434.     $(CC) $(CFLAGS) -c ../sys/unix/unixunix.c
  435. getline.o: ../win/tty/getline.c  ../include/hack.h ../include/wintty.h ../include/func_tab.h
  436.     $(CC) $(CFLAGS) -c ../win/tty/getline.c
  437. termcap.o: ../win/tty/termcap.c  ../include/hack.h ../include/wintty.h ../include/termcap.h
  438.     $(CC) $(CFLAGS) -c ../win/tty/termcap.c
  439. topl.o: ../win/tty/topl.c  ../include/hack.h ../include/termcap.h ../include/wintty.h
  440.     $(CC) $(CFLAGS) -c ../win/tty/topl.c
  441. wintty.o: ../win/tty/wintty.c  ../include/hack.h ../include/termcap.h ../include/wintty.h
  442.     $(CC) $(CFLAGS) -c ../win/tty/wintty.c
  443. Window.o: ../win/X11/Window.c  ../include/WindowP.h
  444.     $(CC) $(CFLAGS) -c ../win/X11/Window.c
  445. dialogs.o: ../win/X11/dialogs.c  ../include/config.h
  446.     $(CC) $(CFLAGS) -c ../win/X11/dialogs.c
  447. winX.o: ../win/X11/winX.c  ../include/hack.h ../include/winX.h \
  448.         ../win/X11/nh72icon ../win/X11/nh56icon ../win/X11/nh32icon
  449.     $(CC) $(CFLAGS) -c ../win/X11/winX.c
  450. winmap.o: ../win/X11/winmap.c  ../include/Window.h ../include/hack.h ../include/winX.h
  451.     $(CC) $(CFLAGS) -c ../win/X11/winmap.c
  452. winmenu.o: ../win/X11/winmenu.c  ../include/hack.h ../include/winX.h
  453.     $(CC) $(CFLAGS) -c ../win/X11/winmenu.c
  454. winmesg.o: ../win/X11/winmesg.c  ../include/Window.h ../include/hack.h ../include/winX.h
  455.     $(CC) $(CFLAGS) -c ../win/X11/winmesg.c
  456. winmisc.o: ../win/X11/winmisc.c  ../include/hack.h ../include/func_tab.h ../include/winX.h
  457.     $(CC) $(CFLAGS) -c ../win/X11/winmisc.c
  458. winstat.o: ../win/X11/winstat.c  ../include/hack.h ../include/winX.h
  459.     $(CC) $(CFLAGS) -c ../win/X11/winstat.c
  460. wintext.o: ../win/X11/wintext.c  ../include/hack.h ../include/winX.h
  461.     $(CC) $(CFLAGS) -c ../win/X11/wintext.c
  462. winval.o: ../win/X11/winval.c  ../include/config.h
  463.     $(CC) $(CFLAGS) -c ../win/X11/winval.c
  464. allmain.o:  ../include/hack.h
  465. alloc.o:  ../include/config.h
  466. apply.o:  ../include/hack.h ../include/edog.h
  467. artifact.o:  ../include/hack.h ../include/artifact.h ../include/artilist.h
  468. attrib.o:  ../include/hack.h ../include/artifact.h
  469. ball.o:  ../include/hack.h
  470. bones.o:  ../include/hack.h ../include/lev.h
  471. botl.o:  ../include/hack.h
  472. cmd.o:  ../include/hack.h ../include/func_tab.h
  473. dbridge.o:  ../include/hack.h
  474. decl.o:  ../include/hack.h ../include/quest.h
  475. detect.o:  ../include/hack.h ../include/artifact.h
  476. display.o:  ../include/hack.h
  477. do.o:  ../include/hack.h ../include/lev.h
  478. do_name.o:  ../include/hack.h
  479. do_wear.o:  ../include/hack.h
  480. dog.o:  ../include/hack.h ../include/edog.h
  481. dogmove.o:  ../include/hack.h ../include/mfndpos.h ../include/edog.h
  482. dokick.o:  ../include/hack.h ../include/eshk.h
  483. dothrow.o:  ../include/hack.h
  484. drawing.o:  ../include/hack.h ../include/termcap.h
  485. dungeon.o:  ../include/hack.h ../include/dgn_file.h
  486. eat.o:  ../include/hack.h
  487. end.o:  ../include/hack.h ../include/eshk.h
  488. engrave.o:  ../include/hack.h ../include/lev.h
  489. exper.o:  ../include/hack.h
  490. explode.o:  ../include/hack.h
  491. extralev.o:  ../include/hack.h
  492. files.o:  ../include/hack.h
  493. fountain.o:  ../include/hack.h
  494. hack.o:  ../include/hack.h
  495. hacklib.o:  ../include/hack.h
  496. invent.o:  ../include/hack.h ../include/artifact.h
  497. lock.o:  ../include/hack.h
  498. mail.o:  ../include/hack.h ../include/mail.h
  499. makemon.o:  ../include/hack.h ../include/epri.h ../include/emin.h
  500. mcastu.o:  ../include/hack.h
  501. mhitm.o:  ../include/hack.h ../include/artifact.h ../include/edog.h
  502. mhitu.o:  ../include/hack.h ../include/artifact.h ../include/edog.h
  503. minion.o:  ../include/hack.h ../include/emin.h ../include/epri.h
  504. mklev.o:  ../include/hack.h
  505. mkmap.o:  ../include/hack.h ../include/sp_lev.h
  506. mkmaze.o:  ../include/hack.h ../include/sp_lev.h
  507. mkobj.o:  ../include/hack.h ../include/artifact.h ../include/prop.h
  508. mkroom.o:  ../include/hack.h
  509. mon.o:  ../include/hack.h ../include/mfndpos.h ../include/edog.h
  510. mondata.o:  ../include/hack.h ../include/eshk.h ../include/epri.h
  511. monmove.o:  ../include/hack.h ../include/mfndpos.h ../include/artifact.h
  512. monst.o:  ../include/config.h ../include/permonst.h ../include/monsym.h ../include/eshk.h \
  513.         ../include/vault.h ../include/epri.h ../include/color.h
  514. mplayer.o:  ../include/hack.h
  515. mthrowu.o:  ../include/hack.h
  516. muse.o:  ../include/hack.h
  517. music.o:  ../include/hack.h
  518. o_init.o:  ../include/hack.h
  519. objects.o:  ../include/config.h ../include/obj.h ../include/objclass.h ../include/prop.h ../include/color.h objects.c
  520. objnam.o:  ../include/hack.h
  521. options.o:  ../include/hack.h ../include/termcap.h
  522. pager.o:  ../include/hack.h
  523. pickup.o:  ../include/hack.h
  524. pline.o:  ../include/hack.h ../include/epri.h
  525. polyself.o:  ../include/hack.h
  526. potion.o:  ../include/hack.h
  527. pray.o:  ../include/hack.h ../include/epri.h
  528. priest.o:  ../include/hack.h ../include/mfndpos.h ../include/eshk.h ../include/epri.h ../include/emin.h
  529. quest.o:  ../include/hack.h ../include/quest.h ../include/qtext.h
  530. questpgr.o:  ../include/hack.h ../include/qtext.h
  531. read.o:  ../include/hack.h
  532. rect.o:  ../include/hack.h
  533. restore.o:  ../include/hack.h ../include/lev.h ../include/termcap.h ../include/quest.h
  534. rip.o:  ../include/hack.h
  535. rnd.o:  ../include/hack.h
  536. rumors.o:  ../include/hack.h
  537. save.o:  ../include/hack.h ../include/lev.h ../include/quest.h
  538. shk.o:  ../include/hack.h ../include/eshk.h
  539. shknam.o:  ../include/hack.h ../include/eshk.h
  540. sit.o:  ../include/hack.h ../include/artifact.h
  541. sounds.o:  ../include/hack.h ../include/edog.h ../include/eshk.h
  542. sp_lev.o:  ../include/hack.h ../include/sp_lev.h ../include/rect.h
  543. spell.o:  ../include/hack.h
  544. steal.o:  ../include/hack.h
  545. timeout.o:  ../include/hack.h
  546. topten.o:  ../include/hack.h
  547. track.o:  ../include/hack.h
  548. trap.o:  ../include/hack.h
  549. u_init.o:  ../include/hack.h
  550. uhitm.o:  ../include/hack.h
  551. vault.o:  ../include/hack.h ../include/vault.h
  552. version.o:  ../include/hack.h ../include/date.h  ../include/patchlevel.h
  553. vision.o:  ../include/hack.h ../include/vis_tab.h
  554. weapon.o:  ../include/hack.h
  555. were.o:  ../include/hack.h
  556. wield.o:  ../include/hack.h
  557. windows.o:  ../include/hack.h ../include/wintty.h
  558. wizard.o:  ../include/hack.h ../include/qtext.h
  559. worm.o:  ../include/hack.h ../include/lev.h
  560. worn.o:  ../include/hack.h
  561. write.o:  ../include/hack.h
  562. zap.o:  ../include/hack.h
  563. ../include/amiconf.h:  ../include/micro.h ../include/pcconf.h
  564.     touch ../include/amiconf.h
  565. ../include/config.h:  ../include/tradstdc.h ../include/global.h
  566.     touch ../include/config.h
  567. ../include/decl.h:  ../include/quest.h ../include/spell.h ../include/color.h ../include/obj.h \
  568.         ../include/you.h ../include/onames.h ../include/pm.h
  569.     touch ../include/decl.h
  570. ../include/display.h:  ../include/vision.h ../include/mondata.h
  571.     touch ../include/display.h
  572. ../include/dungeon.h:  ../include/align.h
  573.     touch ../include/dungeon.h
  574. ../include/emin.h:  ../include/dungeon.h
  575.     touch ../include/emin.h
  576. ../include/epri.h:  ../include/dungeon.h ../include/align.h
  577.     touch ../include/epri.h
  578. ../include/eshk.h:  ../include/dungeon.h
  579.     touch ../include/eshk.h
  580. ../include/global.h:  ../include/coord.h ../include/vmsconf.h ../include/unixconf.h \
  581.         ../include/os2conf.h ../include/pcconf.h ../include/tosconf.h \
  582.         ../include/amiconf.h ../include/macconf.h
  583.     touch ../include/global.h
  584. ../include/hack.h:  ../include/config.h ../include/dungeon.h ../include/monsym.h \
  585.         ../include/mkroom.h ../include/objclass.h ../include/decl.h \
  586.         ../include/trap.h ../include/flag.h ../include/rm.h ../include/vision.h \
  587.         ../include/display.h ../include/wintype.h ../include/engrave.h \
  588.         ../include/rect.h  ../include/winprocs.h ../include/wintty.h ../include/trampoli.h
  589.     touch ../include/hack.h
  590. ../include/macconf.h:  ../include/system.h
  591.     touch ../include/macconf.h
  592. ../include/mondata.h:  ../include/align.h
  593.     touch ../include/mondata.h
  594. ../include/monst.h:  ../include/align.h
  595.     touch ../include/monst.h
  596. ../include/os2conf.h:  ../include/pcconf.h
  597.     touch ../include/os2conf.h
  598. ../include/pcconf.h:  ../include/micro.h ../include/system.h
  599.     touch ../include/pcconf.h
  600. ../include/permonst.h:  ../include/monattk.h ../include/monflag.h ../include/align.h
  601.     touch ../include/permonst.h
  602. ../include/rm.h:  ../include/align.h
  603.     touch ../include/rm.h
  604. ../include/sp_lev.h:  ../include/align.h
  605.     touch ../include/sp_lev.h
  606. ../include/tosconf.h:  ../include/micro.h ../include/pcconf.h
  607.     touch ../include/tosconf.h
  608. ../include/unixconf.h:  ../include/system.h
  609.     touch ../include/unixconf.h
  610. ../include/vault.h:  ../include/dungeon.h
  611.     touch ../include/vault.h
  612. ../include/vmsconf.h:  ../include/system.h
  613.     touch ../include/vmsconf.h
  614. ../include/you.h:  ../include/align.h ../include/attrib.h ../include/monst.h ../include/youprop.h
  615.     touch ../include/you.h
  616. ../include/youprop.h:  ../include/prop.h ../include/permonst.h ../include/mondata.h ../include/pm.h
  617.     touch ../include/youprop.h
  618. # DEPENDENCIES MUST END AT END OF FILE
  619. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  620. # see make depend above
  621.