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