/**/# Kerberos version 5 Build Parameters /**/# /**/# $Source$ /**/# $Author$ /**/# $Id$ #define ProjectKRB 5 #ifndef TouchCmd #define TouchCmd touch #endif #ifndef PerlCmd #define PerlCmd perl #endif #ifndef CompileEtCmd #define CompileEtCmd $(ETSRC)/compile_et #endif #ifndef MkCmdsCmd #define MkCmdsCmd $(SSSRC)/mk_cmds #endif #ifndef SSLib #define SSLib $(SSSRC)/libss.a #endif #ifndef ComErrLib #define ComErrLib $(ETSRC)/libcom_err.a #endif #ifndef PosyFlags #define PosyFlags -f -h2 -a -s #endif #ifndef PepyFlags #define PepyFlags -a PY_advise -s -r #endif #ifndef PepyCmd #define PepyCmd $(ISODE)/@sys/bin/pepy #endif #ifndef PosyCmd #define PosyCmd $(ISODE)/@sys/bin/posy #endif #ifndef ArAddCmd #define ArAddCmd ar cruv #endif #ifndef DesDefines #define DesDefines YouMustFigureOutYourDesDefines #endif #ifndef PepyPosyRules #define PepyPosyRules() @@\ .SUFFIXES: .py @@\ .py.c: @@\ $(PEPY) $(PYFLAGS) $< #endif /* PepyPosyRules */ #ifndef ErrorTableObjectRule #define ErrorTableObjectRule() @@\ .SUFFIXES: .et @@\ @@\ .et.h: @@\ $(COMPILE_ET) $*.et @@\ @@\ .et.c: @@\ $(COMPILE_ET) $*.et #endif #ifndef CmdTableObjectRule #define CmdTableObjectRule() @@\ .SUFFIXES: .ct @@\ @@\ .ct.c: @@\ $(MK_CMDS) $*.ct #endif /* * AdditiveLibraryTarget - generate rules to create a library from * several directories */ #ifndef AdditiveLibraryTarget #define AdditiveLibraryTarget(libname,objlist) @@\ AllTarget(lib/**/libname.a) @@\ AllTarget(foo/**/libname) @@\ @@\ foo/**/libname: objlist @@\ $(ARADD) lib/**/libname.a objlist @@\ $(TOUCH) foo/**/libname @@\ $(RANLIB) lib/**/libname.a @@\ lib/**/libname.a: objlist @@\ $(ARADD) $@ objlist @@\ $(RANLIB) $@ #endif /* AdditiveLibraryTarget */ /* * OtherdirLibraryTarget - generate rules to create a library in another * directory from object files here */ #ifndef OtherdirLibraryTarget #define OtherdirLibraryTarget(libdir,libname,objlist) @@\ AllTarget(objlist) @@\ AllTarget(libdir/lib/**/libname.a) @@\ AllTarget(foo/**/libname) @@\ @@\ foo/**/libname: objlist @@\ $(ARADD) libdir/lib/**/libname.a objlist @@\ $(TOUCH) foo/**/libname @@\ libdir/lib/**/libname.a: @@\ $(ARADD) $@ objlist @@\ $(TOUCH) foo/**/libname /* The $(RANLIB) is done at the end by the directory itself */ #endif /* OtherdirLibraryTarget */ /* * Default Definitions. */ ARADD = ArAddCmd TOP_INCLUDES = -I$(TOP)/include $(STDC_TOP_INCLUDES) CONFIGSRC = $(TOP)/config ISODE = IsodeDir IMAKESRC = $(CONFIGSRC) POFLAGS = PosyFlags PYFLAGS = PepyFlags PEPY = PepyCmd POSY = PosyCmd TOUCH = TouchCmd PERL = PerlCmd DESDEFINES = DesDefines ETSRC = $(TOP)/comerr SSSRC = $(TOP)/ss OSLIB = $(TOP)/lib/os/libos.a DESLIB = $(TOP)/lib/des/libdes.a KRB5LIB = $(TOP)/lib/libkrb5.a CRCLIB = $(TOP)/lib/crc-32/libcrc32.a ISODELIB = IsodeLib DBMLIB = DbmLib DEPKLIB = $(KRB5LIB) $(DESLIB) $(OSLIB) $(CRCLIB) KLIB = $(DEPKLIB) $(ISODELIB) $(COMERRLIB) $(DBMLIB) DEPKDBLIB = $(TOP)/lib/kdb/libkdb.a KDBLIB = $(DEPKDBLIB) #ifdef UseImakeInstalled IMAKE = imake /* assume BINDIR in path */ #else IMAKE = $(IMAKESRC)/imake #endif #ifdef UseMakedependInstalled DEPEND = makedepend /* assume BINDIR in path */ #else DEPEND = DependCmd #endif #ifdef UseSSInstalled SSLIB = -lss MK_CMDS = mk_cmds #else SSLIB = SSLib MK_CMDS = MkCmdsCmd #endif #ifdef UseComErrInstalled COMERRLIB = -lcom_err COMPILE_ET = compile_et #else COMERRLIB = ComErrLib COMPILE_ET = CompileEtCmd #endif