Annotation of driverkit/configutil/Makefile, revision 1.1

1.1     ! root        1: #
        !             2: # Generic Makefile for simple commands
        !             3: # Copyright NeXT, Inc.  1989, 1990.  All rights reserved.
        !             4: #
        !             5: # Who and where
        !             6: #
        !             7: # PROGRAM -- what the executable should be named
        !             8: # BINDIR -- the directory where the executable should be installed
        !             9: # DSTDIRS -- a list of directories that must exist at install time
        !            10: #              (preceed all entries with $(DSTROOT)
        !            11: 
        !            12: MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles
        !            13: include $(MAKEFILEDIR)/platform.make
        !            14: 
        !            15: PROGRAM= configutil
        !            16: BINDIR= /usr/local/bin
        !            17: CONFDIR=
        !            18: DSTDIRS= $(DSTROOT)$(BINDIR) $(DSTROOT)$(CONFDIR)
        !            19: 
        !            20: #
        !            21: # Source files
        !            22: #
        !            23: HFILES=
        !            24: YFILES=
        !            25: CFILES= $(PROGRAM).c 
        !            26: SFILES=
        !            27: 
        !            28: #
        !            29: # Garbage is removed from source directory by "clobber"
        !            30: #
        !            31: GARBAGE= errs [Mm]ake.out *~ #*# *.o *.d TAGS tags vers.c Makedep
        !            32: 
        !            33: #
        !            34: # What to print and how to print it
        !            35: # Paths are relative to PROGDIR.
        !            36: #
        !            37: PRINTFILES = $(HFILES) $(YFILES) $(CFILES) $(SFILES)
        !            38: TABSIZE=8
        !            39: ENSCRIPTFLAGS=-2rG
        !            40: 
        !            41: #
        !            42: # OBJROOT and SYMROOT may optionally be defined on command line
        !            43: # Used by release control to place objects and executable in particular
        !            44: # directories.
        !            45: #
        !            46: OBJROOT=.
        !            47: SYMROOT=.
        !            48: 
        !            49: #
        !            50: # Global options that apply to all types of builds
        !            51: #
        !            52: CFLAGS= -I$(DSTROOT)/$(NEXT_ROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/System.framework/Headers -I../../.. \
        !            53:        -I$(DSTROOT)/$(NEXT_ROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/System.framework/PrivateHeaders
        !            54: SFLAGS= 
        !            55: LDFLAGS=
        !            56: LIBS=-lcs -lDriver -L$(SYMROOT)/../libDriver/syms
        !            57: IFLAGS= -u -s
        !            58: 
        !            59: #
        !            60: # Options for release builds
        !            61: #
        !            62: STD_COPTS= -O2 -g
        !            63: STD_LDOPTS=
        !            64: STD_LIBS=
        !            65: 
        !            66: #
        !            67: # Options for profiling builds
        !            68: #
        !            69: PROF_COPTS= -pg -O2
        !            70: PROF_LDOPTS= -pg
        !            71: PROF_LIBS=
        !            72: 
        !            73: #
        !            74: # Options for debugging builds
        !            75: #
        !            76: DBG_COPTS= -g -DDEBUG
        !            77: DBG_LDOPTS=
        !            78: DBG_LIBS=
        !            79: 
        !            80: #
        !            81: # Objects that can't be built by the default rules can have the
        !            82: # appropriate rules placed at the end of this file.
        !            83: # EXTRA_SRCS and EXTRA_OBJS should list these source and object files
        !            84: # if for some reason they could not be listed in HFILES, CFILES, YFILES, ....
        !            85: # (E.g.: the file isn't a C, yacc, or assembler source.)
        !            86: #
        !            87: EXTRA_SRCS=
        !            88: EXTRA_OBJS=
        !            89: 
        !            90: #
        !            91: # Include file for simple makefiles
        !            92: # Note: this is included here, rather than at the bottom of the file
        !            93: # for a reason: You want all macro defs to proceed all "rules".
        !            94: # Include MakeInc.simple here insures that any macros needed by the
        !            95: # both the rules in MakeInc.simple and those that follow in this file
        !            96: # will be defined.
        !            97: #
        !            98: findfile MakeInc.simple
        !            99: 
        !           100: #
        !           101: # Extra install operations go here
        !           102: #
        !           103: install_extra:
        !           104: 
        !           105: installhdrs:
        !           106: 
        !           107: #
        !           108: # This makefile will recursive invoke itself after cd'ing to OBJROOT.
        !           109: # When invoked in the OBJROOT will have the following macros defined:
        !           110: #      SRCDIR -- path to the directory containing this Makefile
        !           111: #      SYMROOT -- path to the directory that is to contain the result
        !           112: #              of this build
        !           113: #
        !           114: # E.g.
        !           115: # foo.o:       foo.c foo.h
        !           116: #      $(CC) -MD $(CFLAGS) $(COPTS) $(CCFLAGS) -WEIRD_OPT -c \
        !           117: #              -o $@ $(SRCDIR)/foo.c
        !           118: #      md -d -u Makedep $(*F).d
        !           119: #

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.