home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************
- //
- // Copyright (C) 1991 Texas Instruments Incorporated.
- //
- // Permission is granted to any individual or institution to use, copy, modify,
- // and distribute this software, provided that this complete copyright and
- // permission notice is maintained, intact, in all copies and supporting
- // documentation.
- //
- // Texas Instruments Incorporated provides this software "as is" without
- // express or implied warranty.
- //
- *****************************************************************************
- *
- * Author: Martin Neath
- * Filename: imake.mk
- * Module: build/config
- * Purpose: PISCES Imake template file
- * Related Files: site.def, project.imk, imake.rul
- *
- * Creation Date: 05/10/90
- * Changed by\Date\Reason:
- *
- *****************************************************************************/
-
- #define YES 1
- #define NO 0
-
- #ifdef mips
- #define MacroIncludeFile <mips.cf>
- #define MacroFile mips.cf
- #define MACH mips
- #undef mips
- #else
- #ifdef sparc
- #define MacroIncludeFile <sparc.cf>
- #define MacroFile sparc.cf
- #define MACH sparc
- #undef sparc
- #else
- #ifdef vms
- #define MacroIncludeFile <vms.cf>
- #define MacroFile vms.cf
- #define MACH vms
- #undef vms
- #else
- #ifdef os2
- #define MacroIncludeFile <os2.cf>
- #define MacroFile os2.cf
- #define MACH os2
- #undef os2
- #else
- #ifdef sco386
- #define MacroIncludeFile <sco386.cf>
- #define MacroFile sco386.cf
- #define MACH sco386
- #undef sco386
- #endif
- #endif
- #endif
- #endif
- #endif
-
- /*****************************************************************************
- * *
- * DO NOT MODIFY BELOW THIS LINE *
- * *
- *****************************************************************************/
- #include "copyrite.imk"
-
- @#############################################################################
- @#
- @# ----> *** MAKEFILE GENERATED BY PISCES -- DO NOT EDIT THIS FILE *** <----
- @#
- @#############################################################################
-
- @#############################################################################
- @# Platform-specific configuration parameters -- edit config file to change
- @#############################################################################
- #include MacroIncludeFile
-
- #ifndef SystemV
- #ifdef SYSV
- #define SystemV YES /* need system 5 style */
- #else
- #define SystemV NO /* bsd */
- #endif
- #endif
-
- #ifndef HasVoidSignalReturn
- #if SystemV
- #define HasVoidSignalReturn YES
- #else
- #define HasVoidSignalReturn NO /* may or may not be true */
- #endif
- #endif
-
- #ifndef FilesToClean
- #define FilesToClean *.CKP *.ln *.BAK *.bak core *..c errs #* *~*
- #endif
-
- #ifndef StartPathChar
- #define StartPathChar
- #endif
- #ifndef SeparatorChar
- #define SeparatorChar /
- #endif
- #ifndef EndPathChar
- #define EndPathChar
- #endif
- #ifndef Top
- #define Top TOPDIR
- #endif
- #ifndef CurrentDirectory
- #define CurrentDirectory .
- #endif
- #ifndef ParentDirectory
- #define ParentDirectory ..
- #endif
- #ifndef Machine
- #define Machine MACH
- #endif
- #ifndef Shell
- #define Shell /bin/sh
- #endif
- #ifndef ArCmd
- #define ArCmd ar
- #endif
- #ifndef EchoCmd
- #define EchoCmd echo
- #endif
- #ifndef CplusCmd
- #define CplusCmd CC
- #endif
- #ifndef CcCmd
- #define CcCmd cc
- #endif
- #ifndef CdCmd
- #define CdCmd cd
- #endif
- #ifndef MkdirCmd
- #define MkdirCmd mkdir
- #endif
- #ifndef LnCmd
- #define LnCmd ln
- #endif
- #ifndef MvCmd
- #define MvCmd mv
- #endif
- #ifndef CpCmd
- #define CpCmd cp
- #endif
- #ifndef AttribCmd
- #define AttribCmd chmod
- #endif
- #ifndef ReadBits
- #define ReadBits +r
- #endif
- #ifndef WriteBits
- #define WriteBits +w
- #endif
- #ifndef ExecBits
- #define ExecBits +x
- #endif
- #ifndef ConCatCmd
- #define ConCatCmd cat
- #endif
- #ifndef RmCmd
- #define RmCmd rm -f
- #endif
- #ifndef MakeCmd
- #define MakeCmd make
- #endif
- #ifndef LoopCmd
- #define LoopCmd
- #endif
- #ifndef StopLabel
- #define StopLabel
- #endif
- #ifndef YaccCmd
- #define YaccCmd byacc
- #endif
- #ifndef LexCmd
- #define LexCmd flex
- #endif
- #ifndef RanlibCmd
- #define RanlibCmd ranlib
- #endif
- #ifndef InstallCmd
- #define InstallCmd install
- #endif
- #ifndef SearchCmd
- #define SearchCmd grep
- #endif
- #ifndef CaseInsensitive
- #define CaseInsensitive -i
- #endif
- #ifndef RCSOutCmd
- #define RCSOutCmd co -f
- #endif
- #ifndef RCSOutWithLockCmd
- #define RCSOutWithLockCmd co -l
- #endif
- #ifndef RCSInCmd
- #define RCSInCmd ci
- #endif
- #ifndef ForceInWithRevupMsg
- #define ForceInWithRevupMsg ci -f -u$(NEXT) -m"Revup by PISCES"
- #endif
- #ifndef IncludeFlag
- #define IncludeFlag -I
- #endif
- #ifndef DefineFlag
- #define DefineFlag -D
- #endif
- #ifndef SmallMemoryModel
- #define SmallMemoryModel
- #endif
- #ifndef MediumMemoryModel
- #define MediumMemoryModel
- #endif
- #ifndef LargeMemoryModel
- #define LargeMemoryModel
- #endif
- #ifndef CompactMemoryModel
- #define CompactMemoryModel
- #endif
- #ifndef HugeMemoryModel
- #define HugeMemoryModel
- #endif
- #ifndef PathSepFlag
- #define PathSepFlag -P
- #endif
- #ifndef RCSDependFlag
- #define RCSDependFlag -R
- #endif
- #ifndef HeaderLinkFlag
- #define HeaderLinkFlag -L
- #endif
- #ifndef NoLinkFlag
- #define NoLinkFlag -c
- #endif
- #ifndef ConCatRedirect
- #define ConCatRedirect >
- #endif
- #ifndef InputRedirect
- #define InputRedirect <
- #endif
- #ifndef OutputRedirect
- #define OutputRedirect >
- #endif
- #ifndef ErrorOutputRedirect
- #define ErrorOutputRedirect 2>&1
- #endif
- #ifndef ProgramNameFlag
- #define ProgramNameFlag -o
- #endif
- #ifndef ArchiveReplaceFlag
- #define ArchiveReplaceFlag r
- #endif
- #ifndef ArchiveDeleteFlag
- #define ArchiveDeleteFlag d
- #endif
- #ifndef ArchiveAddFlag
- #define ArchiveAddFlag r
- #endif
- #ifndef ArchivePrefix
- #define ArchivePrefix lib
- #endif
- #ifndef ArchiveSuffix
- #define ArchiveSuffix .a
- #endif
- #ifndef ExecutableSuffix
- #define ExecutableSuffix
- #endif
- #ifndef ObjectSuffix
- #define ObjectSuffix o
- #endif
- #ifndef CSuffix
- #define CSuffix c
- #endif
- #ifndef CPlusSuffix
- #define CPlusSuffix C
- #endif
- #ifndef IntermediateCSuffix
- #define IntermediateCSuffix .c
- #endif
- #ifndef LibraryDirFlag
- #define LibraryDirFlag -L
- #endif
- #ifndef LibraryFlag
- #define LibraryFlag -l
- #endif
- #ifndef ImakeCmd
- #define ImakeCmd pimake
- #endif
- #ifndef DependCmd
- #define DependCmd mkdepend
- #endif
- #ifndef InstPgmFlags
- #define InstPgmFlags -c -s
- #endif
- #ifndef InstBinFlags
- #define InstBinFlags -c -m 0755
- #endif
- #ifndef InstLibFlags
- #define InstLibFlags -c -m 0664
- #endif
- #ifndef InstIncFlags
- #define InstIncFlags -c -m 0444
- #endif
- #ifndef YaccFlags
- #define YaccFlags -d
- #endif
- #ifndef LexFlags
- #define LexFlags -c
- #endif
- #ifndef TestRunSuffix
- #define TestRunSuffix\
- .out
- #endif
- #ifndef RCSSuffix
- #define RCSSuffix\
- ,v
- #endif
- #ifndef ClearSuffixList
- #define ClearSuffixList().SUFFIXES :
- #endif
- #ifndef SuffixList
- #define SuffixList().SUFFIXES : .a .$(OBJ) .c .$(CXX) .y .l
- #endif
- #ifndef DirName
- #ifdef VMS
- #define DirName(name)\
- $(START)##name##$(END)
- #else
- #define DirName(name)\
- name
- #endif
- #endif
- #ifndef PrefixDirName
- #ifdef VMS
- #define PrefixDirName(name)\
- $(START)##name##$(END)
- #else
- #define PrefixDirName(name)\
- name##$(PATHSEP)
- #endif
- #endif
- #ifndef QuoteChar
- #ifdef VMS
- #define QuoteChar ""
- #else
- #define QuoteChar @!
- #endif
- #endif
- #ifndef YaccSourceCode
- #define YaccSourceCode
- #endif
- #ifndef LexSourceCode
- #define LexSourceCode
- #endif
- #ifndef YaccGeneratedProgram
- #define YaccGeneratedProgram
- #endif
- #ifndef LexGeneratedProgram
- #define LexGeneratedProgram
- #endif
- #ifndef SystemSpecificProgram
- #define SystemSpecificProgram @# NO SYSTEM-SPECIFIC FINALIZE OPERATION for
- #endif
- #ifndef SystemSpecificFinalize
- #define SystemSpecificFinalize(program)
- #endif
-
- START = StartPathChar /* path start character */
- PATHSEP = SeparatorChar /* for building filenames */
- END = EndPathChar /* path end character */
- CURDIR = CurrentDirectory /* name for current directory */
- PARDIR = ParentDirectory /* name for parent directory */
- SHELL = Shell /* shell type */
- AR = ArCmd /* library archive command */
- CPLUS = CplusCmd /* C++ compiler */
- CC = CcCmd /* C compiler */
- CD = CdCmd /* change directory command */
- MKDIR = MkdirCmd /* make directory command */
- LN = LnCmd /* link file command */
- MV = MvCmd /* move file command */
- CP = CpCmd /* copy file command */
- ATTRIB = AttribCmd /* modify file attributes command */
- READBIT = ReadBits /* enable read permission for file */
- WRITEBIT = WriteBits /* enable write permission for file */
- EXECBIT = ExecBits /* enable write permission for file */
- CONCAT = ConCatCmd /* concatentation command */
- ECHO = EchoCmd /* echo to standard output command */
- LOOP = LoopCmd /* loop command for recursive makes */
- STOP = StopLabel /* loop command terminator */
- RM = RmCmd /* delete file command */
- GET = RCSOutCmd /* RCS checkout (no lock) command */
- LOCK = RCSOutWithLockCmd /* RCS checkout (locked) command */
- PUT = RCSInCmd /* RCS checkin (no lock) command */
- REVUP = ForceInWithRevupMsg /* RCS checkin with message/checkout*/
- MAKE = MakeCmd /* make command */
- LEX = LexCmd /* lex command */
- YACC = YaccCmd /* yacc command */
- PIMAKE = ImakeCmd /* imake program */
- DEPEND = DependCmd /* make depened program */
- RANLIB = RanlibCmd /* cleanup/generate TOC for library */
- SEARCH = SearchCmd /* search string command */
- NOCASE = CaseInsensitive /* ignore case flag for search cmd */
- INSTALL = InstallCmd /* installation program */
- INSTPGMFLAGS = InstPgmFlags /* install program flags */
- INSTBINFLAGS = InstBinFlags /* install binaries flags */
- INSTLIBFLAGS = InstLibFlags /* install libraries flags */
- INSTINCFLAGS = InstIncFlags /* install include files flags */
- IFLAG = IncludeFlag /* include flag for c compiler */
- DFLAG = DefineFlag /* define flag for c compiler */
- PFLAG = PathSepFlag /* path separator flag for mkdepend */
- RCSDEP = RCSDependFlag /* generate dependency to RCS file */
- LINKDEP = HeaderLinkFlag /* generate dependency to link hdrs */
- CONCATOP = ConCatRedirect /* file concatentation operator */
- INPUT = InputRedirect /* redirect standard input */
- OUTPUT = OutputRedirect /* redirect standard output */
- ERROR = ErrorOutputRedirect /* redirect standard error */
- NOLINK = NoLinkFlag /* instruct compiler not to link */
- PROGNAME = ProgramNameFlag /* program name flag for compiler */
- UPDATE = ArchiveReplaceFlag /* replace flag for library command */
- DELETE = ArchiveDeleteFlag /* delete flag for library command */
- ADD = ArchiveAddFlag /* add flag for library command */
- YACCFLAGS = YaccFlags /* flags for byacc */
- LEXFLAGS = LexFlags /* flags for flex */
- LIBSFLAG = LibraryFlag /* Library flag to compiler */
- LDIRFLAG = LibraryDirFlag /* Library path flag for linker */
- RCSEXT = RCSSuffix /* suffix appended for RCS files */
- TESTRUN = TestRunSuffix /* suffix appended for test files */
- LIBPRE = ArchivePrefix /* prefix characters to library name*/
- LIBSUF = ArchiveSuffix /* suffix characters to library name*/
- C = CSuffix /* suffix characters for C++ file */
- CXX = CPlusSuffix /* suffix characters for C++ file */
- CII = IntermediateCSuffix /* suffix characters for C++ file */
- OBJ = ObjectSuffix /* suffix characters for object file*/
- EXE = ExecutableSuffix /* suffix characters for executable */
- YACCSRC = YaccSourceCode /* default (empty) yacc source code */
- LEXSRC = LexSourceCode /* default (empty) lex source code */
- YACCPRG = YaccGeneratedProgram /* yacc-generated source file */
- LEXPRG = LexGeneratedProgram /* lex -geneated source code */
- QUOTE = QuoteChar /* escaped double quote character */
- SMALL = SmallMemoryModel /* small memory model (OS/2) */
- MEDIUM = MediumMemoryModel /* medium memory model (OS/2) */
- LARGE = LargeMemoryModel /* large memory model (OS/2) */
- COMPACT = CompactMemoryModel /* compact memory model (OS/2) */
- HUGE = HugeMemoryModel /* huge memory model (OS/2) */
- SYS_SPEC = SystemSpecificProgram /* system-specific finalize operation*/
-
- @#############################################################################
- @# Site-specific configuration parameters -- edit "site.imk" file to change
- @#############################################################################
-
- #include "site.imk"
-
-
- @#############################################################################
- @# Project-specific configuration parameters -- edit "project.imk" to change
- @#############################################################################
-
- #include "project.imk"
-
- #include "rules.imk"
-
- @#############################################################################
- @# Start of PISCES-generated "makefile" commands -- edit Imakefile to change
- @#############################################################################
- #include INCLUDE_IMAKEFILE
-
- @#############################################################################
- @# Common rules/actions for all Makefiles -- edit "imake.imk" file to change
- @#############################################################################
- /*
- * These need to be here so that rules in Imakefile occur first; the blank
- * all is to make sure that an empty Imakefile doesn't default to make clean.
- */
- all ::
-
- includes ::
-
- install ::
-
- checkout ::
-
- forcecheckout ::
-
- revup ::
-
- bootstrap ::
-
- unittest ::
-
- runtest ::
-
- clean ::
-
- localclean ::
-
- fast ::
-
- sys_spec ::
-
- makelib ::
-
- Clobber()
-
- MakefileT()
-
- #ifdef IHaveSubdirs
- @#############################################################################
- @# Rules for working with subdirectories -- edit "imake.imk" file to change
- @#############################################################################
-
- SubdirsRule()
- AllSubdirs()
- IncludeSubdirs()
- CheckoutSubdirs()
- ForceCheckoutSubdirs()
- InstallSubdirs()
- RevupSubdirs()
- BootstrapSubdirs()
- RunTestSubdirs()
- CleanSubdirs()
- FastSubdirs()
- ClobberSubdirs()
- MakefileSubdirs()
- DependSubdirs()
- ImakeOnlySubdirs()
- LibSubdirs()
- ResultsSubdirs()
-
- #ifdef TopLevelImakeFile
- TopLevelBootStrap()
- #endif
-
- #else
- @#############################################################################
- @# Empty rules for directories that do not have subdirectories - do not edit
- @#############################################################################
-
- makefiles ::
-
- results ::
-
- depends :: depend
-
- #endif
-
- @#############################################################################
- @# Source file dependencies automatically generated by mkdepend appear below
- @#############################################################################
-
-