security/nss/coreconf/mkdepend/Makefile

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 # This Source Code Form is subject to the terms of the Mozilla Public
     2 # License, v. 2.0. If a copy of the MPL was not distributed with this
     3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     5 DEPTH		= ../..
     6 CORE_DEPTH	= ../..
     8 MODULE		= coreconf
    10 CSRCS		= \
    11                 cppsetup.c \
    12                 ifparser.c \
    13                 include.c \
    14                 main.c \
    15                 parse.c \
    16                 pr.c
    18 PROGRAM		= mkdepend
    20 # Indicate that this directory builds build tools.
    21 INTERNAL_TOOLS  = 1
    24 include $(DEPTH)/coreconf/config.mk
    26 TARGETS		= $(PROGRAM)
    27 ifeq (,$(filter-out OS2 WIN%,$(OS_TARGET)))
    28 DEFINES		+= -DNO_X11
    29 else
    30 INSTALL		= true
    31 endif
    33 ifdef NATIVE_CC
    34 CC=$(NATIVE_CC)
    35 endif
    37 ifdef NATIVE_FLAGS
    38 OS_CFLAGS=$(NATIVE_FLAGS)
    39 endif
    41 include $(DEPTH)/coreconf/rules.mk
    43 ifdef GNU_CC
    44 OPTIMIZER = -O3
    45 else
    46 ifeq ($(OS_ARCH),SunOS)
    47 OPTIMIZER = -fast
    48 endif
    49 ifeq ($(OS_ARCH),WINNT)
    50 OPTIMIZER = -Ox
    51 endif
    52 endif
    54 DEFINES += -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".$(OBJ_SUFFIX)\"
    56 # Redefine MAKE_OBJDIR for just this directory
    57 define MAKE_OBJDIR
    58 if test ! -d $(@D); then rm -rf $(@D); mkdir $(@D); fi
    59 endef

mercurial