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: include manifest.mn michael@0: include $(CORE_DEPTH)/coreconf/config.mk michael@0: include config.mk michael@0: include $(CORE_DEPTH)/coreconf/rules.mk michael@0: michael@0: ifdef NOTDEF # was ifdef MOZILLA_CLIENT michael@0: NSS_BUILD_CAPI = 1 michael@0: endif michael@0: michael@0: # This'll need some help from a build person. michael@0: michael@0: # The generated files are checked in, and differ from what ckapi.perl michael@0: # will produce. ckapi.perl is currently newer than the targets, so michael@0: # these rules are invoked, causing the wrong files to be generated. michael@0: # Turning off to fix builds. michael@0: # michael@0: # nssckepv.h: ck.api ckapi.perl michael@0: # nssckft.h: ck.api ckapi.perl michael@0: # nssckg.h: ck.api ckapi.perl michael@0: # nssck.api: ck.api ckapi.perl michael@0: # $(PERL) ckapi.perl ck.api michael@0: michael@0: export:: private_export michael@0: michael@0: # can't do this in manifest.mn because OS_TARGET isn't defined there. michael@0: ifeq (,$(filter-out WINNT WIN95,$(OS_TARGET))) michael@0: ifdef NSS_BUILD_CAPI michael@0: DIRS += capi michael@0: endif michael@0: endif michael@0: michael@0: #ifeq ($(OS_ARCH), Darwin) michael@0: #DIRS += nssmkey michael@0: #endif