security/nss/coreconf/BeOS.mk

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 #
     2 # This Source Code Form is subject to the terms of the Mozilla Public
     3 # License, v. 2.0. If a copy of the MPL was not distributed with this
     4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     6 include $(CORE_DEPTH)/coreconf/UNIX.mk
     8 XP_DEFINE := $(XP_DEFINE:-DXP_UNIX=-DXP_BEOS)
    10 USE_PTHREADS = 
    12 ifeq ($(USE_PTHREADS),1)
    13 	IMPL_STRATEGY = _PTH
    14 endif
    16 CC			= gcc
    17 CCC			= g++
    18 RANLIB			= ranlib
    20 DEFAULT_COMPILER = gcc
    22 ifeq ($(OS_TEST),ppc)
    23 	OS_REL_CFLAGS	= -Dppc
    24 	CPU_ARCH	= ppc
    25 else
    26 	OS_REL_CFLAGS	= -Di386
    27 	CPU_ARCH	= x86
    28 endif
    30 MKSHLIB		= $(CC) -nostart -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
    31 ifdef BUILD_OPT
    32 	OPTIMIZER	= -O2
    33 endif
    35 OS_CFLAGS		= $(DSO_CFLAGS) $(OS_REL_CFLAGS) -Wall -Wno-switch -pipe
    36 OS_LIBS			= -lbe
    38 DEFINES			+= -DBEOS
    40 ifdef USE_PTHREADS
    41 	DEFINES		+= -D_REENTRANT
    42 endif
    44 ARCH			= beos
    46 DSO_CFLAGS		= -fPIC
    47 DSO_LDOPTS		=

mercurial