home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mgr / mgr.zoo / mgrdif1.zoo / src / Makefile < prev    next >
Encoding:
Makefile  |  1991-03-01  |  15.4 KB  |  583 lines

  1. #                        Copyright (c) 1987 Bellcore
  2. #                            All Rights Reserved
  3. #       Permission is granted to copy or use this program, EXCEPT that it
  4. #       may not be sold for profit, the copyright notice must be reproduced
  5. #       on copies, and credit should be given to Bellcore where it is due.
  6. #       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
  7.  
  8. #    $Header: Makefile,v 1.1 89/09/27 09:28:25 sau Exp $
  9. #    $Source: /m1/mgr.new/src/RCS/Makefile,v $
  10.  
  11. #
  12. #    compile flags:
  13. #      WHO:        muck utmp file so "who" works
  14. #      VI        code for vi mouse hack
  15. #      DEBUG        turns on lots of debugging code (for -d option)
  16. #      FASTMOUSE    xor mouse track
  17. #      BUCKEY    for keyboard operated "mouse" commands
  18. #      PRIORITY    for priority window scheduling instead of 
  19. #            round-robin; the active window gets higher priority
  20. #      CUT        for cut/paste (don't use)
  21. #      ALIGN        forces window alignment for fast scrolling
  22. #            use with 68010/68020 version only
  23. #      ALIGN32    Obsolete (expunged)
  24. #      WEIRD        does weird thing on window reshapes
  25. #      KILL        kills windows upon tty i/o errors
  26. #
  27. #      MALLOC    for malloc debugging code - you supply the malloc
  28. #
  29. #      SHRINK    use only some of the screen (define [XYWH]0 too)
  30. #
  31. #      NOSTACK    don't permit event stacking 
  32. #
  33. #      BELL        really ring the bell (works on at least sun 3's)
  34. #            You need to do a "mknod /dev/bell c 12 2"
  35. #
  36. #      KBD        read mgr input from the sun kbd, instead of stdin
  37. #            This permits redirection of console msgs to a window
  38. #
  39. #      FRACCHAR    fractional character movement stuff (experimental)
  40. #
  41. #      XMENU        extended menu stuff (experimental)
  42. #
  43.  
  44. #    bitblit libraries
  45. #       blit - template based 68020 asm code (fastest)
  46. #                    uses 32 bit alignment
  47. #         oblit - crufty sun-2 specific code (obsolete, use port instead)
  48. #                    uses 16 bit alignment
  49. #     port - template based portable "C" code  (monochrome only for now)
  50. #                    uses 32 bit alignment (or 16 or 8)
  51. #       pixrect - SUN's pixrect library: Useful for color
  52. #                    uses 16 bit alignment (mostly)
  53. #        stub_lib - Stub libraries for use as a basis for porting
  54. #    atari - atari st bilt support
  55. CROSSDIR = /net/acae127/home/bammi/atari/cross-gcc
  56. CROSSBIN = $(CROSSDIR)/bin
  57. CC=$(CROSSBIN)/cgcc
  58. AR=$(CROSSBIN)/car
  59. HOSTCC = cc
  60. HOSTCCFLAGS = -O  -I. -Iatari -I../lib
  61. LIBS=atari
  62. #
  63. #        Standard compile flags
  64.  
  65. MGR=mgr
  66.  
  67. #    which bit-blit library to use
  68.  
  69. BLITDIR=atari
  70.  
  71. #    Use fast scrolling code (only works on 68010/68020)
  72.  
  73. DDEP = -DALIGN
  74. BIT_LIB =   $(BLITDIR)/blitlib.a
  75.  
  76. #    Specify other libraries here (such as -lpixrect)
  77.  
  78. OTHERLIB =
  79. INCL = ../lib
  80.  
  81. #    special version specific stuff goes here
  82.  
  83. # these must be set if -DALIGN
  84. MACHDEP_H =
  85. MACHDEP_C = 
  86. MACHDEP_O = 
  87. #MACHDEP_C = fast_scroll.c
  88. #MACHDEP_O = fast_scroll.o
  89.  
  90. #    This version number is unrelated to anything
  91.  
  92. VER = 3.3.2
  93. #
  94. # built-in path names:
  95. #
  96. ###########################################
  97.  
  98. INSROOT=/mgr
  99. FLAG = -mint -O -nostdinc -I/net/acae127/home/bammi/atari/mint/mintlib/include \
  100. -fomit-frame-pointer -fcombine-regs
  101.  
  102. ###########################################
  103.  
  104. START=.
  105. DSAME = -DWHO -DVI -DBUCKEY -DDEBUG -DKILL -DCUT -DBELL \
  106.             -DKBD -DALIGN32 -DFRACCHAR
  107. #    FONTDIR:    where to find font files  (default: /usr/mgr/font)
  108. #    ICONDIR:    where to find icons      (default: /usr/mgr/icon)
  109. PATHFLAGS = -DFONTDIR=\"$(INSROOT)/font\" -DICONDIR=\"$(INSROOT)/icon\"
  110. #
  111. DFLAGS = $(DSAME) $(DDEP)
  112. CFLAGS = $(FLAG) $(DFLAGS) $(PATHFLAGS) -I. -I$(BLITDIR) -I$(INCL)
  113. FONT_LIB = ../font
  114. DEFAULT_FONT = $(FONT_LIB)/default.fnt
  115. INSDIR = $(INSROOT)/bin
  116. CPIO=src.cpio
  117. TAR=src.tar
  118. DEPEND = make.depend
  119. LOG=make.log
  120. #
  121. #    Versions of MGR
  122. #        mgr            - the default
  123. #        colormgr        - makes color mgr using SUN's pixrect library
  124. #        pixmgr        - makes a monochrome MGR using pixrect
  125. #        prodmgr        - makes an optimized (production) MGR with debugging stripped
  126. #        oldmgr        - Makes a pre 3.4 release (no special kbd and bell handling)
  127. #        sun2mgr        - makes a sun2 version (old bitblit code) [obsolete]
  128. #        oldsun2mgr    - makes a sun2 (release 1.x, old bitblit code) [obsolete]
  129. #        portmgr        - makes a monochrome MGR using the portable blit code
  130. #                            Use this one for a monochrome Sparc station
  131. #        stubmgr        - make a monochrome MGR with NO bitblit code
  132. #        atarimgr    - make a atariST mgr
  133. #        atari020mgr     - make an atari 020/030 mgr
  134.  
  135. ALLMGRS = mgr port_mgr stub_mgr color_mgr prod_mgr old_mgr sun2_mgr \
  136.                     oldsun2_mgr pix_mgr
  137. ALLDOTFILES= .mgr .mgr_port .mgr_stub .mgr_color .mgr_prod .mgr_old .mgr_sun2 \
  138.                  .mgr_oldsun2 .mgr_pix
  139.  
  140. PORTCFILES = \
  141.     Write.c bitmaphead.c bitmapread.c border.c \
  142.     cut.c data.c debug_flags.c destroy.c \
  143.     do_buckey.c do_button.c do_event.c do_menu.c down_load.c \
  144.     erase_win.c font_subs.c get_font.c get_info.c get_menus.c \
  145.     get_rect.c get_text.c getshell.c graph_subs.c intersect.c \
  146.     kbd.c mgr.c mouse_get.c move.c move_box.c new_window.c print.c \
  147.     put_window.c scroll.c set_mode.c shape.c sigdata.c startup.c \
  148.     subs.c update.c utmp.c win_make.c win_stack.c win_subs.c \
  149.     write_ok.c 
  150.  
  151. CFILES = $(PORTCFILES) $(MACHDEP_C)
  152.  
  153. OFILES = \
  154.     Write.o bitmaphead.o bitmapread.o border.o \
  155.     cut.o data.o debug_flags.o destroy.o \
  156.     do_buckey.o do_button.o do_event.o do_menu.o down_load.o \
  157.     erase_win.o font_subs.o get_font.o get_info.o get_menus.o \
  158.     get_rect.o get_text.o getshell.o graph_subs.o intersect.o \
  159.     kbd.o mgr.o mouse_get.o move.o move_box.o new_window.o print.o \
  160.     put_window.o scroll.o set_mode.o shape.o sigdata.o startup.o \
  161.     subs.o update.o utmp.o win_make.o win_stack.o win_subs.o \
  162.     write_ok.o \
  163.     $(MACHDEP_O)
  164.  
  165. HFILES = \
  166.     $(INCL)/dump.h $(INCL)/window.h \
  167.     clip.h copyright.h default_font.h defines.h defs.h event.h \
  168.     font.h icons.h menu.h \
  169.     $(MACHDEP_H)
  170.  
  171. OTHER = \
  172.     Makefile \
  173.     copyright.c \
  174.     compile_font.c dependencies
  175.  
  176. ############################################################################
  177. all:    $(MGR) 
  178.  
  179. ############################################################################
  180. # stub mgr, using dummy bitblit code
  181. stubmgr:
  182.     $(MAKE) DSAME="-DWHO -DVI -DBUCKEY -DDEBUG -DKILL" \
  183.         INSROOT=$(INSROOT) \
  184.         DDEP= \
  185.         MACHDEP_C= MACHDEP_H= MACHDEP_O= \
  186.         OTHERLIB= \
  187.         BLITDIR=stub_lib \
  188.         FLAG=$(FLAG) \
  189.         MGR=mgr_stub \
  190.         VER=2.3
  191.  
  192. ############################################################################
  193. # port mgr, using dummy bitblit code
  194. # This will also make a sun-2 version
  195. portmgr:
  196.     $(MAKE) DSAME="-DDEBUG -DWHO -DVI -DBUCKEY -DKILL -DCUT \
  197.             -DSHRINK -DALIGN32 -DBELL -DKBD -DFRACCHAR"  \
  198.         INSROOT=$(INSROOT) \
  199.         DDEP= \
  200.         MACHDEP_C= MACHDEP_H= MACHDEP_O= \
  201.         OTHERLIB= \
  202.         BLITDIR=port \
  203.         FLAG=$(FLAG) \
  204.         MGR=mgr_port \
  205.         VER=2.3
  206.  
  207. ############################################################################
  208. # atari mgr, using atari bitblit code
  209. #
  210. atarimgr:
  211.     $(MAKE) DSAME="-DBUCKEY -DCUT \
  212.             -DSHRINK -DNDEBUG"  \
  213.         INSROOT=$(INSROOT) \
  214.         DDEP= \
  215.         MACHDEP_C= MACHDEP_H= MACHDEP_O= \
  216.         OTHERLIB= \
  217.         BLITDIR=atari \
  218.         FLAG='$(FLAG)' \
  219.         MGR=atari_port \
  220.         VER=2.3
  221. ############################################################################
  222. # atari 020 mgr, using atari bitblit code, and align with fast_scroll
  223. #
  224. atari020mgr:
  225.     $(MAKE) DSAME="-DBUCKEY -DCUT \
  226.             -DSHRINK -DNDEBUG -DALIGN"  \
  227.         INSROOT=$(INSROOT) \
  228.         DDEP= \
  229.         MACHDEP_C= fast_scroll.c MACHDEP_H= MACHDEP_O= fast_scroll.o \
  230.         OTHERLIB= \
  231.         BLITDIR=atari \
  232.         FLAG='$(FLAG) -m68020' \
  233.         LFLAGS='-lgnu020'
  234.         MGR=atari_port \
  235.         VER=2.3
  236. ############################################################################
  237. # color mgr, for sun 3/60, sun3/110 and sun-roadrunner
  238. colormgr:
  239.     $(MAKE) DSAME="-DWHO -DVI -DBUCKEY -DDEBUG -DKILL -DBELL -DKBD \
  240.             -DCOLOR -DFASTMOUSE" \
  241.         INSROOT=$(INSROOT) \
  242.         DDEP= \
  243.         MACHDEP_C= MACHDEP_H= MACHDEP_O= \
  244.         OTHERLIB=-lpixrect \
  245.         BLITDIR=pixrect \
  246.         FLAG=$(FLAG) \
  247.         MGR=mgr_color \
  248.         VER=2.3
  249.  
  250. ############################################################################
  251. # sun 3's production release (no debugging code, optimized)
  252. prodmgr:
  253.     $(MAKE) DSAME="-DWHO -DVI -DBUCKEY -DKILL -DCUT -DALIGN \
  254.             -DALIGN32 -DBELL -DKBD -DFRACCHAR"  \
  255.         INSROOT=$(INSROOT) \
  256.         FLAG=-O \
  257.         MGR=mgr_prod
  258.  
  259. ############################################################################
  260. # sun 3's (68020 based) pre release 3.4
  261. oldmgr:
  262.     $(MAKE) DSAME="-DWHO -DVI -DBUCKEY -DDEBUG -DKILL -DCUT -DALIGN"  \
  263.         INSROOT=$(INSROOT) \
  264.         FLAG=$(FLAG) \
  265.         MGR=mgr_old
  266.  
  267. ############################################################################
  268. # sun 2's (68010 based)
  269. sun2mgr:
  270.     $(MAKE) DSAME="-DWHO -DVI -DBUCKEY -DDEBUG -DKILL -DCUT -DBELL -DKBD \
  271.                -DALIGN" \
  272.         INSROOT=$(INSROOT) \
  273.         FLAG=$(FLAG) \
  274.         BLITDIR=oblit \
  275.         MGR=mgr_sun2
  276.  
  277. ############################################################################
  278. # sun 2's (68010 based) running pre-3.4 releases (i.e. 1.0)
  279. oldsun2mgr:
  280.     $(MAKE) DSAME="-DWHO -DVI -DBUCKEY -DDEBUG -DKILL -DCUT -DALIGN" \
  281.         INSROOT=$(INSROOT) \
  282.         FLAG=$(FLAG) \
  283.         BLITDIR=oblit \
  284.         MGR=mgr_oldsun2
  285.  
  286. ############################################################################
  287. pixmgr:
  288.     $(MAKE) DSAME="-DWHO -DVI -DBUCKEY -DDEBUG -DKILL -DCUT -DBELL -DKBD" \
  289.         INSROOT=$(INSROOT) \
  290.         DDEP= MACHDEP_C= MACHDEP_H= MACHDEP_O= \
  291.         BLITDIR=pixrect OTHERLIB=-lpixrect \
  292.         FLAG=$(FLAG) \
  293.         MGR=mgr_pix \
  294.         VER=2.3
  295.  
  296. ########################################################################
  297.  
  298. fast:    gang $(MGR)
  299.  
  300. #        Placing $(HFILES) and $(CFILES) in the dependency list let's us
  301. #        see which files actually caused the rebuild in the $(LOG).
  302. #        Other than that, and checking for their existence, they are not
  303. #        needed for the actual build of mgr.
  304.  
  305. $(MGR):    .$(MGR) $(HFILES) $(CFILES) $(OFILES) copyright.o version.o FRClibrary
  306.     -rm -f mgr
  307.     -mv $(MGR) _$(MGR)
  308.     $(CC) $(LFLAGS) $(FLAG) -o $(MGR) $(MALLOC) $(OFILES) version.o copyright.o \
  309.         $(BIT_LIB) $(OTHERLIB)
  310.     @date >> $(LOG)
  311.     echo "changed $?" >> $(LOG)
  312.     @$(CROSSBIN)/csize68 $(MGR)
  313.     @echo "$(MGR) on `date`" > .done
  314.     -ln $(MGR) mgr
  315.  
  316. .PRECIOUS: .$(MGR)
  317.  
  318. .$(MGR) gang:    default_font.h
  319.     rm -f $(OFILES) $(ALLDOTFILES) copyright.o .done
  320.     touch .$(MGR)
  321.     $(CC) -c $(CFLAGS) $(PORTCFILES)
  322.  
  323. default_font.h:
  324.         make compile_font
  325.         ./compile_font < $(DEFAULT_FONT) default_font \
  326.                  > default_font.h
  327.  
  328. compile_font:    compile_font.o
  329.         $(HOSTCC) $(HOSTCCFLAGS) -o compile_font compile_font.c
  330.  
  331. #        All versions of MGR now use the 32 bit aligned fonts and icons
  332. #
  333. # pick the icon file with appropriate alignment 
  334. #    set up a link to the proper font directory as well
  335. #
  336. #icons.h:
  337. #        -rm icons.h
  338. #        -rm ../font    
  339. #        @if [ x$(ALIGN) = 32 ]; \
  340. #        then \
  341. #            echo 'Creating 32-bit aligned mouse icons'; \
  342. #            ln -s icons-32.h icons.h; \
  343. #            echo 'Setting links to 32-bit fonts'; \
  344. #            ln -s `pwd`/../font-32 ../font; \
  345. #        else \
  346. #            echo 'Setting links to 16-bit fonts'; \
  347. #            ln -s `pwd`/../font-16 ../font; \
  348. #            echo 'Creating 16-bit aligned mouse icons'; \
  349. #            ln -s icons-16.h icons.h; \
  350. #        fi
  351.  
  352. #    create mgr version information
  353.  
  354. version.c:    $(OFILES)
  355.         echo "/* compilation info for $(MGR) */"     > version.c
  356.         @echo " "                    >> version.c
  357.         @echo "char *version[]={"            >> version.c
  358.         @echo "   \"$(VER)\",\"`hostname`\",\"`date`\",">> version.c
  359.         @echo "   \"`echo $(DFLAGS) | sed 's/-D//g'`\",">> version.c
  360.         @echo "   \"$(INSROOT)\","            >> version.c
  361.         @echo "   \"`whoami`\","            >> version.c
  362.         @echo "   \"`strings /vmunix | grep 'Release'`\",">> version.c
  363.         @echo "   };"                    >> version.c 
  364.  
  365. # The optimizer botches on this one
  366.  
  367. fast_scroll.o:    fast_scroll.c
  368.         $(CC) -O -fomit-frame-pointer -fcombine-regs -I. -c -I$(BLITDIR) fast_scroll.c
  369.  
  370. #    put copyright data into text segment
  371. copyright.o:    copyright.c copyright.h
  372.         $(CC) -c $(FLAG) $(DFLAGS) -I$(BLITDIR) -R copyright.c
  373.  
  374. $(BLITDIR)/blitlib.a FRClibrary:
  375.         cd $(BLITDIR); $(MAKE) FLAG='$(FLAG)' blitlib.a
  376. #        make blit library avaliable to the applications
  377.         -rm -f $(INCL)/blitlib.a $(INCL)/bitmap.h
  378.         -ln -s `pwd`/$(BLITDIR)/blitlib.a $(INCL)/blitlib.a
  379.         -ln -s `pwd`/$(BLITDIR)/bitmap.h $(INCL)/bitmap.h
  380.  
  381. $(LOG):        
  382.         echo "MGR version log > $(LOG)
  383.  
  384. clean:        
  385.         rm -f *.o core version.c $(ALLDOTFILES) .done
  386.         @for i in $(LIBS); do \
  387.             (cd $$i; $(MAKE) clean); \
  388.         done    
  389.  
  390. clobber:
  391.         rm -f compile_font $(ALLMGRS)
  392.  
  393. install:    .done $(INSDIR) /dev/bwtwo0
  394.         cd $(INSDIR);  rm -f $(MGR)
  395.         cp $(MGR) $(INSDIR)
  396.         -/etc/chown root $(INSDIR)/$(MGR)  && \
  397.          chmod u+s,go-w $(INSDIR)/$(MGR)
  398.  
  399. .done:
  400.         @echo "No MGR available to install"
  401.  
  402. $(INSDIR):
  403.         mkdir $@
  404.  
  405. /dev/bwtwo0:
  406.         -/bin/su root -c 'cd /dev;  MAKEDEV bwtwo0'
  407.  
  408. tar:        
  409.         tar cf $(TAR) `make list`
  410.         
  411. depend:    
  412.         dependencies `$(MAKE) list` > $(DEPEND)
  413.         echo " header file dependencies written to $(DEPEND)"
  414.  
  415. list:
  416.     @for i in $(HFILES) $(CFILES) $(OTHER); do \
  417.         echo "$(START)/$$i"; \
  418.     done    
  419.     @for i in $(LIBS); do \
  420.         echo "${START}/$$i";\
  421.         if [ -d $$i ]; then \
  422.              cd $$i; $(MAKE) START=${START}/$$i list; cd ..;\
  423.         fi \
  424.     done    
  425.  
  426. cpio:
  427.     make -s list  |  sort -u  |  cpio -ocv > $(CPIO)
  428.  
  429.  
  430. # header file dependencies go here 
  431.  
  432. Write.o: \
  433.     Write.c
  434.  
  435. bitmaphead.o: \
  436.     bitmaphead.c $(INCL)/dump.h $(BLITDIR)/bitmap.h
  437.  
  438. bitmapread.o: \
  439.     bitmapread.c $(INCL)/dump.h $(BLITDIR)/bitmap.h
  440.  
  441. border.o: \
  442.     border.c $(BLITDIR)/bitmap.h defs.h defines.h
  443.  
  444. copyright.c:    copyright.h
  445.  
  446. copyright.o: \
  447.     $(BLITDIR)/bitmap.h
  448.  
  449. cut.o: \
  450.     cut.c $(BLITDIR)/bitmap.h defs.h defines.h font.h $(INCL)/window.h \
  451.     event.h
  452.  
  453. data.o: \
  454.     data.c $(BLITDIR)/bitmap.h defs.h defines.h font.h icons.h
  455.  
  456. debug_flags.o: \
  457.     debug_flags.c
  458.  
  459. destroy.o: \
  460.     destroy.c $(BLITDIR)/bitmap.h defs.h defines.h font.h event.h
  461.  
  462. do_buckey.o: \
  463.     do_buckey.c $(BLITDIR)/bitmap.h defs.h defines.h font.h \
  464.     event.h
  465.  
  466. do_button.o: \
  467.     do_button.c $(BLITDIR)/bitmap.h menu.h defs.h defines.h \
  468.     font.h event.h
  469.  
  470. do_event.o: \
  471.     do_event.c $(BLITDIR)/bitmap.h defs.h defines.h font.h event.h
  472.  
  473. do_menu.o: \
  474.     do_menu.c $(BLITDIR)/bitmap.h menu.h defs.h defines.h font.h
  475.  
  476. down_load.o: \
  477.     down_load.c $(BLITDIR)/bitmap.h font.h defs.h defines.h \
  478.     menu.h event.h $(INCL)/window.h
  479.  
  480. erase_win.o: \
  481.     erase_win.c $(BLITDIR)/bitmap.h defs.h defines.h
  482.  
  483. font_subs.o: \
  484.     font_subs.c $(BLITDIR)/bitmap.h font.h default_font.h $(INCL)/window.h
  485.  
  486. get_font.o: \
  487.     get_font.c $(BLITDIR)/bitmap.h font.h
  488.  
  489. get_info.o: \
  490.     get_info.c $(BLITDIR)/bitmap.h font.h defs.h defines.h menu.h \
  491.     event.h $(INCL)/window.h
  492.  
  493. get_menus.o: \
  494.     get_menus.c $(BLITDIR)/bitmap.h menu.h font.h
  495.  
  496. get_rect.o: \
  497.     get_rect.c $(BLITDIR)/bitmap.h defs.h defines.h
  498.  
  499. get_text.o: \
  500.     get_text.c $(BLITDIR)/bitmap.h defs.h defines.h font.h event.h
  501.  
  502. getshell.o: \
  503.     getshell.c $(BLITDIR)/bitmap.h defs.h defines.h
  504.  
  505. graph_subs.o: \
  506.     graph_subs.c $(BLITDIR)/bitmap.h
  507.  
  508. intersect.o: \
  509.     intersect.c $(BLITDIR)/bitmap.h defs.h defines.h
  510.  
  511. kbd.o: \
  512.     kbd.c $(BLITDIR)/bitmap.h defs.h defines.h
  513.  
  514. mgr.o: \
  515.     mgr.c $(BLITDIR)/bitmap.h defs.h defines.h menu.h font.h \
  516.     event.h
  517.  
  518. mouse_get.o: \
  519.     mouse_get.c
  520.  
  521. move.o: \
  522.     move.c $(BLITDIR)/bitmap.h defs.h defines.h event.h
  523.  
  524. move_box.o: \
  525.     move_box.c $(BLITDIR)/bitmap.h defs.h defines.h
  526.  
  527. new_window.o: \
  528.     new_window.c $(BLITDIR)/bitmap.h defs.h defines.h font.h \
  529.     menu.h
  530.  
  531. print.o: \
  532.     print.c
  533.  
  534. put_window.o: \
  535.     put_window.c $(BLITDIR)/bitmap.h font.h defs.h defines.h \
  536.     menu.h event.h $(INCL)/window.h clip.h
  537.  
  538. scroll.o: \
  539.     scroll.c $(BLITDIR)/bitmap.h defs.h defines.h clip.h
  540.  
  541. set_mode.o: \
  542.     set_mode.c
  543.  
  544. shape.o: \
  545.     shape.c $(BLITDIR)/bitmap.h defs.h defines.h font.h event.h
  546.  
  547. sigdata.o: \
  548.     sigdata.c
  549.  
  550. startup.o: \
  551.     startup.c $(BLITDIR)/bitmap.h defs.h defines.h
  552.  
  553. subs.o: \
  554.     subs.c $(BLITDIR)/bitmap.h font.h defs.h defines.h event.h
  555.  
  556. update.o: \
  557.     update.c $(BLITDIR)/bitmap.h defs.h defines.h clip.h
  558.  
  559. utmp.o: \
  560.     utmp.c
  561.  
  562. win_make.o: \
  563.     win_make.c $(BLITDIR)/bitmap.h font.h defs.h defines.h $(INCL)/window.h \
  564.     event.h
  565.  
  566. win_stack.o: \
  567.     win_stack.c $(BLITDIR)/bitmap.h font.h defs.h defines.h \
  568.     $(INCL)/window.h menu.h event.h
  569.  
  570. win_subs.o: \
  571.     win_subs.c $(BLITDIR)/bitmap.h font.h defs.h defines.h $(INCL)/window.h \
  572.     clip.h
  573.  
  574. write_ok.o: \
  575.     write_ok.c defines.h
  576.  
  577. fast_scroll.o: \
  578.     fast_scroll.c $(BLITDIR)/bitmap.h
  579.  
  580. compile_font.o: \
  581.     compile_font.c $(BLITDIR)/bitmap.h font.h
  582.  
  583.