config.mk (637B)
1 #! gmake 2 # 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE 8 9 # 10 # Currently, override TARGETS variable so that only static libraries 11 # are specifed as dependencies within rules.mk. 12 # 13 14 ifdef SHARED_LIBRARY 15 ifeq (,$(filter-out WIN%,$(OS_TARGET))) 16 DLLBASE=/BASE:0x30000000 17 RES=$(OBJDIR)/dbm.res 18 RESNAME=../include/dbm.rc 19 endif 20 ifeq ($(DLL_SUFFIX),dll) 21 DEFINES += -D_DLL 22 endif 23 endif 24 25 ifeq ($(OS_TARGET),AIX) 26 OS_LIBS += -lc_r 27 endif