home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / cctools / include / Makefile next >
Makefile  |  1995-05-25  |  3KB  |  87 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 mach-o/dyld.h \
  5.     mach-o/nlist.h mach-o/stab.h mach-o/loader.h mach-o/fat.h \
  6.     mach-o/hppa/reloc.h mach-o/dyld_debug.h
  7. LOCFILES = mach-o/rld_state.h mach-o/sarld.h mach-o/i860/reloc.h \
  8.        mach-o/m88k/reloc.h mach-o/m98k/reloc.h mach-o/sparc/reloc.h
  9.  
  10. # Note that OTHER_SRCS do NOT get installed
  11. OTHER_SRCS = notes gnu/a.out.h gnu/symseg.h gnu/exec.h \
  12.          stuff/allocate.h stuff/arch.h stuff/errors.h stuff/execute.h \
  13.          stuff/bool.h stuff/bytesex.h stuff/round.h stuff/ofile.h \
  14.          stuff/hash_string.h stuff/breakout.h stuff/best_arch.h \
  15.          stuff/hppa.h stuff/reloc.h stuff/vm_flush_cache.h \
  16.          stuff/print.h stuff/version_number.h
  17.  
  18. # Note that MISSING_SRCS are those may not be on all build machines
  19. MISSING_SRCS = mach/i860/thread_status.h mach/machine.h \
  20.            architecture/i386/fpu.h architecture/i386/frame.h \
  21.            mach/m98k/thread_status.h \
  22.            architecture/nrw/reg_help.h \
  23.            architecture/nrw/macro_help.h \
  24.            architecture/m98k/reg_help.h \
  25.            architecture/m98k/basic_regs.h \
  26.            architecture/m98k/m98601_regs.h \
  27.            architecture/m98k/fp_regs.h \
  28.            mach/m88k/thread_status.h \
  29.            architecture/m88k/fp_regs.h \
  30.            architecture/m88k/reg_help.h \
  31.            standalone/libsa.h \
  32.            mach/hppa/thread_status.h \
  33.            mach/sparc/thread_status.h \
  34.            architecture/sparc/reg.h
  35.  
  36. INCDIR = /NextDeveloper/Headers
  37. LOCINCDIR = /LocalDeveloper/Headers
  38.  
  39. SRC_FILES = Makefile $(FILES) $(LOCFILES) $(OTHER_SRCS) $(MISSING_SRCS)
  40.  
  41. installsrc installGNUsrc:
  42.     mkdirs $(SRCROOT)
  43.     chmod 755 $(SRCROOT)
  44.     tar cf - $(SRC_FILES) | (cd $(SRCROOT); tar xf -)
  45.  
  46. install: dirs
  47.     cd mach-o; \
  48.         install -m 444 ${IFLAGS} ldsyms.h reloc.h rld.h dyld.h \
  49.         dyld_debug.h nlist.h stab.h loader.h fat.h \
  50.         ${DSTROOT}${INCDIR}/mach-o
  51.     cd mach-o/hppa; \
  52.         install -m 444 ${IFLAGS} reloc.h \
  53.         ${DSTROOT}${INCDIR}/mach-o/hppa
  54.     cd mach-o/sparc; \
  55.         install -m 444 ${IFLAGS} reloc.h \
  56.         ${DSTROOT}${INCDIR}/mach-o/sparc
  57.     cd mach-o; \
  58.         install -m 444 ${IFLAGS} rld_state.h \
  59.         ${DSTROOT}${LOCINCDIR}/mach-o
  60.     cd mach-o; \
  61.         install -m 444 ${IFLAGS} sarld.h \
  62.         ${DSTROOT}${LOCINCDIR}/mach-o
  63.     cd mach-o/i860; \
  64.         install -m 444 ${IFLAGS} reloc.h \
  65.         ${DSTROOT}${LOCINCDIR}/mach-o/i860
  66.     cd mach-o/m88k; \
  67.         install -m 444 ${IFLAGS} reloc.h \
  68.         ${DSTROOT}${LOCINCDIR}/mach-o/m88k
  69.     cd mach-o/m98k; \
  70.         install -m 444 ${IFLAGS} reloc.h \
  71.         ${DSTROOT}${LOCINCDIR}/mach-o/m98k
  72.  
  73. dirs:
  74.     mkdirs ${DSTROOT}${INCDIR}/mach-o
  75.     mkdirs ${DSTROOT}${INCDIR}/mach-o/hppa
  76.     mkdirs ${DSTROOT}${INCDIR}/mach-o/sparc
  77.     mkdirs ${DSTROOT}${LOCINCDIR}/mach-o
  78.     mkdirs ${DSTROOT}${LOCINCDIR}/mach-o/i860
  79.     mkdirs ${DSTROOT}${LOCINCDIR}/mach-o/m88k
  80.     mkdirs ${DSTROOT}${LOCINCDIR}/mach-o/m98k
  81.  
  82. depend:
  83.  
  84. clean shlib_clean:
  85.  
  86. all:
  87.