home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / DEV.Z / winnt-specific.make < prev    next >
Text File  |  1996-09-08  |  3KB  |  118 lines

  1. #
  2. # winnt-specific.make
  3. #
  4.  
  5. OS_PREFIX = WINDOWS_
  6.  
  7. DISABLE_VERSIONING = YES
  8. DISABLE_FAT_BUILDS = YES
  9. DISABLE_PRECOMPS   = YES
  10. DISABLE_OBJCPLUSPLUS = YES
  11. ALWAYS_USE_OFILELISTS = YES
  12.  
  13. EXECUTABLE_EXT = .exe
  14. DYNALIB_EXT = .dll
  15. BUNDLE_BINARY_EXT = .dll
  16. STATICLIB_EXT = .lib
  17. LIBRARY_EXT = .lib
  18. LIBRARY_PREF = 
  19.  
  20. # Tool directories
  21. NEXTDEV_BIN = $(NEXT_ROOT)/NextDeveloper/Executables
  22. NEXTDEV_LIB = $(NEXT_ROOT)/NextDeveloper/Libraries
  23. NEXT_BIN = $(NEXT_ROOT)/NextDeveloper/Executables/Utilities
  24. BUILD_TOOL_DIR = $(NEXTDEV_BIN)
  25.  
  26. # Ported tools:
  27. SHELL   = $(NEXT_ROOT)/NextLibrary/Executables/sh
  28. CC      = $(NEXTDEV_BIN)/gcc
  29. TAR     = $(NEXT_BIN)/gnutar
  30. MV      = $(NEXT_BIN)/mv
  31. LS      = $(NEXT_BIN)/ls
  32. RM      = $(NEXT_BIN)/rm
  33. SYMLINK = $(NEXT_BIN)/ln -s
  34. CP      = $(NEXT_BIN)/cp
  35. ECHO    = echo
  36. MKDIRS  = $(NEXT_BIN)/mkdirs
  37. MKDIR   = $(NEXT_BIN)/mkdir
  38. TOUCH   = $(NEXT_BIN)/touch
  39. AWK     = $(NEXT_BIN)/gawk
  40. ARCH_CMD = $(NEXTDEV_BIN)/arch
  41. VERS_STRING = $(NEXTDEV_BIN)/vers_string
  42. LN = $(SYMLINK)
  43. INSTALL = $(NEXTDEV_BIN)/install
  44. INSTALL_HEADERS_CMD = $(CP) -p
  45. TRANSMOGRIFY = $(NEXT_BIN)/ln
  46. SEARCH = $(NEXT_BIN)/fgrep -s
  47. GREP = $(NEXT_BIN)/grep
  48. FIND = $(NEXT_BIN)/find
  49. TR = $(NEXT_BIN)/tr
  50. SED = $(NEXT_BIN)/sed
  51. LIBTOOL = $(NEXTDEV_BIN)/libtool
  52. PSWRAP = $(NEXTDEV_BIN)/pswrap
  53. BASENAME = $(NEXT_BIN)/basename
  54. CAT     = $(NEXT_BIN)/cat
  55. CHMOD   = $(NEXT_BIN)/chmod -f
  56. # The extension must be present on compileHelp
  57. COMPILEHELP = $(NEXTDEV_BIN)/compileHelp.exe
  58. REGGEN = $(NEXTDEV_BIN)/regGen
  59. LEX = $(NEXT_BIN)/flex
  60. YACC = $(NEXT_BIN)/bison
  61.  
  62. BURY_STDERR = 2> NUL
  63. DOTDOTIFY_PATH = $(SED) -e '/^[^/][^:]/s:^:../:' -e '/^\.$$/s:^:../:'
  64. DOTDOTIFY_IPATHS = $(SED) 's:-I\.\./:-I../../:g'
  65.  
  66. NUMBER_OF_OBJECT_FILES = "`$(ECHO) $(OFILES) $(OTHER_OFILES) | wc -w`"
  67.  
  68. # DEFFILE = $(DERIVED_SRC_DIR)/$(NAME).def 
  69. # PRODUCT_DEPENDS += $(DEFFILE)
  70.  
  71. PLATFORM_SPECIFIC_LIBTOOL_FLAGS = $(DEBUG_SYMBOLS_CFLAG) 
  72. # PLATFORM_SPECIFIC_LIBTOOL_FLAGS += -def $(DEFFILE)
  73.  
  74. WINDOWS_ENTRY_POINT_LIB = $(NEXTDEV_LIB)/libNSWinMain.a
  75.  
  76. # The following doesn't do any good with the MS linker.
  77. #DYNAMIC_BUNDLE_UNDEFINED_FLAGS = -undefined suppress
  78.  
  79. # Makefiles tools
  80. FASTCP = fastcp
  81. CLONEHDRS = $(BUILD_TOOL_DIR)/clonehdrs
  82. CHANGES = $(BUILD_TOOL_DIR)/changes
  83. OFILE_LIST_TOOL = $(BUILD_TOOL_DIR)/ofileListTool 
  84. MERGEINFO = $(BUILD_TOOL_DIR)/mergeInfo.exe
  85. FRAMEWORK_TOOL = $(BUILD_TOOL_DIR)/frameworkFlags
  86. RC_CMD = $(BUILD_TOOL_DIR)/rc.exe
  87.  
  88. # Important non-ported tools:
  89. STRIP  = $(ECHO) Warning! Not stripping
  90. CHOWN  = $(ECHO) Warning! Not chowning
  91. CHGRP  = $(ECHO) Warning! Not chgrping
  92.  
  93. # Non-existent tools on winnt - invocation of these will fail
  94.  
  95. LIPO = $(BUILD_TOOL_DIR)/lipo
  96. ARCH_TOOL = $(BUILD_TOOL_DIR)/arch_tool
  97. DEARCHIFY = $(ARCH_TOOL) -dearchify
  98. ARCHIFY = $(ARCH_TOOL) -archify_list
  99. FIXPRECOMPS = /usr/bin/fixPrecomps
  100. MSGWRAP = /usr/bin/msgwrap -n
  101. MIG    = /usr/bin/mig
  102. RPCGEN = /usr/bin/rpcgen
  103.  
  104. DYNAMIC_CODE_GEN_CFLAG = -dynamic
  105. STATIC_CODE_GEN_CFLAG = -static
  106. DYNAMIC_LIBTOOL_FLAGS = -dynamic
  107. STATIC_LIBTOOL_FLAGS = -static
  108.  
  109. # Install options (strip is temporarily disabled)
  110. # LIBRARY_INSTALL_OPTS = -s
  111.  
  112. # Defaults for who to chown executables to when installing
  113. INSTALL_AS_USER = root
  114. INSTALL_AS_GROUP = wheel
  115.  
  116.  
  117.  
  118.