1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A#
1N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
1N/A# Use is subject to license terms.
1N/A#
1N/A# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
1N/A#
1N/A
1N/Ainclude $(SRC)/lib/Makefile.lib
1N/A
1N/AHDRS= dsgetdc.h
1N/AHDRDIR= common
1N/A
1N/AROOTHDRDIR= $(ROOT)/usr/include/ads
1N/AROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
1N/A
1N/A# ISA targets
1N/ASUBDIRS = $(MACH)
1N/A$(BUILD64)SUBDIRS += $(MACH64)
1N/A
1N/ADERIVED_FILES= \
1N/A common/ads_priv.h \
1N/A common/adspriv_xdr.c
1N/A
1N/ARPCGENFLAGS = -CMN
1N/A
1N/ACLEANFILES += $(DERIVED_FILES)
1N/A
1N/Aall := TARGET = all
1N/Aclean := TARGET = clean
1N/Aclobber := TARGET = clobber
1N/Ainstall := TARGET = install
1N/Alint := TARGET = lint
1N/A
1N/A.KEEP_STATE:
1N/A
1N/Aall: $(DERIVED_FILES) .WAIT $(SUBDIRS)
1N/A
1N/Ainstall: all .WAIT $(SUBDIRS)
1N/A
1N/Ainstall_h: $(DERIVED_FILES) $(ROOTHDRS)
1N/A
1N/Aclean clobber lint: $(SUBDIRS)
1N/A
1N/Acheck: $(CHECKHDRS)
1N/A
1N/Acommon/ads_priv.h: $(HDRDIR)/ads_priv.x
1N/A $(RPCGEN) $(RPCGENFLAGS) -h $(HDRDIR)/ads_priv.x > $@
1N/A
1N/Acommon/adspriv_xdr.c: $(HDRDIR)/ads_priv.x
1N/A $(RPCGEN) $(RPCGENFLAGS) -c $(HDRDIR)/ads_priv.x > $@
1N/A
1N/A$(SUBDIRS): FRC
1N/A @cd $@; pwd; $(MAKE) $(TARGET)
1N/A
FRC:
include $(SRC)/Makefile.msg.targ
include $(SRC)/lib/Makefile.targ