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: michael@0: DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE michael@0: michael@0: # michael@0: # Currently, override TARGETS variable so that only static libraries michael@0: # are specifed as dependencies within rules.mk. michael@0: # michael@0: michael@0: TARGETS = $(LIBRARY) michael@0: SHARED_LIBRARY = michael@0: IMPORT_LIBRARY = michael@0: PURE_LIBRARY = michael@0: PROGRAM = michael@0: michael@0: ifdef SHARED_LIBRARY michael@0: ifeq (,$(filter-out WIN%,$(OS_TARGET))) michael@0: DLLBASE=/BASE:0x30000000 michael@0: RES=$(OBJDIR)/dbm.res michael@0: RESNAME=../include/dbm.rc michael@0: endif michael@0: ifeq ($(DLL_SUFFIX),dll) michael@0: DEFINES += -D_DLL michael@0: endif michael@0: endif michael@0: michael@0: ifeq ($(OS_TARGET),AIX) michael@0: OS_LIBS += -lc_r michael@0: endif