Moving micasa 1.5 trunk to Novell forge.
This commit is contained in:
25
make/Readme.txt
Normal file
25
make/Readme.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
To support the new versioning system for our builds the
|
||||
following files are added under the make dir.
|
||||
|
||||
NOTE: When project release tag is incremented for example going from 3.00.2
|
||||
to 3.01.0 the Build Manager (BM) is responsible for checking these files
|
||||
out and reset them proper values which in case of ibuild.txt would be "0"
|
||||
and mbuild.txt will be "1".
|
||||
|
||||
ibuild.txt = This file contains the internal build number that
|
||||
is checked out and incremented by the scripts on
|
||||
every successful build. Whenever the BM makes a
|
||||
successful build this number is auomatically reset
|
||||
to zero. BM builds do not show this number explicitly
|
||||
to help distinguish between internal and major builds.
|
||||
|
||||
mbuild.txt = This file contains the major build number by the BM
|
||||
that is checked out and incremented by the scripts on
|
||||
every successful build. For internal builds (by developers)
|
||||
this number stays a constant.
|
||||
|
||||
majver.txt = Major version of the product.
|
||||
minver.txt = Minor version of the product.
|
||||
revver.txt = Revision verison of the product.
|
||||
|
||||
For example: MajVer.MinVer.RevVer = 3.00.02.
|
||||
70
make/defaults.lux
Normal file
70
make/defaults.lux
Normal file
@@ -0,0 +1,70 @@
|
||||
#
|
||||
# This file is intended for platform-specific things ONLY. DO NOT put
|
||||
# stuff that applies to all platforms in here!
|
||||
#
|
||||
AR = ar crus
|
||||
CC = cc
|
||||
CPP = c++
|
||||
CXX = cc
|
||||
CS = mcs
|
||||
INCDIR = $(subst i",-I",$(incdir))
|
||||
PFLAGS = -D_REENTRANT -DALIGNMENT -DN_PLAT_UNIX -DUNIX -DLINUX -DIAPX386
|
||||
CFLAGS = -c -fPIC -DPIC $(XTRA_CFLAGS)
|
||||
CXXFLAGS = -c -fPIC -DPIC $(XTRA_CFLAGS)
|
||||
|
||||
module = $(subst $(fs),$(bs),$(MODULE))
|
||||
|
||||
ifeq ($(module),cslib)
|
||||
CFLAGS = /target:"library" -lib:"$(CSLIBDIR)" /r:Novell.CASA.Common.dll
|
||||
OFILE = -out:"$(CSLIBDIR)$@"dll
|
||||
EXT = dll
|
||||
endif
|
||||
|
||||
ifeq ($(module),cscommonlib)
|
||||
CFLAGS = /target:"library" /r:Mono.Posix.dll
|
||||
OFILE = -out:"$(CSLIBDIR)$@"dll
|
||||
EXT = dll
|
||||
endif
|
||||
|
||||
ifeq ($(module),pollib)
|
||||
CFLAGS = /target:"library"
|
||||
OFILE = -out:"$(CSLIBDIR)$@"dll
|
||||
EXT = dll
|
||||
endif
|
||||
|
||||
ifeq ($(module),kwwrap)
|
||||
CFLAGS = /target:"library"
|
||||
OFILE = -out:"$(CSLIBDIR)$@"dll
|
||||
EXT = dll
|
||||
endif
|
||||
|
||||
ifeq ($(module),gkwrap)
|
||||
CFLAGS = /target:"library" -pkg:gtk-sharp
|
||||
OFILE = -out:"$(CSLIBDIR)$@"dll
|
||||
EXT = dll
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(module),adlib)
|
||||
CFLAGS = /target:"library" -pkg:gtk-sharp -lib:"$(CSLIBDIR)" -lib:../c_adlib/ad_gk/ -lib:../c_adlib/ad_kw/ /r:Novell.CASA.DataEngines.GnomeKeyring.dll /r:Novell.CASA.DataEngines.KWallet.dll /r:Novell.CASA.CASAPolicy.dll /r:Novell.CASA.miCASAWrapper.dll
|
||||
OFILE = -out:"$(CSLIBDIR)$@"dll
|
||||
EXT = dll
|
||||
endif
|
||||
|
||||
ifeq ($(module),csssd)
|
||||
CFLAGS = -lib:../c_micasad/test/dependencies/ /r:Mono.Posix.dll /r:nunit.core.dll /r:nunit.framework.dll /r:nunit.extensions.dll /r:nunit.util.dll /r:nunit.mocks.dll /r:nunit.mocks.dll -lib:"$(CSLIBDIR)" /r:Novell.CASA.Common.dll
|
||||
OFILE = -out:"$(CSBINDIR)$@"exe
|
||||
EXT = bin
|
||||
endif
|
||||
|
||||
ifeq ($(module),casamanager)
|
||||
CFLAGS = -lib:../c_micasad/test/dependencies/ -lib:"$(CSLIBDIR)" /r:$(CSLIBDIR)Novell.CASA.miCASAWrapper.dll /r:Novell.CASA.A-D.dll /r:Novell.CASA.CASAPolicy.dll -pkg:gtk-sharp -pkg:glade-sharp /r:Novell.CASA.Common.dll
|
||||
OFILE = -out:"$(CSBINDIR)$@"exe
|
||||
EXT = bin
|
||||
endif
|
||||
|
||||
ifeq ($(module),trayapp)
|
||||
CFLAGS = -lib:../c_micasad/test/dependencies/ -pkg:gtk-sharp -lib:"$(CSLIBDIR)" /r:Novell.CASA.Common.dll -pkg:glade-sharp /r:Novell.CASA.miCASAWrapper.dll
|
||||
OFILE = -out:"$(CSBINDIR)$@"exe
|
||||
EXT = bin
|
||||
endif
|
||||
36
make/defaults.w32
Normal file
36
make/defaults.w32
Normal file
@@ -0,0 +1,36 @@
|
||||
#
|
||||
# This file is intended for platform-specific things ONLY. DO NOT put
|
||||
# stuff that applies to all platforms in here!
|
||||
#
|
||||
CC = $(MSC)bin/cl.exe
|
||||
RCS = $(MSC)bin/rc.exe
|
||||
CS = $(MSCS)/csc.exe
|
||||
|
||||
module = $(subst $(fs),$(bs),$(MODULE))
|
||||
|
||||
ifeq ($(module),cslib)
|
||||
CFLAGS = -warn:"4"
|
||||
OFILE = -out:"$(BINDIR)$@"
|
||||
else
|
||||
|
||||
INCDIR = $(subst i",-I",$(incdir)) -I"$(MSC)include" -I"$(MSC)MFC/include" -I"$(MSC)PlatformSDK/include" -I"$(NETWARE)include"
|
||||
ifeq ($(module),util)
|
||||
CFLAGS = -nologo -ML -W3 -GX -O2 -YX -c
|
||||
PFLAGS = $(subst d",-D",$(preprocessor)) -D"_WINDOWS" -D"WIN32" -D"_X86_" -D"MS_CPP_6" -D"SECURITY_WIN32" -D"CONSOLE"
|
||||
# PFLAGS = $(subst d",-D",$(preprocessor)) -D"WIN32" -D"NDEBUG" -D"_MBCS" -D"CONSOLE" -D"MS_CPP_6"
|
||||
# RCFLAGS = $(subst l",-L",$(preprocessor)) -L "0x409" -D"NDEBUG" /fo"Release/$(TARGET).res"
|
||||
RCFLAGS =
|
||||
# OFILE = -Fp"./Release/$(TARGET).pch" -Fo"./Release/" -Fd"./Release/"
|
||||
CPPFLAGS = -c -nologo -FD -W3 $(XTRA_CFLAGS) -D"c_plusplus" -D"_USRDLL" -D"_WINDLL" -D"_WIN32_WINNT=0x0400" -D"_MBCS"
|
||||
OFILE = -Fo"$(OBJDIR)$@"
|
||||
LINK = $(MSC)bin/link.exe @$(LINKDEF)
|
||||
else
|
||||
CFLAGS = -nologo -c -W3 -Zp1 $(XTRA_CFLAGS)
|
||||
PFLAGS = $(subst d",-D",$(preprocessor)) -D"_WINDOWS" -D"WIN32" -D"_X86_" -D"MS_CPP_6" -D"SECURITY_WIN32"
|
||||
RCFLAGS =
|
||||
CPPFLAGS = -c -nologo -FD -W3 $(XTRA_CFLAGS) -D"c_plusplus" -D"_USRDLL" -D"_WINDLL" -D"_WIN32_WINNT=0x0400" -D"_MBCS"
|
||||
OFILE = -Fo"$(OBJDIR)$@"
|
||||
SDK_LIBRARIAN = $(MSC)bin/lib /out:$(LIBDIR)$(SDK_LIB_NAME)
|
||||
LINK = $(MSC)bin/link.exe @$(LINKDEF)
|
||||
endif
|
||||
endif
|
||||
116
make/global.mak
Normal file
116
make/global.mak
Normal file
@@ -0,0 +1,116 @@
|
||||
#
|
||||
# Configure global environment (lower case macros are for the Watcom compiler).
|
||||
# Change ROOT and root so that they point to your checked out directory.
|
||||
#
|
||||
|
||||
root = $(subst $(fs),$(bs),$(ROOT))
|
||||
|
||||
#
|
||||
# Change tools.mak as necessary to point to your compiler(s) and linker(s).
|
||||
#
|
||||
include tools.mak
|
||||
ifeq ($(TOOLS),)
|
||||
TOOLS = p:/tools/
|
||||
tools = $(subst $(fs),$(bs),$(TOOLS))
|
||||
else
|
||||
tools = $(subst $(fs),$(bs),$(TOOLS))
|
||||
endif
|
||||
|
||||
empty :=
|
||||
comma := ,
|
||||
space := $(empty) $(empty)
|
||||
bs := \\
|
||||
fs := /
|
||||
|
||||
W32INC = $(ROOT)/dependencies/win32/
|
||||
w32inc = $(subst $(fs),$(bs),$(W32INC))
|
||||
|
||||
EXTIMP = $(ROOT)/imports/
|
||||
extimp = $(subst $(fs),$(bs),$(EXTIMP))
|
||||
|
||||
SSSIMP = $(ROOT)/imports/
|
||||
sssimp = $(subst $(fs),$(bs),$(SSSIMP))
|
||||
|
||||
NWCLIENT = $(ROOT)/dependencies/nwclient/
|
||||
nwclient = $(subst $(fs),$(bs),$(NWCLIENT))
|
||||
|
||||
NWSDK = $(ROOT)/dependencies/nwsdk/
|
||||
nwsdk = $(subst $(fs),$(bs),$(NWSDK))
|
||||
|
||||
xtier = $(subst $(fs),$(bs),$(XTIER))
|
||||
XTIER = $(ROOT)/dependencies/xtier/
|
||||
|
||||
NLDAP = $(ROOT)/dependencies/ldap/
|
||||
nldap = $(subst $(fs),$(bs),$(NLDAP))
|
||||
|
||||
SSOINC = $(ROOT)/include/
|
||||
CCM_PROJECT_DIR = $(CCM_WORK_AREA)SecretStore_src/
|
||||
|
||||
|
||||
#Following is for install
|
||||
MSGTOOLS = $(TOOLS)msgtools/32bit/
|
||||
|
||||
ifeq ($(PLAT),w32)
|
||||
incdir = i"." i"$(ROOT)/include" i"$(NWSDK)include" i"$(NWCLIENT)include" i"$(XTIER)include/public" i"./win_inc" i"$(W32INC)inc"
|
||||
BIN = dll
|
||||
EXE = exe
|
||||
LIB = lib
|
||||
MSI = msi
|
||||
CSH = dll
|
||||
O = o
|
||||
endif
|
||||
|
||||
ifeq ($(PLAT),lux)
|
||||
#incdir = i"." i"$(ROOT)/include" i"$(CCS)include" i"$(DHOST)include/unix" i"$(DHOST)include" i"$(DCLIENT)include/unix" i"$(DCLIENT)include/unix/Linux" i"$(DCLIENT)include/public" i"$(NLDAP)include" i"$(NLDAP)inc" i"$(NETWARE)include" i"$(NWSDK)include"
|
||||
incdir = i"." i"$(ROOT)/include" i"$(NETWARE)include" i"$(NWSDK)include"
|
||||
O = o
|
||||
endif
|
||||
|
||||
# Names for the products have no "xtras"
|
||||
ifeq ($(PLAT),w32)
|
||||
ifeq ($(XTRA),md)
|
||||
xtra =
|
||||
else
|
||||
xtra = _$(XTRA)
|
||||
endif
|
||||
endif
|
||||
|
||||
BINDIR = $(ROOT)/bin$(ARC)/$(PLAT)/$(XTRA)/
|
||||
bindir = $(subst $(fs),$(bs),$(BINDIR))
|
||||
LIBDIR = $(ROOT)/lib$(ARC)/$(PLAT)/
|
||||
CSLIBDIR = $(ROOT)/lib$(ARC)/$(PLAT)/$(XTRA)/
|
||||
CSBINDIR = ../bin$(ARC)/$(PLAT)/$(XTRA)/
|
||||
#LIBDIR = $(ROOT)/lib$(ARC)/$(PLAT)/$(XTRA)/
|
||||
libdir = $(subst $(fs),$(bs),$(LIBDIR))
|
||||
OBJDIR = $(ROOT)/obj$(ARC)/$(PLAT)/$(XTRA)/
|
||||
objdir = $(subst $(fs),$(bs),$(OBJDIR))
|
||||
|
||||
MAKEDIR = $(ROOT)/make/
|
||||
INSTALLDIR = $(ROOT)/products/
|
||||
|
||||
# Library names
|
||||
#NICI_LIB_NAME = ccs.$(LIB)
|
||||
#ASN1_LIB_NAME = asn1nlm.$(LIB)
|
||||
|
||||
|
||||
LINKDEF = link.def
|
||||
|
||||
|
||||
# preprocessor macros
|
||||
# preprocessor =
|
||||
|
||||
ifeq ($(PLAT),w32)
|
||||
ifeq ($(XTRA),opt)
|
||||
override preprocessor := $(preprocessor)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
# Build Win32 debug?
|
||||
ifeq ($(PLAT),w32)
|
||||
ifneq ($(XTRA),md)
|
||||
override preprocessor := $(preprocessor) d"DEBUG" d"_DEBUG"
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
1
make/ibuild.txt
Normal file
1
make/ibuild.txt
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
make/majver.txt
Normal file
1
make/majver.txt
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
make/mbuild.txt
Normal file
1
make/mbuild.txt
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
make/minver.txt
Normal file
1
make/minver.txt
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
make/revver.txt
Normal file
1
make/revver.txt
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
93
make/rules.mak
Normal file
93
make/rules.mak
Normal file
@@ -0,0 +1,93 @@
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .asn .c .class .h .cpp .java .$(LIB) .$(O)
|
||||
|
||||
CCM = $(CONTINUUS)ccm
|
||||
CHMOD = chmod -f a=rwx
|
||||
MV = mv
|
||||
RM = rm -f
|
||||
LN = ln -s -f
|
||||
CD = cd
|
||||
|
||||
vpath_h = $(subst i",:,$(incdir))
|
||||
|
||||
vpath %.c .
|
||||
vpath %.cs .
|
||||
vpath %.rc .
|
||||
vpath %.class .
|
||||
vpath %.cpp .
|
||||
vpath %.h $(vpath_h)
|
||||
vpath %.$(LIB) $(LIBDIR)
|
||||
vpath %.$(O) $(OBJDIR)
|
||||
vpath %.res $(OBJDIR)
|
||||
vpath %.exe $(BINDIR)
|
||||
vpath %.dll $(BINDIR)
|
||||
vpath %.nlm $(BINDIR)
|
||||
vpath %.so $(BINDIR)
|
||||
|
||||
%.class : %.java
|
||||
@echo Compiling $< ...
|
||||
$(JAVAC) -verbose -d $(OBJDIR) $<
|
||||
@echo
|
||||
|
||||
|
||||
ifeq ($(PLAT),w32)
|
||||
CP = cp -v -f -p
|
||||
|
||||
%.obj : %.c
|
||||
@echo Compiling $< ...
|
||||
$(CC) $(CFLAGS) -TC $(PFLAGS) $(INCDIR) $(OFILE) $<
|
||||
@echo
|
||||
|
||||
%.obj : %.cpp
|
||||
@echo Compiling $< ...
|
||||
$(CC) -TP $(CPPFLAGS) $(PFLAGS) $(INCDIR) $(OFILE) $<
|
||||
@echo
|
||||
|
||||
%.$(O) : %.c
|
||||
@echo Compiling $< ...
|
||||
$(CC) $(CFLAGS) -TC $(PFLAGS) $(INCDIR) $(OFILE) $<
|
||||
@echo
|
||||
|
||||
%.$(O) : %.cpp
|
||||
@echo Compiling $< ...
|
||||
$(CPP) $(CPPFLAGS) $(PFLAGS) $(INCDIR) $(OFILE) $<
|
||||
@echo
|
||||
|
||||
$(CS_NAME) : $(SRC)
|
||||
@echo Compiling ...
|
||||
$(CS) $(CFLAGS) $(XTRA_CFLAGS) $(OFILE) $(SRC)
|
||||
@echo
|
||||
|
||||
ifeq ($(MODULE),util)
|
||||
%.res : %.rc
|
||||
@echo Compiling Resources $< ...
|
||||
$(RCS) $(RCFLAGS) $(INCDIR) $<
|
||||
@echo
|
||||
else
|
||||
|
||||
%.res : %.rc
|
||||
@echo Compiling Resources $< ...
|
||||
$(RCS) $(RCFLAGS) $(INCDIR) $(OFILE) $<
|
||||
@echo
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(PLAT),lux)
|
||||
CP = cp -v -f -p
|
||||
vpath
|
||||
%.$(O) : %.c
|
||||
@echo Compiling $< ...
|
||||
$(CC) $(CFLAGS) $(PFLAGS) $(INCDIR) $< -o $(OBJDIR)$@
|
||||
@echo
|
||||
|
||||
%.$(O) : %.cpp
|
||||
@echo Compiling $< ...
|
||||
$(CPP) $(CFLAGS) $(CXXFLAGS) $(PFLAGS) $(INCDIR) $< -o $(OBJDIR)$@
|
||||
@echo
|
||||
$(CS_NAME) : $(SRC)
|
||||
@echo Compiling ...
|
||||
$(CS) $(CFLAGS) $(XTRA_CFLAGS) $(OFILE) $(SRC)
|
||||
@echo
|
||||
endif
|
||||
|
||||
62
make/target.cl
Normal file
62
make/target.cl
Normal file
@@ -0,0 +1,62 @@
|
||||
include link$(xtra).$(PLAT)
|
||||
|
||||
########## all
|
||||
all : $(BIN_NAME)
|
||||
$(BIN_NAME) : $(OBJS)
|
||||
@echo Linking $@ ...
|
||||
@$(LINK_DEF_BLD)
|
||||
$(LINK)
|
||||
$(RM) $(LINKDEF)
|
||||
$(PACK)
|
||||
|
||||
## The libs
|
||||
ifeq ($(PLAT),w32)
|
||||
ifneq ($(MODULE),util)
|
||||
$(CP) $(BINDIR)$(basename $(BIN_NAME)).$(LIB) $(LIBDIR)
|
||||
endif
|
||||
endif
|
||||
|
||||
@echo
|
||||
|
||||
########## install
|
||||
install :
|
||||
@echo module Installing $< ...
|
||||
|
||||
## The binaries
|
||||
ifeq ($(PLAT),w32)
|
||||
ifeq ($(XTRA),md)
|
||||
$(CD) $(INSTALLDIR)install/w32 && $(RM) *
|
||||
$(CD) $(INSTALLDIR)sdk/w32 && $(RM) *
|
||||
$(CP) $(BINDIR)$(basename $(BIN_NAME)).$(LIB) $(INSTALLDIR)sdk/w32
|
||||
$(CP) $(SSOINC)micasa.h $(INSTALLDIR)sdk/w32
|
||||
$(CP) $(SSOINC)micasa_mgmd.h $(INSTALLDIR)sdk/w32
|
||||
endif
|
||||
endif
|
||||
|
||||
## Linux final libs
|
||||
ifeq ($(PLAT),lux)
|
||||
ifeq ($(MODULE),shared)
|
||||
$(CP) $(LIBDIR)$(XTRA)/lib$(TARGET).so.?.?.? $(INSTALLDIR)install/lux/opt/novell/CASA/lib
|
||||
$(CD) $(INSTALLDIR)install/lux/opt/novell/CASA/lib && $(LN) $(INSTALLDIR)install/lux/opt/novell/CASA/lib/lib$(TARGET).so.$(BLD_NO) $(INSTALLDIR)install/lux/opt/novell/CASA/lib/lib$(TARGET).so
|
||||
$(CD) $(INSTALLDIR)install/lux/opt/novell/CASA/lib && $(LN) $(INSTALLDIR)install/lux/opt/novell/CASA/lib/lib$(TARGET).so.$(BLD_NO) $(INSTALLDIR)install/lux/opt/novell/CASA/lib/lib$(TARGET).so.$(PROD_NUM)
|
||||
|
||||
endif
|
||||
|
||||
$(CP) $(SSOINC)micasa.h $(INSTALLDIR)install/lux/opt/novell/CASA_devel/include
|
||||
$(CP) $(SSOINC)micasa_mgmd.h $(INSTALLDIR)install/lux/opt/novell/CASA_devel/include
|
||||
endif
|
||||
|
||||
@echo
|
||||
|
||||
########## clean
|
||||
clean :
|
||||
@echo Cleaning ...
|
||||
|
||||
ifeq ($(PLAT),w32)
|
||||
$(RM) *.err *.bak *.i *.res $(OBJDIR)*.$(O) $(OBJDIR)*.res $(OBJDIR)*.pdb $(BINDIR)$(basename $(BIN_NAME)).*
|
||||
endif
|
||||
|
||||
ifeq ($(PLAT),lux)
|
||||
$(RM) *.err *.bak *.i *.res $(OBJDIR)*.$(O) $(LIBDIR)$(TARGET)* $(BINDIR)$(TARGET)*
|
||||
endif
|
||||
|
||||
53
make/target.cs
Normal file
53
make/target.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
|
||||
ifeq ($(PLAT),lux)
|
||||
#include link$(xtra).$(PLAT)
|
||||
endif
|
||||
|
||||
########## all
|
||||
all : $(CS_NAME)
|
||||
ifeq ($(PLAT),w32)
|
||||
$(CD) $(BINDIR) && $(RM) $(OBJS) *.pdb
|
||||
endif
|
||||
@echo
|
||||
|
||||
########## install
|
||||
install :
|
||||
@echo module Installing $< ...
|
||||
|
||||
## The binaries
|
||||
ifeq ($(PLAT),w32)
|
||||
ifeq ($(XTRA),md)
|
||||
$(CD) $(INSTALLDIR)sdk/w32 && $(RM) $(CS_NAME)
|
||||
$(CP) $(BINDIR)$(CS_NAME) $(INSTALLDIR)sdk/w32
|
||||
$(CP) $(SSOINC)nsscs_sdk.h $(INSTALLDIR)sdk/w32
|
||||
endif
|
||||
endif
|
||||
|
||||
## Linux final libs
|
||||
ifeq ($(PLAT),lux)
|
||||
# $(CD) $(INSTALLDIR)install/lux/opt/novell/miCASA/bin && $(RM) *
|
||||
# $(CD) $(INSTALLDIR)install/lux/opt/novell/miCASA/lib && $(RM) *
|
||||
# $(CD) $(INSTALLDIR)install/lux/opt/novell/CASA_devel/inc && $(RM) *
|
||||
|
||||
ifeq ($(EXT), bin)
|
||||
$(CP) $(BINDIR)$(CS_NAME)* $(INSTALLDIR)install/lux/opt/novell/CASA/bin
|
||||
else
|
||||
$(CP) $(CSLIBDIR)$(CS_NAME)* $(INSTALLDIR)install/lux/opt/novell/CASA/lib
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
@echo
|
||||
|
||||
########## clean
|
||||
clean :
|
||||
@echo Cleaning ...
|
||||
|
||||
ifeq ($(PLAT),w32)
|
||||
$(RM) *.err *.bak *.i *.res $(BINDIR)$(CS_NAME)
|
||||
endif
|
||||
|
||||
ifeq ($(PLAT),lux)
|
||||
$(RM) *.err *.bak *.i *.res $(OBJDIR)*.$(O) $(LIBDIR)$(TARGET)* $(BINDIR)$(TARGET)*
|
||||
endif
|
||||
|
||||
129
make/tools.mak
Normal file
129
make/tools.mak
Normal file
@@ -0,0 +1,129 @@
|
||||
#--------------------------------------------------------------------------
|
||||
# To get your development machine to work with the SecretStore make files,
|
||||
# set the following environment variables on your local machine:
|
||||
#
|
||||
# TOOLS : the directory under which all your development tools are
|
||||
# located.
|
||||
# GNU : the directory that contains the GNU make utility, and
|
||||
# the Microsoft's old CVPack utility.
|
||||
# MSC : the directory containing Microsoft's Visual C++ tools.
|
||||
# MSVS : the directory containing Microsoft's Visual Studio tools.
|
||||
# WATCOM : the directory containing Watcom's C/C++ compiler.
|
||||
#
|
||||
# Variables useful only to the build manager:
|
||||
#
|
||||
# CONTINUUS : the Continuus installation directory.
|
||||
# CCM_WORK_AREA : the location on your local drive where the Continuus
|
||||
# project is located.
|
||||
#
|
||||
# You need only set as many of these environment variables as differ from
|
||||
# the default. So, for example, if the directory structure of your tools
|
||||
# directory is exactly the same as on the network, but located on a local
|
||||
# drive, all you need to do is set the TOOLS environment variable.
|
||||
#
|
||||
# This file will set defaults if you have not defined the environment
|
||||
# variables listed above. The defaults assume that you have drive P:
|
||||
# mapped to the network; specifically, PRV-DEV17/USR: (minus the Continuus
|
||||
# tool) or PRV-TNW/USR:. Both servers contain the tools needed to build
|
||||
# (except for the Continuus tool mentioned previously).
|
||||
#
|
||||
# NOTE: By convention in this and other make files in this project, all
|
||||
# macros defining paths to tools include the traling slash. Your
|
||||
# environment variables should, as well.
|
||||
#--------------------------------------------------------------------------
|
||||
|
||||
ifeq ($(TOOLS),)
|
||||
export TOOLS = p:/tools/
|
||||
export tools = $(subst $(fs),$(bs),$(TOOLS))
|
||||
else
|
||||
export tools = $(subst $(fs),$(bs),$(TOOLS))
|
||||
endif
|
||||
|
||||
#ifeq ($(PLAT),sux)
|
||||
# export PATH = .:/opt/SUNWspro/bin:/usr/local/bin:/usr/bin:/usr/ccs/bin:$PATH
|
||||
#endif
|
||||
|
||||
ifeq ($(PLAT),lux)
|
||||
export PATH = .:/usr/local/bin:/bin:/usr/bin:$PATH
|
||||
endif
|
||||
|
||||
#ifeq ($(PLAT),aix)
|
||||
# export PATH = .:/usr/bin:/bin:/usr/vac/bin:$PATH
|
||||
#endif
|
||||
|
||||
#ifeq ($(PLAT),hux)
|
||||
# export PATH = .:/usr/bin:/bin:/usr/vac/bin:/usr/local/bin:$PATH
|
||||
#endif
|
||||
|
||||
#ifeq ($(PLAT),390)
|
||||
# PATH = /usr/bin:/bin:/usr/vac/bin:$PATH
|
||||
#endif
|
||||
|
||||
#**************************************************************************************************
|
||||
# Path to the Continuus configuration management tool (necessary for build
|
||||
# manager builds only) SHOULD BE DEFINED IN THE ENVIRONMENT c:/"Program Files"/CMSynergy/ccm62/bin/
|
||||
#
|
||||
#ifeq ($(CONTINUUS),)
|
||||
# CONTINUUS = c:/"Program Files"/CMSynergy/ccm62/bin/
|
||||
#endif
|
||||
#***************************************************************************************************
|
||||
|
||||
#
|
||||
# Path to the Continuus configuration management tool for internal scripts.
|
||||
#
|
||||
ifeq ($(CCM_DIR),)
|
||||
export CCM_DIR = c:/"Program Files"/Telelogic/"CM Synergy 6.3"/bin/
|
||||
endif
|
||||
|
||||
#
|
||||
# Path to the configuration management build area (necessary for build
|
||||
# manager builds only). Defaults to build manager's machine.
|
||||
#
|
||||
ifeq ($(CCM_WORK_AREA),)
|
||||
export CCM_WORK_AREA = d:/SecretStore_main~PREP/SecretStore_main/
|
||||
endif
|
||||
|
||||
#
|
||||
# Path to the open source gnumake utility.
|
||||
#
|
||||
ifeq ($(GNU_I),)
|
||||
export GNU_I = dependencies/cygwin/gnu/
|
||||
endif
|
||||
|
||||
#
|
||||
# Path to the open source gnumake utility.
|
||||
#
|
||||
#ifeq ($(GNU),)
|
||||
# export GNU = ../dependencies/cygwin/gnu/
|
||||
#endif
|
||||
#
|
||||
#
|
||||
# Path to Microsoft's Visual C++ compiler main directory.
|
||||
#
|
||||
ifeq ($(MSC),)
|
||||
export MSC = $(TOOLS)msc7.00/vc7/
|
||||
endif
|
||||
|
||||
######### NOTE ON HOW TO SETUP VC7 ENVIRONMENT #################
|
||||
# From the Visual Studio directory you need to find vsvar32.bat and load the environment
|
||||
# parameters in it on your mache permanently.
|
||||
#
|
||||
# Path to Microsoft's Visual Studio common components directory. On the
|
||||
# network (hence, on many developer's machines) this has been copied to
|
||||
# the same location as the Visual C++ executables. However, Microsoft's
|
||||
# installation puts it in the Visual Studio common components directory
|
||||
# structure. Either way you installed it, it should still work.
|
||||
#
|
||||
# If the .NET Framework changes, the following export needs to be changed
|
||||
#
|
||||
ifeq ($(MSCS),)
|
||||
export MSCS = c:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/
|
||||
endif
|
||||
|
||||
#
|
||||
# Path to Watcom's C/C++ compiler for building NLMs.
|
||||
#
|
||||
#ifeq ($(WATCOM),)
|
||||
# export WATCOM = $(TOOLS)wcc/v11.0a/
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user