home *** CD-ROM | disk | FTP | other *** search
/ Encyclopedia of Graphics File Formats Companion / GFF_CD.ISO / software / unix / saoimage / sao1_07.tar / makefile.aux < prev    next >
Makefile  |  1993-05-04  |  17KB  |  453 lines

  1. #
  2. # makefile.aux for SAOimage    # Macintosh A/UX using GCC
  3. #
  4. # To build:
  5. #    % make (or `make all')    # build libs/program as necessary
  6. #
  7. # The full "make install" both installs SAOimage in Unix and sets up for
  8. # communications with IRAF:
  9. #    % make install
  10. #    (or `make install SAOBINDIR="/ourown/local/bindir"')
  11. #
  12. # Partial installs may also be used:
  13. #    % make install_saobin    # just install binary (can add SAOBINDIR)
  14. #    % make install_saoman    # just install manual page
  15. #    % make install_fifo    # just install IRAF fifo's
  16. #    % make install_imtoolrc    # just install IRAF imtoolrc file
  17. #
  18. # Other options:
  19. #    % make clean        # clean up object & miscellaneous other files
  20. #    % make tar        # make saoimage.tar in CWD
  21. #    % make -s pipe        # create tarfile on stdout for piping
  22. #    % make tape        # create tarfile on /dev/nrxt8
  23. #
  24. # Make macros (parameters) that can be specified on command line:
  25. #    SAOBINDIR        # Destination directory for SAOimage program
  26. #    SAOMANDIR        # Destination directory for on-line manpage
  27. #    ARCFILE            # Disk archive file name (used with make tar)
  28. #    TAPEDEV            # Tape archive device name (used with make tape)
  29. #
  30. #  May 6, 1991
  31.  
  32. # Installation directories and filenames: edit as necessary or supply on the
  33. # command line.  If the location of the default imtoolrc file is changed by
  34. # modifying either IMTRCDIR or IMTOOLRC, irafenv.c should be recompiled.
  35. # (The include file hfiles/imtool.h has an ifdef to detect the value of
  36. # FBCONFIG_2, which is set to the value of IMTOOLRC in the definition of
  37. # the CFLAGS macro below.)
  38.  
  39. SAOBINDIR = $(ROOT)/usr/local/bin/
  40. SAOMANDIR = $(ROOT)/usr/man/manl/
  41. IMTRCDIR  = $(ROOT)/usr/local/lib/
  42.  
  43. IMTOOLRC  = $(IMTRCDIR)imtoolrc
  44. FIFO_I    = $(ROOT)/dev/imt1i
  45. FIFO_O    = $(ROOT)/dev/imt1o
  46. FIFO_LN   = $(ROOT)/dev/imt1
  47.  
  48. # Compiler specification.
  49. #CC = cc
  50. # Uncomment these two lines to compile with gcc (add any optimizers you wish).
  51. #CC = gcc -finline-functions -fdelayed-branch -fstrength-reduce
  52. CC = gcc -finline-functions -fstrength-reduce
  53. #  Delayed branches could win big on RISC: many inner loops have branches
  54. #  Most loops have already been designed with strength reduction
  55. #TARGET_ARCH =
  56.  
  57. # IFLAGS: image reading code to be built into SAOimage.
  58. #   -DFITS - reads array files with FITS headers
  59. #   -DOIF - reads IRAF .imh/(.pix) files with detached headers
  60. #   -DIMTOOL - include code to support imtool interactions with IRAF
  61. # Imtool interaction is enabled by default.  The consequences of this are
  62. # that warning messages about missing fifos are displayed when SAOimage is
  63. # fired up on a system where the fifos are absent.  Other than this, the
  64. # standalone operation is unhindered.
  65.  
  66. IFLAGS = -DFITS -DOIF -DIMTOOL
  67.  
  68. # MFLAGS: machine or library specific code.
  69. #   -DSUN - SunOS temp file name, IEEE floating point debug, and Sun keyboard
  70. #   -DLSB - byte swap for FITS (VAX and DECstations)
  71. #   -DSYSV - substitutes for getdtablesize() and setrlimit() not widely known
  72. #   -DPSCRIPT - hard copy output to a PostScript printer (else no hardcopy)
  73.  
  74. MFLAGS = -DPSCRIPT -DSYSV
  75.  
  76. # OFLAGS: compiler optimization/debug options.
  77.  
  78. #OFLAGS = -g -DDEBUG
  79. OFLAGS = -O
  80.  
  81. # ADFLAGS: architecture-dependent floating point flags, etc.
  82.  
  83. ADFLAGS =
  84.  
  85. # Libraries that move about or may require special specification.
  86. #
  87. # SAOimage requires the standard libX11.a library; if this is not in the
  88. # usual link search path, i.e., it is not in /usr/lib, it may be necessary
  89. # to specify its path fully in XLIB.
  90.  
  91. XLIB = -lX11
  92. #F77LIB = -lF77 -lI77 -lU77
  93.  
  94. # END OF INSTALLATION DEPENDENT SETUP. ========================================
  95. # It should not be necessary to edit anything below this line.
  96.  
  97. ARCH   = aux
  98. LINT   = lint
  99. MKNOD  = /etc/mknod
  100. MV     = mv -f
  101. #RANLIB = echo
  102. RANLIB = ranlib
  103. RM     = rm -f
  104. SHELL  = /bin/sh
  105.  
  106. CFLAGS = $(OFLAGS) $(ADFLAGS) $(MFLAGS) $(IFLAGS) -DFBCONFIG_2=\"$(IMTOOLRC)\"
  107.  
  108. # SAOimage libraries that live in subdirectories with their own makefiles.
  109. # This definition must be kept in correspondence with the DEPLIBS target.
  110.  
  111. DEPLIBS=btnlib/libbtn.a
  112.  
  113. LIBS = -lm $(DEPLIBS) $(XLIB)
  114.  
  115. HFILES = \
  116.     hfiles/buffer.h        hfiles/cgraph.h        hfiles/cmdparse.h \
  117.     hfiles/color.h        hfiles/colormap.h    hfiles/constant.h \
  118.     hfiles/control.h    hfiles/coord.h        hfiles/cursor.h \
  119.     hfiles/define.h        hfiles/edit.h        hfiles/extern.h    \
  120.     hfiles/histeq.h        hfiles/image.h        hfiles/imtool.h \
  121.     hfiles/magnify.h    hfiles/region.h        hfiles/rtcmd.h \
  122.     hfiles/scale.h        hfiles/struct.h     hfiles/window.h
  123.  
  124. DEFILES = \
  125.     defs/btnbox.def        defs/cgraph.def        defs/circle.def \
  126.     defs/color.def        defs/colorbox.def    defs/colormap.def \
  127.     defs/control.def    defs/cursor.def        defs/desktop.def \
  128.     defs/dispbox.def    defs/dither.def        defs/graphbox.def \
  129.     defs/image.def        defs/magnibox.def    defs/magnify.def \
  130.     defs/magnify.def    defs/mouse.def        defs/panbox.def
  131.  
  132. SRCS =    cmddisp.c    cmdimage.c    cmdnew.c    cmdparse.c \
  133.     clralloc.c    clrctrl.c    clrhard.c    clrinit.c \
  134.     clrmap.c    clrmenu.c    clrread.c    clrsetup.c \
  135.     clrvary.c \
  136.     crdinvrt.c    crdrot.c    crdset.c    crdsynth.c \
  137.     crdtemp.c    crdtrans.c \
  138.     csranli.c    csrarea.c    csrcoord.c    csrctrl.c \
  139.     csrdraw.c    csrgrab.c    csrmove.c    csrpoly1.c \
  140.     csrpoly2.c    csrpoly3.c    csrsave.c    csrshape.c \
  141.     csrslct.c       csrtext.c \
  142.     ctrlcntn.c    ctrldisk.c    ctrlfile.c    ctrlgc.c \
  143.     ctrlmbox.c    ctrlpipe.c    ctrlsckt.c \
  144.     dispblnk.c    dispbtmp.c    dispdfse.c    dispdthr.c \
  145.     display.c    disppsct.c    disppxmp.c \
  146.     editctrl.c    editdraw.c    editemcs.c    editinit.c \
  147.     editline.c    editrdrw.c \
  148.     grphbar.c    grphbtmp.c    grphctrl.c    grphdraw.c \
  149.     grphgrab.c    grphinit.c    grphlbl.c    grphline.c \
  150.     grphmove.c    grpholap.c    grphpos.c    grphtext.c \
  151.     histdist.c    histeql.c    histlist.c    histmap.c \
  152.     histscan.c    histzero.c \
  153.     imgcheck.c    imgflip.c    imglogo.c    imgnew.c \
  154.     imgparam.c    imgread.c    imgrot.c    imgtrans.c \
  155.     irafcrd.c    irafdisp.c    irafenv.c    iraffdbk.c \
  156.     irafimtl.c    irafio.c    irafpipe.c \
  157.     mainbffr.c    mainevnt.c    maininit.c    mainkey.c \
  158.     mainslct.c    mainutil.c \
  159.     menuctrl.c    menuinit.c \
  160.     mgfyctrl.c    mgfydraw.c    mgfyinit.c    mgfymark.c \
  161.     mgfytabl.c    mgfyval.c \
  162.     pancopy.c    pancrsr.c    panctrl.c    panimage.c \
  163.     panwndw.c \
  164.     readarr.c    readfith.c    readfits.c    readint.c \
  165.     readiraf.c    readreal.c \
  166.     rgnanli.c    rgnctrl.c    rgndraw.c    rgndrop.c \
  167.     rgnmake.c    rgnread.c    rgntoken.c    rgnwpros.c \
  168.     rgnwrite.c \
  169.     rtcmd.c        rtio.c \
  170.     sclctrl.c    sclmap.c \
  171.     wndwadj.c    wndwconf.c    wndwcre.c    wndwinit.c \
  172.     wndwmaus.c
  173.  
  174. OBJS =    clralloc.o    clrctrl.o    clrhard.o    clrinit.o \
  175.     clrmap.o    clrmenu.o    clrread.o    clrsetup.o \
  176.     clrvary.o \
  177.     cmddisp.o    cmdimage.o    cmdnew.o    cmdparse.o \
  178.     crdinvrt.o    crdrot.o    crdset.o    crdsynth.o \
  179.     crdtemp.o    crdtrans.o \
  180.     csranli.o    csrarea.o    csrcoord.o    csrctrl.o \
  181.     csrdraw.o    csrgrab.o    csrmove.o    csrpoly1.o \
  182.     csrpoly2.o    csrpoly3.o    csrsave.o    csrshape.o \
  183.     csrslct.o     csrtext.o \
  184.     ctrlcntn.o    ctrldisk.o    ctrlfile.o    ctrlgc.o \
  185.     ctrlmbox.o    ctrlpipe.o    ctrlsckt.o \
  186.     dispblnk.o    dispbtmp.o    dispdfse.o    dispdthr.o \
  187.     display.o    disppsct.o    disppxmp.o \
  188.     editctrl.o    editdraw.o    editemcs.o    editinit.o \
  189.     editline.o    editrdrw.o \
  190.     grphbar.o    grphbtmp.o    grphctrl.o    grphdraw.o \
  191.     grphgrab.o    grphinit.o    grphlbl.o    grphline.o \
  192.     grphmove.o    grpholap.o    grphpos.o    grphtext.o \
  193.     histdist.o    histeql.o    histlist.o    histmap.o \
  194.     histscan.o    histzero.o \
  195.     imgcheck.o    imgflip.o    imglogo.o    imgnew.o \
  196.     imgparam.o    imgread.o    imgrot.o    imgtrans.o \
  197.     irafcrd.o    irafdisp.o    irafenv.o    iraffdbk.o \
  198.     irafimtl.o    irafio.o    irafpipe.o \
  199.     mainbffr.o    mainevnt.o    maininit.o    mainkey.o \
  200.     mainslct.o    mainutil.o \
  201.     menuctrl.o    menuinit.o    menupanl.o \
  202.     mgfyctrl.o    mgfydraw.o    mgfyinit.o    mgfymark.o \
  203.     mgfytabl.o    mgfyval.o \
  204.     pancopy.o    pancrsr.o    panctrl.o    panimage.o \
  205.     panwndw.o \
  206.     readarr.o    readfith.o    readfits.o    readint.o \
  207.     readiraf.o    readreal.o \
  208.     rgnanli.o    rgnctrl.o    rgndraw.o    rgndrop.o \
  209.     rgnmake.o    rgnread.o    rgntoken.o    rgnwpros.o \
  210.     rgnwrite.o \
  211.     sclctrl.o    sclmap.o \
  212.     wndwadj.o    wndwconf.o    wndwcre.o    wndwinit.o \
  213.     wndwmaus.o
  214.  
  215. MANPAGE = doc/saoimage.man
  216.  
  217. PROGRAM = saoimage
  218.  
  219. all:
  220.     $(MAKE) $(PROGRAM)
  221.  
  222. $(PROGRAM):    $(DEPLIBS) $(OBJS)
  223.     @echo Building $(PROGRAM) for architecture $(ARCH).
  224.     $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)
  225.  
  226. $(DEPLIBS):
  227.     @echo Building $(DEPLIBS)...
  228.     cd btnlib; $(MAKE) CFLAGS="-c $(OFLAGS) $(ADFLAGS) $(MFLAGS)" CC="$(CC)"
  229.  
  230. lint:
  231.     $(LINT) -DDEBUG $(MFLAGS) $(IFLAGS) $(SRCS)
  232.  
  233. clean:
  234.     cd btnlib; $(MAKE) clean
  235.     $(RM) a.out core spool $(PROGRAM) *.o *.bak $(DEPLIBS)
  236.  
  237.  
  238. # SAOimage installation.
  239.  
  240. install: install_saobin install_saoman install_fifo install_imtoolrc
  241.  
  242. # Install SAOimage executable.
  243. install_saobin: $(PROGRAM)
  244.     for f in $(SAOBINDIR)$(PROGRAM); do $(RM) $$f; cp $(PROGRAM) $$f; done
  245.  
  246. # Install SAOimage manpage.  Note that this assumes that man can process the
  247. # raw source file (with *roff -man directives) to display manual pages.  If
  248. # this is not the case, it may be necessary to run catman or some such program
  249. # in order for the manpage to be accessible on-line.
  250.  
  251. install_saoman: $(MANPAGE)
  252.     for f in $(SAOMANDIR)$(PROGRAM).l; do $(RM) $$f; cp $(MANPAGE) $$f; done
  253.  
  254. # Install named pipes and create symbolic link if necessary; *must be root*.
  255. install_fifo:
  256.     for f in $(FIFO_I) $(FIFO_O); do \
  257.         (if [ ! -f $$f ]; then \
  258.             $(MKNOD) $$f p; chmod 777 $$f; \
  259.         fi;) done;
  260.     for f in $(FIFO_LN); do \
  261.         (if [ ! -f $$f ]; then \
  262.         echo OKK; ln -s $(FIFO_O) $(FIFO_LN); fi;) done
  263.  
  264. # Install imtoolrc file if necessary; current hardwired location may change...
  265. # Note that VAX systems (BSD, Ultrix, VMS) do not have fifos.
  266.  
  267. install_imtoolrc:
  268.     for f in $(IMTOOLRC); do \
  269.         (if [ -f $$f ]; then \
  270.         $(MV) $(IMTOOLRC) $(IMTOOLRC).OLD; fi; \
  271.         cp imtoolrc $(IMTOOLRC);); done
  272.  
  273.  
  274. # Automated archive bundling.
  275.  
  276. ARCFILE = saoimage.tar
  277. TAPEDEV = /dev/nrxt8
  278.  
  279. tar:
  280.     tar cfv $(ARCFILE) makefile makefile.* \
  281.     $(SRCS) $(HFILES) $(DEFILES) \
  282.     imtoolrc *.txt doc/* make.* vms/* \
  283.     btnlib/*.c btnlib/*.h btnlib/readme btnlib/make.* btnlib/makefile \
  284.     btnlib/tool/*.c btnlib/tool/*.h btnlib/tool/makefile \
  285.     panel/*.c panel/*.h panel/*.mnu panel/makefile
  286.  
  287. pipe:
  288.     $(MAKE) ARCFILE=- tar
  289.  
  290. tape:
  291.     $(MAKE) ARCFILE=$(TAPEDEV) tar
  292.  
  293.  
  294. XLIBH = /usr/include/X11/Xlib.h /usr/include/X11/Xutil.h
  295. STRUCT = hfiles/struct.h hfiles/buffer.h hfiles/color.h hfiles/control.h \
  296.      hfiles/coord.h hfiles/cursor.h hfiles/image.h hfiles/window.h
  297. WORKS = $(XLIBH) $(STRUCT) hfiles/constant.h hfiles/extern.h
  298.  
  299. clralloc.o    : $(XLIBH) hfiles/color.h hfiles/define.h
  300. clrbar.o    :
  301. clrctrl.o    : $(WORKS) hfiles/cgraph.h
  302. clrhard.o    : $(XLIBH) hfiles/color.h
  303. clrinit.o    : $(XLIBH) hfiles/color.h hfiles/control.h
  304. clrmap.o    : $(XLIBH) hfiles/color.h hfiles/define.h
  305. clrmenu.o    : $(XLIBH) hfiles/color.h hfiles/colormap.h hfiles/constant.h \
  306.         hfiles/define.h hfiles/edit.h defs/colormap.def
  307. clrread.o    : hfiles/colormap.h hfiles/define.h
  308. clrsetup.o    : $(XLIBH) hfiles/color.h
  309. clrvary.o    : $(WORKS) hfiles/cgraph.h hfiles/define.h
  310. cmddisp.o    : $(WORKS) hfiles/cmdparse.h
  311. cmdimage.o    : $(WORKS) hfiles/cmdparse.h
  312. cmdnew.o    : $(XLIBH) $(STRUCT) hfiles/cmdparse.h hfiles/define.h \
  313.         hfiles/extern.h
  314. cmdparse.o    : $(WORKS) hfiles/cmdparse.h
  315. crdinvrt.o    : hfiles/coord.h
  316. crdrot.o    : hfiles/coord.h
  317. crdset.o    : hfiles/coord.h hfiles/image.h
  318. crdsynth.o    : hfiles/coord.h
  319. crdtemp.o    : hfiles/coord.h
  320. crdtrans.o    : hfiles/coord.h
  321. csranli.o    : $(XLIBH) hfiles/color.h hfiles/cursor.h
  322. csrarea.o    : $(XLIBH) hfiles/color.h hfiles/constant.h hfiles/cursor.h
  323. csrcoord.o    : $(XLIBH) hfiles/color.h hfiles/constant.h hfiles/coord.h \
  324.         hfiles/cursor.h
  325. csrctrl.o    : $(WORKS)
  326. csrdraw.o    : $(XLIBH) hfiles/color.h hfiles/constant.h hfiles/cursor.h
  327. csrgrab.o    : $(XLIBH) hfiles/color.h hfiles/constant.h hfiles/cursor.h \
  328.         hfiles/define.h
  329. csrmove.o    : $(XLIBH) hfiles/color.h hfiles/constant.h hfiles/cursor.h \
  330.         hfiles/define.h
  331. csrpoly1.o    : $(XLIBH) hfiles/color.h hfiles/coord.h hfiles/cursor.h \
  332.         hfiles/define.h
  333. csrpoly2.o    : $(XLIBH) hfiles/color.h hfiles/constant.h hfiles/coord.h \
  334.         hfiles/cursor.h
  335. csrpoly3.o    : $(XLIBH)
  336. csrsave.o    : $(XLIBH) hfiles/color.h hfiles/constant.h hfiles/cursor.h
  337. csrshape.o    : $(XLIBH) hfiles/color.h hfiles/constant.h hfiles/cursor.h \
  338.         defs/circle.def
  339. csrslct.o    : $(WORKS)
  340. csrtext.o     : $(WORKS) hfiles/edit.h hfiles/region.h
  341. ctrlcntn.o    : $(XLIBH) hfiles/control.h
  342. ctrldisk.o    :
  343. ctrlfile.o    : $(XLIBH) hfiles/edit.h
  344. ctrlgc.o    : $(XLIBH) hfiles/color.h hfiles/define.h
  345. ctrlmbox.o    : $(XLIBH) hfiles/control.h
  346. ctrlpipe.o    :
  347. ctrlsckt.o    : $(XLIBH) hfiles/control.h
  348. dispblnk.o    : $(WORKS)
  349. dispbtmp.o    : $(WORKS) hfiles/define.h hfiles/scale.h defs/dither.def
  350. dispdfse.o    :
  351. dispdthr.o    :
  352. display.o    : $(XLIBH) $(STRUCT) hfiles/define.h hfiles/extern.h \
  353.         hfiles/scale.h
  354. disppsct.o    : $(WORKS) hfiles/define.h hfiles/scale.h hfiles/region.h
  355. disppxmp.o    : hfiles/coord.h
  356. grphbar.o    :
  357. grphbtmp.o    : $(XLIBH) hfiles/color.h
  358. grphctrl.o    : $(WORKS) hfiles/cgraph.h defs/cgraph.def
  359. grphdraw.o    : $(XLIBH) hfiles/cgraph.h hfiles/color.h
  360. grphgrab.o    : $(XLIBH) hfiles/cgraph.h hfiles/color.h
  361. grphinit.o    : $(XLIBH) $(STRUCT) hfiles/cgraph.h hfiles/extern.h
  362. grphlbl.o    : $(XLIBH) $(STRUCT) hfiles/cgraph.h hfiles/define.h \
  363.         hfiles/extern.h
  364. grphline.o    : $(XLIBH) hfiles/cgraph.h hfiles/color.h
  365. grphmove.o    : $(XLIBH) hfiles/cgraph.h hfiles/color.h
  366. grpholap.o    : $(XLIBH) hfiles/cgraph.h hfiles/color.h
  367. grphpos.o    : $(XLIBH)
  368. grphtext.o    : $(XLIBH) $(STRUCT) hfiles/cgraph.h hfiles/extern.h
  369. editctrl.o    : $(XLIBH) hfiles/color.h hfiles/window.h hfiles/edit.h
  370. editdraw.o    : $(XLIBH) hfiles/define.h hfiles/edit.h
  371. editemcs.o    : $(XLIBH) hfiles/edit.h
  372. editinit.o    : $(XLIBH) hfiles/edit.h
  373. editline.o    : $(XLIBH) hfiles/edit.h
  374. editrdrw.o    : $(XLIBH) hfiles/edit.h
  375. histdist.o    : hfiles/histeq.h
  376. histeql.o    : hfiles/histeq.h
  377. histlist.o    : hfiles/histeq.h
  378. histmap.o    : hfiles/histeq.h
  379. histscan.o    : hfiles/histeq.h
  380. histzero.o    : hfiles/histeq.h
  381. imgcheck.o    : hfiles/cmdparse.h hfiles/constant.h hfiles/image.h
  382. imgflip.o    :
  383. imglogo.o    :
  384. imgnew.o    : $(WORKS) hfiles/define.h
  385. imgparam.o    : hfiles/coord.h hfiles/define.h hfiles/image.h
  386. imgread.o    : $(WORKS)
  387. imgrot.o    :
  388. imgtrans.o    : hfiles/define.h
  389. irafcrd.o    : $(XLIBH) $(STRUCT) hfiles/extern.h
  390. irafdisp.o    : $(WORKS) hfiles/scale.h
  391. irafenv.o    : hfiles/coord.h hfiles/define.h hfiles/image.h hfiles/imtool.h
  392. iraffdbk.o    : $(WORKS)
  393. irafimtl.o    : $(WORKS) hfiles/imtool.h
  394. irafio.o    : $(WORKS) hfiles/control.h hfiles/imtool.h
  395. irafpipe.o    : hfiles/imtool.h
  396. mainbffr.o    : $(XLIBH) $(WORKS) hfiles/scale.h
  397. mainevnt.o    : $(WORKS) hfiles/define.h
  398. maininit.o    : $(XLIBH) $(STRUCT) hfiles/constant.h hfiles/define.h \
  399.         defs/color.def defs/control.def defs/image.def \
  400.         defs/dispbox.def defs/magnibox.def defs/panbox.def \
  401.         defs/btnbox.def defs/colorbox.def defs/graphbox.def \
  402.         defs/desktop.def defs/cursor.def
  403. mainkey.o    : $(WORKS) /usr/include/X11/keysym.h \
  404.         /usr/include/X11/keysymdef.h
  405. mainslct.o    : $(WORKS)
  406. mainutil.o    : $(XLIBH) $(STRUCT) hfiles/extern.h
  407. menuctrl.o    : $(WORKS) btnlib/buttons.h
  408. menuinit.o    : $(XLIBH) btnlib/buttons.h hfiles/window.h
  409. menupanl.o    : panel/makemenu.c panel/menucmap.h panel/menuclr.h \
  410.         panel/menucsr.h panel/menuetc.h panel/menumain.h \
  411.         panel/menumono.h panel/menupan.h panel/menurgn.h \
  412.         panel/menuscl.h
  413.         $(CC) -c $(CFLAGS) panel/makemenu.c; $(MV) makemenu.o menupanl.o
  414. mgfyctrl.o    : $(WORKS) hfiles/magnify.h
  415. mgfydraw.o    : $(XLIBH) hfiles/color.h hfiles/magnify.h
  416. mgfyinit.o    : $(XLIBH) $(STRUCT) hfiles/define.h hfiles/extern.h \
  417.         hfiles/scale.h hfiles/magnify.h
  418. mgfymark.o    : $(XLIBH) hfiles/color.h hfiles/magnify.h defs/magnify.def
  419. mgfytabl.o    : $(XLIBH) $(STRUCT) hfiles/extern.h
  420. mgfyval.o    : $(WORKS)
  421. pancopy.o    : hfiles/define.h
  422. pancrsr.o    : $(XLIBH) $(STRUCT) hfiles/extern.h
  423. panctrl.o    : $(WORKS)
  424. panimage.o    : $(XLIBH) $(STRUCT) hfiles/define.h hfiles/extern.h
  425. panwndw.o    : $(XLIBH) $(STRUCT) hfiles/define.h hfiles/extern.h
  426. readarr.o    : hfiles/constant.h hfiles/image.h
  427. readfith.o    :
  428. readfits.o    : hfiles/constant.h hfiles/image.h
  429. readint.o    : hfiles/image.h hfiles/scale.h
  430. readiraf.o    : hfiles/constant.h hfiles/image.h
  431. readreal.o    : hfiles/image.h hfiles/scale.h
  432. rgnanli.o    : $(XLIBH) hfiles/color.h hfiles/cursor.h
  433. rgnctrl.o    : $(WORKS)
  434. rgndraw.o    : $(WORKS) hfiles/define.h hfiles/region.h
  435. rgndrop.o    : $(XLIBH) hfiles/constant.h hfiles/color.h hfiles/cursor.h \
  436.         hfiles/define.h
  437. rgnmake.o    : $(WORKS) hfiles/define.h
  438. rgnread.o    : $(WORKS) hfiles/define.h hfiles/edit.h hfiles/region.h
  439. rgntoken.o    : $(XLIBH) hfiles/constant.h hfiles/region.h
  440. rgnwpros.o    : $(WORKS) hfiles/color.h hfiles/constant.h hfiles/cursor.h \
  441.         hfiles/define.h
  442. rgnwrite.o    : $(XLIBH) hfiles/constant.h hfiles/color.h hfiles/cursor.h \
  443.         hfiles/define.h hfiles/edit.h hfiles/image.h
  444. rtcmd.o        : $(WORKS) hfiles/rtcmd.h
  445. rtio.o        : $(XLIBH) hfiles/control.h hfiles/rtcmd.h
  446. sclctrl.o    : $(WORKS) hfiles/define.h hfiles/scale.h
  447. sclmap.o    : $(WORKS) hfiles/scale.h
  448. wndwadj.o    : $(XLIBH) $(STRUCT) hfiles/extern.h hfiles/cgraph.h
  449. wndwconf.o    : $(XLIBH) $(STRUCT) hfiles/extern.h
  450. wndwcre.o    : $(XLIBH) hfiles/window.h
  451. wndwinit.o    : $(XLIBH) $(STRUCT) hfiles/define.h hfiles/extern.h
  452. wndwmaus.o    : $(WORKS) defs/mouse.def
  453.