Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | # |
michael@0 | 2 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 5 | |
michael@0 | 6 | include $(CORE_DEPTH)/coreconf/UNIX.mk |
michael@0 | 7 | |
michael@0 | 8 | DEFAULT_COMPILER = gcc |
michael@0 | 9 | |
michael@0 | 10 | CC = gcc |
michael@0 | 11 | OS_CFLAGS += -fPIC |
michael@0 | 12 | CCC = g++ |
michael@0 | 13 | CCC += -DPRFSTREAMS_BROKEN -I/usr/gnu/lib/g++-include |
michael@0 | 14 | # CCC = $(CORE_DEPTH)/build/hcpp |
michael@0 | 15 | # CCC += +.cpp +w |
michael@0 | 16 | RANLIB = /bin/true |
michael@0 | 17 | |
michael@0 | 18 | # |
michael@0 | 19 | # -DSCO_PM - Policy Manager AKA: SCO Licensing |
michael@0 | 20 | # -DSCO - Changes to Netscape source (consistent with AIX, LINUX, etc..) |
michael@0 | 21 | # -Dsco - Needed for /usr/include/X11/* |
michael@0 | 22 | # |
michael@0 | 23 | OS_CFLAGS += -DSCO_SV -DSYSV -D_SVID3 -DHAVE_STRERROR -DSW_THREADS -DSCO_PM -DSCO -Dsco |
michael@0 | 24 | #OS_LIBS += -lpmapi -lsocket -lc |
michael@0 | 25 | MKSHLIB = $(LD) |
michael@0 | 26 | MKSHLIB += $(DSO_LDOPTS) |
michael@0 | 27 | XINC = /usr/include/X11 |
michael@0 | 28 | MOTIFLIB += -lXm |
michael@0 | 29 | INCLUDES += -I$(XINC) |
michael@0 | 30 | CPU_ARCH = x86 |
michael@0 | 31 | GFX_ARCH = x |
michael@0 | 32 | ARCH = sco |
michael@0 | 33 | LOCALE_MAP = $(CORE_DEPTH)/cmd/xfe/intl/sco.lm |
michael@0 | 34 | EN_LOCALE = C |
michael@0 | 35 | DE_LOCALE = de_DE.ISO8859-1 |
michael@0 | 36 | FR_LOCALE = fr_FR.ISO8859-1 |
michael@0 | 37 | JP_LOCALE = ja |
michael@0 | 38 | SJIS_LOCALE = ja_JP.SJIS |
michael@0 | 39 | KR_LOCALE = ko_KR.EUC |
michael@0 | 40 | CN_LOCALE = zh |
michael@0 | 41 | TW_LOCALE = zh |
michael@0 | 42 | I2_LOCALE = i2 |
michael@0 | 43 | LOC_LIB_DIR = /usr/lib/X11 |
michael@0 | 44 | NOSUCHFILE = /solaris-rm-f-sucks |
michael@0 | 45 | BSDECHO = /bin/echo |
michael@0 | 46 | ifdef MAPFILE |
michael@0 | 47 | # Add LD options to restrict exported symbols to those in the map file |
michael@0 | 48 | endif |
michael@0 | 49 | # Change PROCESS to put the mapfile in the correct format for this platform |
michael@0 | 50 | PROCESS_MAP_FILE = cp $< $@ |
michael@0 | 51 | |
michael@0 | 52 | # |
michael@0 | 53 | # These defines are for building unix plugins |
michael@0 | 54 | # |
michael@0 | 55 | BUILD_UNIX_PLUGINS = 1 |
michael@0 | 56 | #DSO_LDOPTS += -b elf -G -z defs |
michael@0 | 57 | DSO_LDOPTS += -G |
michael@0 | 58 | |
michael@0 | 59 | # Used for Java compiler |
michael@0 | 60 | EXPORT_FLAGS += -W l,-Bexport |