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