# Makefile.lib.template
#
# by Mike Ferris
# Part of MOKit
# Copyright 1993, all rights reserved
#
# Used in the MiscKit by permission.
#
# This is based on Next's standard library make architecture

# This file is the template for the library makefile machinery.
# Copy this file into your project directory as Makefile and fill in the
# blanks

# directory where included Makefiles are located.
MAKE_DIR = /LocalDeveloper/Makefiles/lib

# other directories to check for files (colon-separated and start the
# list with a colon
OTHER_VPATH = 

#  **1**  -LIBRARY NAME-
#  The base name of the library goes here.  For example, if
#  you enter "appkit" as the name, then the library created will 
# be "libappkit.a".
NAME = 
DSTROOT = 

#  **2**  -SOURCE FILES-
#  Here list the .m, .c, .psw, .pswm, .s, .l, .lm, .y, .ym, .ps and
#  .spec files.  You may delete any lines that you don't use.
#  OTHER_SRCS is used for files with other suffixes that you wish
#  to be treated like source (i.e., printed with the source, copied
#  with the source, etc.).  For files in OTHER_SRCS, you need to
#  specify the corresponding .o file in OTHER_SRCS_OFILES.
MFILES = 
CFILES = 
PSWFILES = 
PSWMFILES = 
SFILES = 
LFILES = 
LMFILES = 
YFILES = 
YMFILES = 
PSFILES = 
OTHER_SRCS = 
OTHER_SRCS_OFILES =

#  **3**  -COMMAND OPTIONS-
#  These are passed as arguments to the Objective-C compiler, pswrap, 
#  as, lex, yacc.  You may delete lines that you don't use.  
#  All CFLAGS also get passed to Objective-C.
#    DEBUGCFLAGS is substituted for CFLAGS when "debug" is made.
#    PROFCFLAGS is substituted for CFLAGS when "profile" is made.
#  Under OBJCFLAGS, for each library that you use that supplies class
#  and message group files, you must use a -I$(OBJDIR)/XXX, where
#  XXX is the base name of the library.
OBJCFLAGS = 

OPTCFLAGS = -O
DEBUGCFLAGS = -g -DDEBUG -Wall
PROFCFLAGS = -pg -g

PSWFLAGS = 
ASFLAGS = 
LFLAGS = 
YFLAGS = 

MVFLAGS = 
MKDIRSFLAGS = -m 755
IFLAGS = -q -c  -m 444 -o root -g wheel
ARFLAGS = ruv
# Note: the last libtool flag MUST be a -o so the output file is set up right!
LIBTOOLFLAGS = -o
RANLIBFLAGS = 

#  **4**  -INCLUDE FILES-
#  Private include files are used by the library's code, but not needed
#  by the library's users.  Public include files are needed by others who
#  will use the library, and must be installed along with the library.
PUBLIC_INCFILES = 
PRIVATE_INCFILES = 

#  **5**  -BY_PRODUCTS GENERATED FROM BUILDS-
#  If your build procedure creates any files other than .o files and the
#  .c and .m files left over from pswrap, you should list them here so
#  they are removed when a make clean is done.
BY_PRODUCTS = 

#  **6**  -INSTALLATION LOCATIONS-
#  The following directories determines where files get installed.
# places where libraries get installed
LIBDIR = $(DSTROOT)/LocalDeveloper/lib

# places where headers get installed
INCDIR = $(DSTROOT)/LocalDeveloper/Headers/$(NAME)

# place where PostScript package files get installed
PSLIBDIR = $(DSTROOT)/LocalDeveloper/lib/$(NAME)

#this file included for standard functionality
include $(MAKE_DIR)/Makefile.lib

#  **7**  -ALL AND INSTALL TARGETS-
#  You must define your ownb all and install targets here.  "all" should
#  build all products of your project.  "install" should install these
#  products in the filesystem whose root is $(DSTROOT).  There are certain
#  targets defined in Makefile.lib which you can use to fulfill the all
#  and install targets.  These are optimized, debug, profile, shlib,
#  optimized_install, debug_install, profile_install, shlib_install,
#  and common_install.
all:: optimized

install:: common_install optimized_install


# You may comment in this line to get dependencies for the include files
# you use.  To generate the dependencies, do a "make depend".
#include Makefile.depends

#  any extra rules or dependencies can be added after this line
