home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Source / GNU / cctools / include / Makefile next >
Encoding:
Makefile  |  1993-06-29  |  2.5 KB  |  78 lines

  1. # Note that the macros are not used for the install target any more with the
  2. # change to the install(1) program.  Edit the install commands.
  3.  
  4. FILES = mach-o/ldsyms.h mach-o/reloc.h mach-o/rld.h
  5. LOCFILES = mach-o/rld_state.h mach-o/sarld.h mach-o/i860/reloc.h \
  6.        mach-o/m88k/reloc.h mach-o/m88k/disasm.h mach-o/m88k/parseinst.h \
  7.        mach-o/m98k/reloc.h
  8. COMPAT = 2.0Compat
  9. COMPATFILES = ldsyms.h reloc.h rld.h
  10.  
  11. # Note that OTHER_SRCS do NOT get installed
  12. OTHER_SRCS = notes gnu/a.out.h gnu/symseg.h gnu/exec.h \
  13.          stuff/allocate.h stuff/arch.h stuff/errors.h stuff/execute.h \
  14.          stuff/bool.h stuff/bytesex.h stuff/round.h stuff/ofile.h \
  15.          stuff/hash_string.h stuff/breakout.h stuff/best_arch.h
  16.  
  17. # Note that MISSING_SRCS are those may not be on all build machines
  18. MISSING_SRCS = mach/i860/thread_status.h mach/machine.h \
  19.            architecture/i386/fpu.h architecture/i386/frame.h \
  20.            mach/m98k/thread_status.h \
  21.            architecture/nrw/reg_help.h \
  22.            architecture/nrw/macro_help.h \
  23.            architecture/m98k/reg_help.h \
  24.            architecture/m98k/basic_regs.h \
  25.            architecture/m98k/m98601_regs.h \
  26.            architecture/m98k/fp_regs.h \
  27.            mach/m88k/thread_status.h \
  28.            architecture/m88k/fp_regs.h \
  29.            architecture/m88k/reg_help.h \
  30.            standalone/libsa.h
  31.  
  32. INCDIR = /NextDeveloper/Headers
  33. LOCINCDIR = /LocalDeveloper/Headers
  34. COMPATDIR = /NextDeveloper/2.0CompatibleHeaders
  35.  
  36. SRC_FILES = Makefile $(FILES) $(LOCFILES) $(COMPAT) $(OTHER_SRCS) $(MISSING_SRCS)
  37.  
  38. installsrc installGNUsrc:
  39.     mkdirs $(SRCROOT)
  40.     chmod 755 $(SRCROOT)
  41.     tar cf - $(SRC_FILES) | (cd $(SRCROOT); tar xf -)
  42.  
  43. install: dirs
  44.     cd mach-o; \
  45.         install -m 444 ${IFLAGS} ldsyms.h reloc.h rld.h \
  46.         ${DSTROOT}${INCDIR}/mach-o
  47.     cd mach-o; \
  48.         install -m 444 ${IFLAGS} rld_state.h \
  49.         ${DSTROOT}${LOCINCDIR}/mach-o
  50.     cd mach-o; \
  51.         install -m 444 ${IFLAGS} sarld.h \
  52.         ${DSTROOT}${LOCINCDIR}/mach-o
  53.     cd mach-o/i860; \
  54.         install -m 444 ${IFLAGS} reloc.h \
  55.         ${DSTROOT}${LOCINCDIR}/mach-o/i860
  56.     cd mach-o/m88k; \
  57.         install -m 444 ${IFLAGS} reloc.h disasm.h parseinst.h \
  58.         ${DSTROOT}${LOCINCDIR}/mach-o/m88k
  59.     cd mach-o/m98k; \
  60.         install -m 444 ${IFLAGS} reloc.h \
  61.         ${DSTROOT}${LOCINCDIR}/mach-o/m98k
  62.     cd $(COMPAT); \
  63.         install -m 444 ${IFLAGS} ${COMPATFILES} ${DSTROOT}${COMPATDIR}
  64.  
  65. dirs:
  66.     mkdirs ${DSTROOT}${INCDIR}/mach-o
  67.     mkdirs ${DSTROOT}${LOCINCDIR}/mach-o
  68.     mkdirs ${DSTROOT}${LOCINCDIR}/mach-o/i860
  69.     mkdirs ${DSTROOT}${LOCINCDIR}/mach-o/m88k
  70.     mkdirs ${DSTROOT}${LOCINCDIR}/mach-o/m98k
  71.     mkdirs ${DSTROOT}${COMPATDIR}
  72.  
  73. depend:
  74.  
  75. clean:
  76.  
  77. all:
  78.