gecko/security/dbm/tests/Makefile
Brian Smith 4453811aee Bug 795972: Upgrade NSS to NSS_3_14_BETA1, r=me
--HG--
rename : security/nss/lib/freebl/sechash.h => security/nss/lib/cryptohi/sechash.h
rename : security/nss/lib/softoken/secmodt.h => security/nss/lib/pk11wrap/secmodt.h
rename : security/nss/lib/freebl/hasht.h => security/nss/lib/util/hasht.h
extra : rebase_source : 7da6cd73ca2605a261085ad7fb3b90315e38ad6b
2012-10-01 11:02:15 -07:00

42 lines
880 B
Makefile

#! gmake
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DEPTH = ../..
CORE_DEPTH = ../..
VPATH = $(CORE_DEPTH)/../dbm/tests
MODULE = dbm
CSRCS = lots.c
PROGRAM = lots
include $(DEPTH)/coreconf/config.mk
include $(DEPTH)/dbm/config/config.mk
ifeq (,$(filter-out WIN%,$(OS_TARGET)))
LIBDBM = ../src/$(PLATFORM)/dbm$(STATIC_LIB_SUFFIX)
else
LIBDBM = ../src/$(PLATFORM)/libdbm$(STATIC_LIB_SUFFIX)
endif
INCLUDES += -I$(CORE_DEPTH)/../dbm/include
LDFLAGS = $(LDOPTS) $(LIBDBM)
include $(DEPTH)/coreconf/rules.mk
lots.pure: lots
purify $(CC) -o lots.pure $(CFLAGS) $(OBJS) $(MYLIBS)
crash: crash.o $(MYLIBS)
$(CC) -o crash $(CFLAGS) $^
crash.pure: crash.o $(MYLIBS)
purify $(CC) -o crash.pure $(CFLAGS) $^