security/nss/lib/dbm/tests/Makefile

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/dbm/tests/Makefile	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +#! gmake
     1.5 +#
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +DEPTH		= ../../..
    1.10 +CORE_DEPTH	= ../../..
    1.11 +
    1.12 +VPATH		= $(CORE_DEPTH)/../dbm/tests
    1.13 +
    1.14 +MODULE		= dbm
    1.15 +
    1.16 +CSRCS		= lots.c
    1.17 +
    1.18 +PROGRAM		= lots
    1.19 +
    1.20 +include $(DEPTH)/coreconf/config.mk
    1.21 +
    1.22 +include $(DEPTH)/dbm/config/config.mk
    1.23 +
    1.24 +ifeq (,$(filter-out WIN%,$(OS_TARGET))) 
    1.25 +LIBDBM		= ../src/$(PLATFORM)/dbm$(STATIC_LIB_SUFFIX)
    1.26 +else
    1.27 +LIBDBM		= ../src/$(PLATFORM)/libdbm$(STATIC_LIB_SUFFIX)
    1.28 +endif
    1.29 +
    1.30 +INCLUDES	+= -I$(CORE_DEPTH)/../dbm/include
    1.31 +
    1.32 +LDFLAGS		= $(LDOPTS) $(LIBDBM)
    1.33 +
    1.34 +include $(DEPTH)/coreconf/rules.mk
    1.35 +
    1.36 +lots.pure: lots
    1.37 +	purify $(CC) -o lots.pure $(CFLAGS) $(OBJS) $(MYLIBS)
    1.38 +
    1.39 +crash: crash.o $(MYLIBS)
    1.40 +	$(CC) -o crash $(CFLAGS) $^
    1.41 +
    1.42 +crash.pure: crash.o $(MYLIBS)
    1.43 +	purify $(CC) -o crash.pure $(CFLAGS) $^
    1.44 +

mercurial