Moving micasa 1.5 trunk to Novell forge.
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user