Bugzilla bug 303508: a more elegant way to decide when we need to prefix

LIBRARY_VERSION with '_'. r=nelsonb.
This commit is contained in:
wtchang%redhat.com 2005-09-16 23:18:01 +00:00
Родитель dc7fc6412b
Коммит ad39a7ded6
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -1,4 +1,4 @@
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
@ -50,26 +50,26 @@ LIBRARY_VERSION = 3
ifdef FREEBL_CHILD_BUILD
ifdef USE_ABI32_INT32
LIBRARY_NAME = freebl_32int
LIBRARY_VERSION := _$(LIBRARY_VERSION)
endif
ifdef USE_ABI32_INT64
LIBRARY_NAME = freebl_32int64
LIBRARY_VERSION := _$(LIBRARY_VERSION)
endif
ifdef USE_ABI32_FPU
LIBRARY_NAME = freebl_32fpu
LIBRARY_VERSION := _$(LIBRARY_VERSION)
endif
ifdef USE_ABI64_INT
LIBRARY_NAME = freebl_64int
LIBRARY_VERSION := _$(LIBRARY_VERSION)
endif
ifdef USE_ABI64_FPU
LIBRARY_NAME = freebl_64fpu
LIBRARY_VERSION := _$(LIBRARY_VERSION)
endif
endif
# if the library name contains _, we prefix the version with _
ifneq (,$(findstring _,$(LIBRARY_NAME)))
LIBRARY_VERSION := _$(LIBRARY_VERSION)
endif
MAPFILE_SOURCE = freebl.def
MAPFILE = $(OBJDIR)/$(LIBRARY_NAME).def