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