security/nss/lib/zlib/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 #! gmake
     2 # 
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 #######################################################################
     8 # (1) Include initial platform-independent assignments (MANDATORY).   #
     9 #######################################################################
    11 include manifest.mn
    13 #######################################################################
    14 # (2) Include "global" configuration information. (OPTIONAL)          #
    15 #######################################################################
    17 include $(CORE_DEPTH)/coreconf/config.mk
    19 #######################################################################
    20 # (3) Include "component" configuration information. (OPTIONAL)       #
    21 #######################################################################
    24 #######################################################################
    25 # (4) Include "local" platform-dependent assignments (OPTIONAL).      #
    26 #######################################################################
    28 include config.mk
    30 #######################################################################
    31 # (5) Execute "global" rules. (OPTIONAL)                              #
    32 #######################################################################
    34 include $(CORE_DEPTH)/coreconf/rules.mk
    36 #######################################################################
    37 # (6) Execute "component" rules. (OPTIONAL)                           #
    38 #######################################################################
    42 #######################################################################
    43 # (7) Execute "local" rules. (OPTIONAL).                              #
    44 #######################################################################
    46 export:: private_export
    48 test: $(PROGRAMS)
    49 	@cd $(OBJDIR); \
    50 	if echo hello world | ./minigzip | ./minigzip -d && ./example; then \
    51 	  echo '		*** zlib test OK ***'; \
    52 	else \
    53 	  echo '		*** zlib test FAILED ***'; false; \
    54 	fi
    55 	-@rm -f foo.gz

mercurial