home *** CD-ROM | disk | FTP | other *** search
/ Encyclopedia of Graphics File Formats Companion / GFF_CD.ISO / software / unix / saoimage / sao1_07.tar / makefile.sgi < prev    next >
Makefile  |  1991-07-03  |  17KB  |  452 lines

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