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