michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: include $(CORE_DEPTH)/coreconf/UNIX.mk michael@0: michael@0: DEFAULT_COMPILER = gcc michael@0: michael@0: CC = gcc michael@0: OS_CFLAGS += -fPIC michael@0: CCC = g++ michael@0: CCC += -DPRFSTREAMS_BROKEN -I/usr/gnu/lib/g++-include michael@0: # CCC = $(CORE_DEPTH)/build/hcpp michael@0: # CCC += +.cpp +w michael@0: RANLIB = /bin/true michael@0: michael@0: # michael@0: # -DSCO_PM - Policy Manager AKA: SCO Licensing michael@0: # -DSCO - Changes to Netscape source (consistent with AIX, LINUX, etc..) michael@0: # -Dsco - Needed for /usr/include/X11/* michael@0: # michael@0: OS_CFLAGS += -DSCO_SV -DSYSV -D_SVID3 -DHAVE_STRERROR -DSW_THREADS -DSCO_PM -DSCO -Dsco michael@0: #OS_LIBS += -lpmapi -lsocket -lc michael@0: MKSHLIB = $(LD) michael@0: MKSHLIB += $(DSO_LDOPTS) michael@0: XINC = /usr/include/X11 michael@0: MOTIFLIB += -lXm michael@0: INCLUDES += -I$(XINC) michael@0: CPU_ARCH = x86 michael@0: GFX_ARCH = x michael@0: ARCH = sco michael@0: LOCALE_MAP = $(CORE_DEPTH)/cmd/xfe/intl/sco.lm michael@0: EN_LOCALE = C michael@0: DE_LOCALE = de_DE.ISO8859-1 michael@0: FR_LOCALE = fr_FR.ISO8859-1 michael@0: JP_LOCALE = ja michael@0: SJIS_LOCALE = ja_JP.SJIS michael@0: KR_LOCALE = ko_KR.EUC michael@0: CN_LOCALE = zh michael@0: TW_LOCALE = zh michael@0: I2_LOCALE = i2 michael@0: LOC_LIB_DIR = /usr/lib/X11 michael@0: NOSUCHFILE = /solaris-rm-f-sucks michael@0: BSDECHO = /bin/echo michael@0: ifdef MAPFILE michael@0: # Add LD options to restrict exported symbols to those in the map file michael@0: endif michael@0: # Change PROCESS to put the mapfile in the correct format for this platform michael@0: PROCESS_MAP_FILE = cp $< $@ michael@0: michael@0: # michael@0: # These defines are for building unix plugins michael@0: # michael@0: BUILD_UNIX_PLUGINS = 1 michael@0: #DSO_LDOPTS += -b elf -G -z defs michael@0: DSO_LDOPTS += -G michael@0: michael@0: # Used for Java compiler michael@0: EXPORT_FLAGS += -W l,-Bexport