nsprpub/pkg/solaris/Makefile-devl.targ
author Mike Habicher <mikeh@mozilla.com>
Wed, 07 Aug 2013 19:51:54 -0400
changeset 119839 1433d653b701fcec58d146f92c90d4630beec958
parent 97770 d37d4edce6dd592f04afa606deb1ae327c07b4a4
child 120006 c5dcca9aeff89ef5a32a01d5fbd7e2bf2b6d47ce
permissions -rwxr-xr-x
Bug 890427 - Let the Camera app know when the preview has actually started/stopped. r=jst, a=leo+

# 
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
# 
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#ident	"$Id: Makefile-devl.targ,v 1.4 2012/03/06 13:13:40 gerv%gerv.net Exp $"
#

include $(srcdir)/../proto64.mk

pkginfo: pkginfo.tmpl ../awk_pkginfo
	$(RM) $@; nawk -f ../awk_pkginfo $(srcdir)/$@.tmpl > $@

pkg: $(PKGARCHIVE)
	cat $(srcdir)/prototype | sed $(sed_proto64) > prototype
	cp $(srcdir)/depend .
	pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)

$(PKGARCHIVE):
	[ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)

$(DATAFILES): %: $(srcdir)/../common_files/%
	$(RM) $@; cp $(srcdir)/../common_files/$@ $@

$(MACHDATAFILES): %: $(srcdir)/../common_files/%_$(MACH)
	$(RM) $@; cp $(srcdir)/../common_files/$@_$(MACH) $@

clobber clean::
	-$(RM) $(CLOBBERFILES) $(CLEANFILES)

.PHONY: pkg