(file) Return to Makefile CVS log (file) (dir) Up to [Pegasus] / pegasus_unsupported / slp_client

  1 karl  1.1 #//%2005////////////////////////////////////////////////////////////////////////
  2           #//
  3           #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
  4           #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
  5           #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
  6           #// IBM Corp.; EMC Corporation, The Open Group.
  7           #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
  8           #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
  9           #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 10           #// EMC Corporation; VERITAS Software Corporation; The Open Group.
 11           #//
 12           #// Permission is hereby granted, free of charge, to any person obtaining a copy
 13           #// of this software and associated documentation files (the "Software"), to
 14           #// deal in the Software without restriction, including without limitation the
 15           #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 16           #// sell copies of the Software, and to permit persons to whom the Software is
 17           #// furnished to do so, subject to the following conditions:
 18           #// 
 19           #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 20           #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 21           #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 22 karl  1.1 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 23           #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 24           #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 25           #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 26           #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 27           #//
 28           #//==============================================================================
 29           VPATH = .
 30           
 31           COMPONENTS = all
 32           CLEAN = clean
 33           INSTALL = install
 34           
 35           
 36           ## capture the appropriate environment variables to 
 37           ## control the build process
 38           ##
 39           export BUILD_ROOT := /home/mdday/my-programs/pegasus/src/Unsupported/slp_client
 40           export SRC_DIR := $(BUILD_ROOT)/src
 41           export BUILD_DIR := $(shell pwd)
 42           export WORDS_BIG_ENDIAN := @WORDS_BIG_ENDIAN@
 43 karl  1.1 export PACKAGE := slp
 44           export PACKAGE_VERSION := 0.8 
 45           export DEBUG := true
 46           export LIBTOOL := /home/mdday/my-programs/pegasus/src/Unsupported/slp_client/libtool
 47           export OBJ := .lo
 48           export IGNORE := -
 49           export LIB_PATH := -rpath
 50           export LEX := flex
 51           export YACC := bison
 52           export STATIC_LINK_CMD := -static
 53           export DLL_LINK_CMD := -module
 54           export MV := mv
 55           export MV_FLAGS := -fv
 56           export RM := rm
 57           export RM_FLAGS := -fv
 58           export CP := cp
 59           export CP_FLAGS := -fv
 60           export MAKE := make
 61           export OS_PORT_INC := lslp-linux.h
 62           export OS_PORT_SRC := lslp-linux.c
 63           export OS_PORT_OBJ := lslp-linux.lo
 64 karl  1.1 export HOST_OS := linux
 65           export LINKER := gcc
 66           export EXE := 
 67           export LIBS := 
 68           export THREAD_LIBS := -lpthread
 69           export REENTRANT_FLAG := -D_REENTRANT
 70           export NO_LINK_FLAG := -c
 71           export LIB_SUFFIX := .o
 72           export DLL_SUFFIX := @DLL_SUFFIX@
 73           export EXE_OUT := -o
 74           export OBJ_OUT := -o
 75           export LIB_INCLUDE_FLAG := -l
 76           export CFLAGS := -g -Wall -Dlinux -DDEBUG_ALLOC
 77           export LDFLAGS := -g
 78           export DLL_LIB_FLAG := 
 79           export LFLAGS := -p -v -d 
 80           export YFLAGS := -v -d
 81           export bindir := /bin
 82           export sbindir := /sbin
 83           export libexecdir := /lib
 84           export sysconfdir := /etc
 85 karl  1.1 export libdir := /usr/lib
 86           export PLATFORM := x86
 87           export CC := gcc
 88           
 89           export BINDIR := /bin
 90           export SBINDIR := /sbin
 91           export LIBEXECDIR := /lib
 92           export SYSCONFIGDIR := /etc
 93           export LIBDIR := /usr/lib
 94           
 95           all: $(COMPONENTS)
 96           .PHONY: all
 97           
 98           clean: $(CLEAN)
 99           .PHONY: clean
100           
101           install: $(INSTALL)
102           .PHONY: install
103           
104           test: $(TEST)
105           .PHONY: test
106 karl  1.1 
107           
108           SRC_DIRS := $(SRC_DIR) 
109           
110           $(INSTALL) :
111           	$(foreach dir, $(SRC_DIRS), cd $(dir) && $(MAKE) all;)
112           	$(foreach dir, $(SRC_DIRS), cd $(dir) && $(MAKE) $(INSTALL);)
113           $(COMPONENTS) $(CLEAN) :
114           	$(foreach dir, $(SRC_DIRS),cd $(dir) && $(MAKE) $@;)
115           
116           

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2