Makefile revision 3651
220N/A#
220N/A# CDDL HEADER START
220N/A#
220N/A# The contents of this file are subject to the terms of the
220N/A# Common Development and Distribution License (the "License").
220N/A# You may not use this file except in compliance with the License.
220N/A#
220N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
220N/A# or http://www.opensolaris.org/os/licensing.
220N/A# See the License for the specific language governing permissions
220N/A# and limitations under the License.
220N/A#
220N/A# When distributing Covered Code, include this CDDL HEADER in each
220N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
220N/A# If applicable, add the following below this CDDL HEADER, with the
220N/A# fields enclosed by brackets "[]" replaced with your own identifying
220N/A# information: Portions Copyright [yyyy] [name of copyright owner]
220N/A#
220N/A# CDDL HEADER END
220N/A#
220N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
220N/A#
3817N/A
220N/Ainclude ../../../../make-rules/shared-macros.mk
220N/A
220N/APROG= mailq
220N/A
220N/Aall: $(PROG)
220N/Abuild: all
220N/A
220N/APROTOUSRBINDIR= ../../build/prototype/$(MACH)/usr/bin
844N/AINSTALLPROG= $(PROG:%=$(PROTOUSRBINDIR)/%)
844N/A
220N/A%: %.c
1258N/A $(CC) $(CFLAGS) -o $@ $(ASLR_ENABLE) $<
220N/A
2899N/Ainstall: $(INSTALLPROG) build
2899N/A
3817N/A$(INSTALLPROG): $(PROG)
3817N/A
3817N/A$(PROTOUSRBINDIR)/%: %
220N/A $(INSTALL) $< $@
220N/A
220N/Aclean:
514N/A $(RM) $(PROG) $(INSTALLPROG)
514N/A