home *** CD-ROM | disk | other *** search
/ Nebula / nebula.bin / Nebula / .Source / Makefile.postamble (.txt) < prev    next >
Makefile  |  1993-07-11  |  5KB  |  107 lines

  1. ###############################################################################
  2. #  NeXT Makefile.postamble Template
  3. #  Copyright 1993, NeXT Computer, Inc.
  4. #
  5. #  This Makefile is used for configuring the standard app makefiles associated
  6. #  with ProjectBuilder.  
  7. #  
  8. #  Use this template to set attributes for a project, sub-project, bundle, or
  9. #  palette.  Each node in the project's tree of sub-projects and bundles 
  10. #  should have it's own Makefile.preamble and Makefile.postamble.  Additional
  11. #  rules (e.g., after_install) that are defined by the developer should be
  12. #  defined in this file.
  13. #
  14. ###############################################################################
  15. # Here are the variables exported by the common "app" makefiles that can be 
  16. # used in any customizations you make to the template below:
  17. #    PRODUCT_ROOT - Name of top-level app-wrapper (e.g., Webster.app)
  18. #    OFILE_DIR - Directory into which .o object files are generated.
  19. #            (Note that this name is calculated based on the target 
  20. #             architectures specified in Project Builder).
  21. #    DERIVED_SRC_DIR - Directory used for all other derived files
  22. #    ALL_CFLAGS - All the flags passed to the cc(1) driver for compilations
  23. #
  24. #    NAME - name of application, bundle, subproject, palette, etc.
  25. #    LANGUAGE - langage in which the project is written (default "English")
  26. #    ENGLISH - boolean flag set iff $(LANGUAGE) = "English"
  27. #    JAPANESE - boolean flag set iff $(LANGUAGE) = "Japanese"
  28. #    LOCAL_RESOURCES - localized resources (e.g. nib's, images) of project
  29. #    GLOBAL_RESOURCES - non-localized resources of project
  30. #    PROJECTVERSION - version of ProjectBuilder that output Makefile
  31. #    APPICON - application icon file
  32. #    DOCICONS - dock icon files
  33. #    ICONSECTIONS - Specifies icon sections when linking executable 
  34. #
  35. #    CLASSES - Class implementation files in project.
  36. #    HFILES - Header files in project.
  37. #    MFILES - Other Objective-C source files in project. 
  38. #    CFILES - Other C source files in project. 
  39. #    PSWFILES - .psw files in the project
  40. #    PSWMFILES - .pswm files in the project
  41. #    SUBPROJECTS - Subprojects of this project
  42. #    BUNDLES - Bundle subprojects of this project
  43. #    OTHERSRCS - Other miscellaneous sources of this project
  44. #    OTHERLINKED - Source files not matching a standard source extention
  45. #
  46. #    LIBS - Libraries to link with when making app target
  47. #    DEBUG_LIBS - Libraries to link with when making debug target
  48. #    PROF_LIBS - Libraries to link with when making profile target
  49. #    OTHERLINKEDOFILES - Other relocatable files to (always) link in.
  50. #
  51. #    APP_MAKEFILE_DIR - Directory in which to find generic set of Makefiles
  52. #    MAKEFILEDIR - Directory in which to find $(MAKEFILE)
  53. #    MAKEFILE - Top level mechanism Makefile (e.g., app.make, bundle.make)
  54. #    INSTALLDIR - Directory app will be installed into by 'install' target
  55.  
  56.  
  57. # Change defaults assumed by the standard app makefiles here.  Edit the 
  58. # following default values as appropriate. (Note that if no Makefile.postamble 
  59. # exists, these values will have defaults set in common.make).
  60.  
  61. # Add Makefile.preamble, Makefile.postamble, and Makefile.dependencies here if
  62. # you would like changes to them to invalidate previous builds.  The project
  63. # depends on $(MAKEFILES) so that changes to Makefiles will trigger a re-build.
  64. #MAKEFILES = Makefile 
  65.  
  66. # Optimization flag passed to compiler:
  67. #OPTIMIZATION_CFLAG = -O
  68.  
  69. # Flags passed to compiler in normal 'app' compiles:
  70. #NORMAL_CFLAGS = -g $(OPTIMIZATION_CFLAG) -Wall
  71.  
  72. # Flags passed to compiler in 'debug' compiles:
  73. #DEBUG_CFLAGS = -g -Wall -DDEBUG
  74.  
  75. # Flags passed to compiler in 'profile' compiles
  76. #PROFILE_CFLAGS = -g -pg $(OPTIMIZATION_CFLAG) -Wall -DPROFILE
  77.  
  78. # Ownership and permissions of files installed by 'install' target
  79. #INSTALL_AS_USER = root        # User to chown app to
  80. #INSTALL_AS_GROUP = wheel      # Group to chgrp app to 
  81. #INSTALL_PERMISSIONS =         # If set, 'install' chmod's executable to this
  82.  
  83. # Options to strip for bundles, apps with bundles, and apps without bundles, 
  84. # respectively.
  85. #RELOCATABLE_STRIP_OPTS = -x -u
  86. #DYLD_APP_STRIP_OPTS = -A -n
  87. #APP_STRIP_OPTS = 
  88. # (Note: APP_STRIP_OPTS defaults to empty, but developers doing their own
  89. #  dynamic loading should set this to $(DYLD_APP_STRIP_OPTS)).
  90.  
  91.  
  92. #########################################################################
  93. # Put rules to extend the behavior of the standard Makefiles here.  Typical 
  94. # user-defined rules are before_install and after_install (please don't 
  95. # redefine things like install or app, as they are owned by the top-level 
  96. # Makefile API), which are rules that get invoked before and after the install 
  97. # target runs.  Such rules should be specified with the '::' syntax rather than 
  98. # a single colon.
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.