|
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 TARGETS = $(LIBRARY) |
|
15 SHARED_LIBRARY = |
|
16 IMPORT_LIBRARY = |
|
17 PURE_LIBRARY = |
|
18 PROGRAM = |
|
19 |
|
20 ifdef SHARED_LIBRARY |
|
21 ifeq (,$(filter-out WIN%,$(OS_TARGET))) |
|
22 DLLBASE=/BASE:0x30000000 |
|
23 RES=$(OBJDIR)/dbm.res |
|
24 RESNAME=../include/dbm.rc |
|
25 endif |
|
26 ifeq ($(DLL_SUFFIX),dll) |
|
27 DEFINES += -D_DLL |
|
28 endif |
|
29 endif |
|
30 |
|
31 ifeq ($(OS_TARGET),AIX) |
|
32 OS_LIBS += -lc_r |
|
33 endif |