security/nss/coreconf/SCO_SV3.2.mk

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/coreconf/SCO_SV3.2.mk	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,60 @@
     1.4 +#
     1.5 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.8 +
     1.9 +include $(CORE_DEPTH)/coreconf/UNIX.mk
    1.10 +
    1.11 +DEFAULT_COMPILER = cc
    1.12 +
    1.13 +CC         = cc
    1.14 +OS_CFLAGS += -b elf -KPIC
    1.15 +CCC        = g++
    1.16 +CCC       += -b elf -DPRFSTREAMS_BROKEN -I/usr/local/lib/g++-include
    1.17 +# CCC      = $(CORE_DEPTH)/build/hcpp
    1.18 +# CCC     += +.cpp +w
    1.19 +RANLIB     = /bin/true
    1.20 +
    1.21 +#
    1.22 +# -DSCO_PM - Policy Manager AKA: SCO Licensing
    1.23 +# -DSCO - Changes to Netscape source (consistent with AIX, LINUX, etc..)
    1.24 +# -Dsco - Needed for /usr/include/X11/*
    1.25 +#
    1.26 +OS_CFLAGS   += -DSCO_SV -DSYSV -D_SVID3 -DHAVE_STRERROR -DSW_THREADS -DSCO_PM -DSCO -Dsco
    1.27 +#OS_LIBS     += -lpmapi -lsocket -lc
    1.28 +MKSHLIB      = $(LD)
    1.29 +MKSHLIB     += $(DSO_LDOPTS)
    1.30 +XINC         = /usr/include/X11
    1.31 +MOTIFLIB    += -lXm
    1.32 +INCLUDES    += -I$(XINC)
    1.33 +CPU_ARCH     = x86
    1.34 +GFX_ARCH     = x
    1.35 +ARCH         = sco
    1.36 +LOCALE_MAP   = $(CORE_DEPTH)/cmd/xfe/intl/sco.lm
    1.37 +EN_LOCALE    = C
    1.38 +DE_LOCALE    = de_DE.ISO8859-1
    1.39 +FR_LOCALE    = fr_FR.ISO8859-1
    1.40 +JP_LOCALE    = ja
    1.41 +SJIS_LOCALE  = ja_JP.SJIS
    1.42 +KR_LOCALE    = ko_KR.EUC
    1.43 +CN_LOCALE    = zh
    1.44 +TW_LOCALE    = zh
    1.45 +I2_LOCALE    = i2
    1.46 +LOC_LIB_DIR  = /usr/lib/X11
    1.47 +NOSUCHFILE   = /solaris-rm-f-sucks
    1.48 +BSDECHO      = /bin/echo
    1.49 +ifdef MAPFILE
    1.50 +# Add LD options to restrict exported symbols to those in the map file
    1.51 +endif
    1.52 +# Change PROCESS to put the mapfile in the correct format for this platform
    1.53 +PROCESS_MAP_FILE = cp $< $@
    1.54 +
    1.55 +#
    1.56 +# These defines are for building unix plugins
    1.57 +#
    1.58 +BUILD_UNIX_PLUGINS  = 1
    1.59 +#DSO_LDOPTS         += -b elf -G -z defs
    1.60 +DSO_LDOPTS         += -b elf -G
    1.61 +
    1.62 +# Used for Java compiler
    1.63 +EXPORT_FLAGS += -W l,-Bexport

mercurial