security/nss/lib/dbm/tests/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/.
     6 DEPTH		= ../../..
     7 CORE_DEPTH	= ../../..
     9 VPATH		= $(CORE_DEPTH)/../dbm/tests
    11 MODULE		= dbm
    13 CSRCS		= lots.c
    15 PROGRAM		= lots
    17 include $(DEPTH)/coreconf/config.mk
    19 include $(DEPTH)/dbm/config/config.mk
    21 ifeq (,$(filter-out WIN%,$(OS_TARGET))) 
    22 LIBDBM		= ../src/$(PLATFORM)/dbm$(STATIC_LIB_SUFFIX)
    23 else
    24 LIBDBM		= ../src/$(PLATFORM)/libdbm$(STATIC_LIB_SUFFIX)
    25 endif
    27 INCLUDES	+= -I$(CORE_DEPTH)/../dbm/include
    29 LDFLAGS		= $(LDOPTS) $(LIBDBM)
    31 include $(DEPTH)/coreconf/rules.mk
    33 lots.pure: lots
    34 	purify $(CC) -o lots.pure $(CFLAGS) $(OBJS) $(MYLIBS)
    36 crash: crash.o $(MYLIBS)
    37 	$(CC) -o crash $(CFLAGS) $^
    39 crash.pure: crash.o $(MYLIBS)
    40 	purify $(CC) -o crash.pure $(CFLAGS) $^

mercurial