Makefile revision 3909
d657c51f14601d0235434ffb78cf6ac0f27cc83cLennart Poettering#
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering#
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# This code is free software; you can redistribute it and/or modify it
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# under the terms of the GNU General Public License version 2 only, as
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# published by the Free Software Foundation. Oracle designates this
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# particular file as subject to the "Classpath" exception as provided
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# by Oracle in the LICENSE file that accompanied this code.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering#
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# This code is distributed in the hope that it will be useful, but WITHOUT
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# version 2 for more details (a copy is included in the LICENSE file that
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# accompanied this code).
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering#
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# You should have received a copy of the GNU General Public License version
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# 2 along with this work; if not, write to the Free Software Foundation,
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering#
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# or visit www.oracle.com if you need additional information or have any
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# questions.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering#
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering#
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering# Makefile for the nbproject sample code
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering#
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart PoetteringBUILDDIR = ../..
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart PoetteringPRODUCT = java
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poetteringinclude $(BUILDDIR)/common/Defs.gmk
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart PoetteringSAMPLE_SRC_DIR = $(SHARE_SRC)/sample/nbproject
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart PoetteringSAMPLE_DST_DIR = $(SAMPLEDIR)/nbproject
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart PoetteringSAMPLE_FILES = \
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering $(SAMPLE_DST_DIR)/project.xml \
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poetteringall build: $(SAMPLE_FILES)
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering$(SAMPLE_DST_DIR)/%: $(SAMPLE_SRC_DIR)/%
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering $(install-file)
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poetteringclean clobber:
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering $(RM) -r $(SAMPLE_DST_DIR)
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering.PHONY: all build clean clobber
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering