Next: Makefile
Up: Konfigurationsdateien
Previous: Konfigurationsdateien
#######################################################################
##
## Entwurf und Implementierung von Managementszenarien zu verteilten
## Kommunikationsanwendungen
## Diplomarbeit
## Technische Universitaet Muenchen
##
## Workfile: make.defs
## Directory: /proj/Spectrum3/IHAPI
## Original Author: Jeffrey J. Rodgers
## Adapted by: Alexander Keller
## Date: 11/3/93
##
#######################################################################
CPP = /lib/cpp -P $(INCLUDES)
CC = cc
C++ = /mnt/sd1h/proj/C++/CC
C++STDLIB = -lC
NOSHAREDLIBS = -Bstatic
SYSCFLAGS = -DCS_DEBUG -DBSD
LD = ld
LDFLAGS =
AR = ar
ARFLAGS = rv
RANLIB = ranlib
MAKEDEPFLAGS = -I /proj/C++/SC1.0/include/CC
LN = ln -s
SYSLIBS =
RM = rm -f
##
## Standard Targets:
##
## local - compile everything in the current directory
##
## link - link all executables in the current directory, then recurse down
##
## relib - force .o's into libraries, then recurse.
##
## depend - generate dependencies for current directory, then recurse down
##
## all - does ``init'', ``depend'', ``down'', and ``link''
##
## init - initialize scripts, and other once-only stuff.
##
## down - recurses down, then does ``local''
##
## up - does ``local'', and recurses up
##
## default - does ``down'' and ``link'' (default when you just type "make")
##
##
## The targets init, link, and depend have *_here equivalents that exist
## in the Makefile of each directory. The local target is also defined
## in Makefile. The rest are defined in make.defs.
##
##
## Standard symbols:
##
## Defined by each Makefile as needed:
##
## TOP - defined by buildmake, used by make.defs to recurse
## INCLUDES - used by default .cc->.o and .c->.o rules
## LIBS - use for libraries to use
## CFLAGS - should be used for linking as well.
##
## Available for user to set in environment:
##
## XCFLAGS - used when compiling .c and .cc files, settable by the user.
## Executable links should use this as well.
##
##
default : down link
all : init depend down link
init : init_here
down : _down2 local
_down2 :
up : local
@if [ ! -f make.defs.init ]; then \
echo "cd ..; $(MAKE) up" ; \
cd .. ; $(MAKE) up; fi
link : link_here
depend : depend_here
clean :
-$(RM) *~ *.bak
.SUFFIXES :
.SUFFIXES : .o .c .cc .cxx
.c.o :
$(CC) $(SYSCFLAGS) $(XCFLAGS) $(CFLAGS) $(INCLUDES) -c $<
.cc.o :
$(C++) $(SYSCFLAGS) $(XCFLAGS) $(CFLAGS) $(INCLUDES) -c $<
.cxx.o :
$(C++) $(SYSCFLAGS) $(XCFLAGS) $(CFLAGS) $(INCLUDES) -c $<
# BUILDLIBRULE2 is used when one source file builds two .o's
# via differend #defines.
.c.a :
$(CC) $(SYSCFLAGS) $(XCFLAGS) $(CFLAGS) $(INCLUDES) -c $<
$(BUILDLIBRULE2)
.cc.a :
$(C++) $(SYSCFLAGS) $(XCFLAGS) $(CFLAGS) $(INCLUDES) -c $<
$(BUILDLIBRULE2)
.cxx.a :
$(C++) $(SYSCFLAGS) $(XCFLAGS) $(CFLAGS) $(INCLUDES) -c $<
$(BUILDLIBRULE2)
.o.a :
$(BUILDLIBRULE2)
CCOM = $(CC) $(SYSCFLAGS) $(XCFLAGS) $(CFLAGS) $(INCLUDES) -c
C++COM = $(C++) $(SYSCFLAGS) $(XCFLAGS) $(CFLAGS) $(INCLUDES) -c
CLINK = $(CC) $(XCFLAGS) $(CFLAGS)
C++LINK = $(C++) $(XCFLAGS) $(CFLAGS)
MAKEDEPEND = $(MAKEDEPEND_PROD)/makedepend -- $(CFLAGS) \
$(XCFLAGS) $(SYSCFLAGS) -- $(MAKEDEPFLAGS) -i/usr/include
ENDOFLIST=
IHAPI_INC = $(TOP)/include
IHAPI_LIB = $(TOP)/lib
IHAPI_PROD = $(TOP)/./prod
VPAPI_INC = $(TOP)/../VPAPI/include
VPAPI_LIB = $(TOP)/../VPAPI/lib
VPAPI_PROD = $(TOP)/../VPAPI/./prod
GLOBL_INC = $(TOP)/../GLOBL/include
GLOBL_LIB = $(TOP)/../GLOBL/lib
GLOBL_PROD = $(TOP)/../GLOBL/./prod
Copyright Munich Network Management Team