Source

oi-build / components / meta-packages / nvidia-incorporation / Makefile

Full commit
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL)". You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2011, Andrzej Szeszo
#

include ../../../make-rules/shared-macros.mk

COMPONENT_NAME=     dbtg-incorporation

include ../../../make-rules/ips.mk

CLEAN_PATHS+=	$(BUILD_DIR)
PKGLINT=	true

build:

install:
	[ -d $(PROTO_DIR) ] || mkdir -p $(PROTO_DIR)

$(MANIFEST_BASE)-%.mangled: $(MANIFEST_BASE)-%.mogrified $(MANGLED_DIR)
	cp $< $@

$(MANIFEST_BASE)-%.depend: $(MANIFEST_BASE)-%.mogrified
	$(PKGDEPEND) generate $(PKGDEPEND_GENERATE_OPTIONS) $< >$@

clean::
	$(RM) -r $(CLEAN_PATHS)