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: # michael@0: # Override TARGETS variable so that only shared libraries michael@0: # are specifed as dependencies within rules.mk. michael@0: # michael@0: michael@0: TARGETS = $(SHARED_LIBRARY) michael@0: LIBRARY = michael@0: IMPORT_LIBRARY = michael@0: PROGRAM = michael@0: michael@0: ifeq (,$(filter-out WIN%,$(OS_TARGET))) michael@0: SHARED_LIBRARY = $(OBJDIR)/$(DLL_PREFIX)$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX) michael@0: RES = $(OBJDIR)/$(LIBRARY_NAME).res michael@0: RESNAME = $(LIBRARY_NAME).rc michael@0: endif michael@0: michael@0: ifdef BUILD_IDG michael@0: DEFINES += -DNSSDEBUG michael@0: endif michael@0: michael@0: # Needed for compilation of $(OBJDIR)/certdata.c michael@0: INCLUDES += -I. michael@0: michael@0: # michael@0: # To create a loadable module on Darwin, we must use -bundle. michael@0: # michael@0: ifeq ($(OS_TARGET),Darwin) michael@0: ifndef USE_64 michael@0: DSO_LDOPTS = -bundle michael@0: endif michael@0: endif michael@0: