Makefile.com (821B)
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 #ident "$Id$" 10 # 11 12 MACH = $(shell mach) 13 14 PUBLISH_ROOT = $(DIST) 15 ifeq ($(MOD_DEPTH),../..) 16 ROOT = ROOT 17 else 18 ROOT = $(subst ../../,,$(MOD_DEPTH))/ROOT 19 endif 20 21 PKGARCHIVE = $(dist_prefix)/pkgarchive 22 DATAFILES = copyright 23 FILES = $(DATAFILES) pkginfo 24 25 PACKAGE = $(shell basename `pwd`) 26 27 PRODUCT_VERSION = $(shell grep PR_VERSION $(dist_includedir)/prinit.h \ 28 | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//') 29 30 LN = /usr/bin/ln 31 CP = /usr/bin/cp 32 33 CLOBBERFILES = $(FILES) 34 35 include $(topsrcdir)/config/rules.mk 36 37 # vim: ft=make