home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / MiscKit1.2.6 / Source / MiscInspectorKit / Makefile next >
Encoding:
Makefile  |  1994-05-30  |  4.7 KB  |  143 lines

  1. # Makefile.lib.template
  2. #
  3. # by Mike Ferris
  4. # Part of MOKit
  5. # Copyright 1993, all rights reserved
  6. #
  7. # This is based at least loosely on Next's standard library make architecture
  8.  
  9. # This file has been modified by Don Yacktman for use in the MiscKit,
  10. # with permission from Mike Ferris.  Copyright (C) 1994 by Don Yacktman.
  11. # Redistribution and use is governed by the MiscKit license.
  12.  
  13. # directory where included Makefiles are located.
  14. MAKEFILES = ../../Makefiles
  15. MAKE_DIR = $(MAKEFILES)/lib
  16.  
  17. include $(MAKEFILES)/MiscKit.version
  18.  
  19. # other directories to check for files (colon-separated and start the
  20. # list with a colon
  21. OTHER_VPATH = :../../Headers/MiscKit
  22.  
  23. #  **1**  -LIBRARY NAME-
  24. #  The base name of the library goes here.  For example, if
  25. #  you enter "appkit" as the name, then the library created will 
  26. # be "libappkit.a".
  27. NAME = MiscInspectorKit
  28.  
  29. # install destination root
  30. DSTROOT = 
  31.  
  32. #  **2**  -SOURCE FILES-
  33. #  Here list the .m, .c, .psw, .pswm, .s, .l, .lm, .y, .ym, .ps and
  34. #  .spec files.  You may delete any lines that you don't use.
  35. #  OTHER_SRCS is used for files with other suffixes that you wish
  36. #  to be treated like source (i.e., printed with the source, copied
  37. #  with the source, etc.).  For files in OTHER_SRCS, you need to
  38. #  specify the corresponding .o file in OTHER_SRCS_OFILES.
  39. MFILES = MiscDefaultInspector.m MiscInspector.m MiscInspectorManager.m \
  40.         MiscInspectorWrapper.m MiscMultiSelInspector.m MiscNoSelInspector.m
  41. CFILES = $(NAME)Version.c
  42. PSWFILES = 
  43. PSWMFILES = 
  44. SFILES = 
  45. LFILES = 
  46. LMFILES = 
  47. YFILES = 
  48. YMFILES = 
  49. PSFILES = 
  50. OTHER_SRCS = 
  51. OTHER_SRCS_OFILES = 
  52.  
  53. #  **3**  -COMMAND OPTIONS-
  54. #  These are passed as arguments to the Objective-C compiler, pswrap, 
  55. #  as, lex, yacc.  You may delete lines that you don't use.  
  56. #  All CFLAGS also get passed to Objective-C.
  57. #    DEBUGCFLAGS is substituted for CFLAGS when "debug" is made.
  58. #    PROFCFLAGS is substituted for CFLAGS when "profile" is made.
  59. #  Under OBJCFLAGS, for each library that you use that supplies class
  60. #  and message group files, you must use a -I$(OBJDIR)/XXX, where
  61. #  XXX is the base name of the library.
  62.  
  63. # Use one of the following ARCHITECTURES line to compile thin or fat
  64. # For default architecture:
  65. # NOTE:  This will be overridden by the top level Makefile if you call
  66. #  from the top level!!!
  67.  
  68. # For intel and moto.  Add/remove others if you like...if you can...  :-)
  69. TARGET_ARCHS = m68k i386
  70. #TARGET_ARCHS = m68k i386 hppa
  71.  
  72. COMMONCFLAGS = -Wall -I../../Headers $(ARCHITECTURES)
  73. OBJCFLAGS = 
  74.  
  75. OPTCFLAGS = -O $(COMMONCFLAGS)
  76. DEBUGCFLAGS = -g -DDEBUG $(COMMONCFLAGS)
  77. PROFCFLAGS = -pg -g $(COMMONCFLAGS)
  78.  
  79. PSWFLAGS = 
  80. ASFLAGS = 
  81. LFLAGS = 
  82. YFLAGS = 
  83.  
  84. MVFLAGS = 
  85. MKDIRSFLAGS = -m 755
  86. IFLAGS = -q -c -m 444 -o root -g wheel
  87. ARFLAGS = ruv
  88. # Note: the last libtool flag MUST be a -o so the output file is set up right!
  89. LIBTOOLFLAGS = -o
  90. RANLIBFLAGS = 
  91.  
  92. #  **4**  -INCLUDE FILES-
  93. #  Private include files are used by the library's code, but not needed
  94. #  by the library's users.  Public include files are needed by others who
  95. #  will use the library, and must be installed along with the library.
  96. PUBLIC_INCFILES = ../../Headers/misckit ../../Headers/daymisckit \
  97.         ../../Headers/ExtendedApp.h
  98. PRIVATE_INCFILES = 
  99.  
  100. #  **5**  -BY_PRODUCTS GENERATED FROM BUILDS-
  101. #  If your build procedure creates any files other than .o files and the
  102. #  .c and .m files left over from pswrap, you should list them here so
  103. #  they are removed when a make clean is done.
  104. BY_PRODUCTS = 
  105.  
  106. #  **6**  -INSTALLATION LOCATIONS-
  107. #  The following directories determines where files get installed.
  108. # places where libraries get installed
  109. LIBDIR = $(DSTROOT)/LocalDeveloper/Libraries
  110.  
  111. # places where headers get installed
  112. INCDIR = $(DSTROOT)/LocalDeveloper/Headers/$(NAME)
  113.  
  114. # place where PostScript package files get installed
  115. PSLIBDIR = $(DSTROOT)/LocalDeveloper/Libraries/$(NAME)
  116.  
  117. #this file included for standard functionality
  118. include $(MAKE_DIR)/Makefile.lib
  119.  
  120. #  **7**  -ALL AND INSTALL TARGETS-
  121. #  You must define your own all and install targets here.  "all" should
  122. #  build all products of your project.  "install" should install these
  123. #  products in the filesystem whose root is $(DSTROOT).  There are certain
  124. #  targets defined in Makefile.lib which you can use to fulfill the all
  125. #  and install targets.  These are optimized, debug, profile, shlib,
  126. #  optimized_install, debug_install, profile_install, shlib_install,
  127. #  and common_install.
  128. #all:: version optimized debug
  129. all:: version optimized
  130.  
  131. install:: common_install optimized_install debug_install
  132.  
  133.  
  134. # You may comment in this line to get dependencies for the include files
  135. # you use.  To generate the dependencies, do a "make depend".
  136. #include Makefile.depends
  137.  
  138. #  any extra rules or dependencies can be added after this line
  139.  
  140. version:
  141.     ../../Makefiles/buildversion $(NAME)Version.c $(NAME) $(VERSION) $(RELEASE)
  142.  
  143.