diff options
author | Nathan Kinder <nkinder@redhat.com> | 2005-02-04 17:48:01 +0000 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2005-02-04 17:48:01 +0000 |
commit | 30a317f90261ebe93889c71913fb78d78e31f1cf (patch) | |
tree | dd4eb78b7a680e44e3e4274d10c8da5a85ac2e0a | |
parent | b753a332a81514abc2e295ad7ad87df547f0a06a (diff) | |
download | ds-30a317f90261ebe93889c71913fb78d78e31f1cf.tar.gz ds-30a317f90261ebe93889c71913fb78d78e31f1cf.tar.xz ds-30a317f90261ebe93889c71913fb78d78e31f1cf.zip |
Added HP-UX makefiles
-rw-r--r-- | config/HP-UX.mk | 70 | ||||
-rw-r--r-- | config/HP-UXB.11.11.mk | 11 |
2 files changed, 81 insertions, 0 deletions
diff --git a/config/HP-UX.mk b/config/HP-UX.mk new file mode 100644 index 00000000..6a9cc270 --- /dev/null +++ b/config/HP-UX.mk @@ -0,0 +1,70 @@ +# +# BEGIN COPYRIGHT BLOCK +# Copyright 2001 Sun Microsystems, Inc. +# Portions copyright 1999, 2001-2003 Netscape Communications Corporation. +# All rights reserved. +# END COPYRIGHT BLOCK +# +# +# Config stuff for HP-UX.09.03 +# + +CC = cc -Ae +CCC = CC -Aa +a1 +eh +RANLIB = echo + +CPU_ARCH = hppa +OS_LIBS = -ldld -lm -ldce +OS_CFLAGS = $(SERVER_CFLAGS) $(DSO_CFLAGS) -DHAVE_STRERROR -DHPUX -D$(CPU_ARCH) -DSW_THREADS -D_HPUX_SOURCE $(ADDITIONAL_CFLAGS) +ELIBS_CFLAGS = -g -DHAVE_STRERROR + +ifeq ($(OS_RELEASE),A.09.03) +OS_CFLAGS += -DHPUX9 +endif + +ifeq ($(OS_RELEASE),B.10.01) +OS_CFLAGS += -DRW_NO_OVERLOAD_SCHAR -DHPUX10 +endif + +ifeq ($(OS_RELEASE),B.10.10) +OS_CFLAGS += -DRW_NO_OVERLOAD_SCHAR -DHPUX10 -DHPUX10_10 +endif + +MKSHLIB = $(LD) $(DSO_LDOPTS) +DLL_SUFFIX = sl + +LOCALE_MAP = $(DEPTH)/cmd/xfe/intl/hpux.lm + +EN_LOCALE = american.iso88591 +DE_LOCALE = german.iso88591 +FR_LOCALE = french.iso88591 +JP_LOCALE = japanese.euc +SJIS_LOCALE = japanese +KR_LOCALE = korean +CN_LOCALE = chinese-s +TW_LOCALE = chinese-t.big5 +I2_LOCALE = i2 +IT_LOCALE = it +SV_LOCALE = sv +ES_LOCALE = es +NL_LOCALE = nl +PT_LOCALE = pt + +LOC_LIB_DIR = /usr/lib/X11 + +# HPUX doesn't have a BSD-style echo, so this home-brewed version will deal +# with '-n' instead. +BSDECHO = /usr/local/bin/bsdecho + +# +# These defines are for building unix plugins +# +BUILD_UNIX_PLUGINS = 1 +DSO_LDOPTS = -b +DSO_LDFLAGS = +DSO_CFLAGS = +z + +ifdef SERVER_BUILD +SERVER_CFLAGS = +DA1.0 -Wl,-E,-N +STATIC_JAVA = yes +endif diff --git a/config/HP-UXB.11.11.mk b/config/HP-UXB.11.11.mk new file mode 100644 index 00000000..cf658afa --- /dev/null +++ b/config/HP-UXB.11.11.mk @@ -0,0 +1,11 @@ +# +# BEGIN COPYRIGHT BLOCK +# Copyright 2001 Sun Microsystems, Inc. +# Portions copyright 1999, 2001-2003 Netscape Communications Corporation. +# All rights reserved. +# END COPYRIGHT BLOCK +# +# +# Config stuff for HP-UX.11.00 +# +include $(DEPTH)/config/HP-UX.mk |