# # The contents of this file are subject to the Netscape Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/NPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is mozilla.org code. # # The Initial Developer of the Original Code is Netscape # Communications Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): # # Configuration Makefile # machine := $(shell uname) ifeq ($(machine),SunOS) version := $(shell uname -r) ifneq ($(word 1, $(subst ., , $(version))), 4) arch := sol24 nspr_arch :=SunOS5.4_DBG.OBJ else arch := sunos nspr_arch :=SunOS5.4_DBG.OBJ endif else ifeq ($(machine), HP-UX) nspr_arch :=HP-UXA.09_DBG.OBJ version := $(shell uname -r) ifneq ($(word 2, $(subst ., , $(version))), 09) arch := hpux10 else arch := hpux endif else ifeq ($(machine), AIX) arch := aix nspr_arch :=AIX4.1_DBG.OBJ else ifeq ($(machine), OSF1) arch := axp nspr_arch :=OSF1V3_DBG.OBJ else ifeq ($(machine), IRIX) arch := irix nspr_arch :=IRIX5.3_DBG.OBJ else ifeq ($(machine), Linux) arch := linux nspr_arch :=LinuxELF2.0_DBG.OBJ endif endif endif endif endif endif OBJHOME := $(DEPTH)/build/obj/$(arch) BINHOME := $(DEPTH)/build/bin/$(arch) CFLAGS += -DXP_UNIX -Wno-format -I$(DEPTH)/build/../../../nspr20/pr/include \ -I$(DEPTH)/build/../../../nspr20/pr/include/md/$(nspr_arch)