Makefile.com 890 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #
  2. # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
  3. # Use is subject to license terms.
  4. #
  5. # This Source Code Form is subject to the terms of the Mozilla Public
  6. # License, v. 2.0. If a copy of the MPL was not distributed with this
  7. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  8. #
  9. MACH = $(shell mach)
  10. PUBLISH_ROOT = $(DIST)
  11. ifeq ($(CORE_DEPTH),../../..)
  12. ROOT = ROOT
  13. else
  14. ROOT = $(subst ../../../,,$(CORE_DEPTH))/ROOT
  15. endif
  16. PKGARCHIVE = $(PUBLISH_ROOT)/pkgarchive
  17. DATAFILES = copyright
  18. FILES = $(DATAFILES) pkginfo prototype
  19. PACKAGE = $(shell basename `pwd`)
  20. PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/../dist/public/nss/nss.h \
  21. | head -1 \
  22. | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//')
  23. LN = /usr/bin/ln
  24. CP = /usr/bin/cp
  25. CLOBBERFILES = $(FILES)
  26. include $(CORE_DEPTH)/coreconf/config.mk
  27. include $(CORE_DEPTH)/coreconf/rules.mk
  28. # vim: ft=make