Makefile 1015 B

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # This Source Code Form is subject to the terms of the Mozilla Public
  3. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. include manifest.mn
  6. include $(CORE_DEPTH)/coreconf/config.mk
  7. include config.mk
  8. include $(CORE_DEPTH)/coreconf/rules.mk
  9. ifdef NOTDEF # was ifdef MOZILLA_CLIENT
  10. NSS_BUILD_CAPI = 1
  11. endif
  12. # This'll need some help from a build person.
  13. # The generated files are checked in, and differ from what ckapi.perl
  14. # will produce. ckapi.perl is currently newer than the targets, so
  15. # these rules are invoked, causing the wrong files to be generated.
  16. # Turning off to fix builds.
  17. #
  18. # nssckepv.h: ck.api ckapi.perl
  19. # nssckft.h: ck.api ckapi.perl
  20. # nssckg.h: ck.api ckapi.perl
  21. # nssck.api: ck.api ckapi.perl
  22. # $(PERL) ckapi.perl ck.api
  23. export:: private_export
  24. # can't do this in manifest.mn because OS_TARGET isn't defined there.
  25. ifeq (,$(filter-out WINNT WIN95,$(OS_TARGET)))
  26. ifdef NSS_BUILD_CAPI
  27. DIRS += capi
  28. endif
  29. endif