1*3299f39fSGordon Ross# 2*3299f39fSGordon Ross# CDDL HEADER START 3*3299f39fSGordon Ross# 4*3299f39fSGordon Ross# The contents of this file are subject to the terms of the 5*3299f39fSGordon Ross# Common Development and Distribution License (the "License"). 6*3299f39fSGordon Ross# You may not use this file except in compliance with the License. 7*3299f39fSGordon Ross# 8*3299f39fSGordon Ross# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*3299f39fSGordon Ross# or http://www.opensolaris.org/os/licensing. 10*3299f39fSGordon Ross# See the License for the specific language governing permissions 11*3299f39fSGordon Ross# and limitations under the License. 12*3299f39fSGordon Ross# 13*3299f39fSGordon Ross# When distributing Covered Code, include this CDDL HEADER in each 14*3299f39fSGordon Ross# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*3299f39fSGordon Ross# If applicable, add the following below this CDDL HEADER, with the 16*3299f39fSGordon Ross# fields enclosed by brackets "[]" replaced with your own identifying 17*3299f39fSGordon Ross# information: Portions Copyright [yyyy] [name of copyright owner] 18*3299f39fSGordon Ross# 19*3299f39fSGordon Ross# CDDL HEADER END 20*3299f39fSGordon Ross# 21*3299f39fSGordon Ross# 22*3299f39fSGordon Ross# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23*3299f39fSGordon Ross# Use is subject to license terms. 24*3299f39fSGordon Ross# 25*3299f39fSGordon Ross# Copyright 2013 Nexenta Systems, Inc. All rights reserved. 26*3299f39fSGordon Ross# 27*3299f39fSGordon Ross 28*3299f39fSGordon Rossinclude $(SRC)/lib/Makefile.lib 29*3299f39fSGordon Ross 30*3299f39fSGordon RossHDRS= libmlrpc.h ndr.h ndrtypes.ndl rpcpdu.ndl 31*3299f39fSGordon RossHDRDIR= common 32*3299f39fSGordon Ross 33*3299f39fSGordon RossROOTHDRDIR= $(ROOT)/usr/include/libmlrpc 34*3299f39fSGordon RossROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%) 35*3299f39fSGordon Ross 36*3299f39fSGordon Ross# ISA targets 37*3299f39fSGordon RossSUBDIRS = $(MACH) 38*3299f39fSGordon Ross$(BUILD64)SUBDIRS += $(MACH64) 39*3299f39fSGordon Ross 40*3299f39fSGordon Rossall := TARGET = all 41*3299f39fSGordon Rossinstall := TARGET = install 42*3299f39fSGordon Rossclean := TARGET = clean 43*3299f39fSGordon Rossclobber := TARGET = clobber 44*3299f39fSGordon Rosslint := TARGET = lint 45*3299f39fSGordon Ross 46*3299f39fSGordon Ross.KEEP_STATE: 47*3299f39fSGordon Ross 48*3299f39fSGordon Rossall install clean clobber lint: $(SUBDIRS) 49*3299f39fSGordon Ross 50*3299f39fSGordon Rossinstall_h: $(ROOTHDRDIR) $(ROOTHDRS) 51*3299f39fSGordon Ross 52*3299f39fSGordon Rosscheck: $(CHECKHDRS) 53*3299f39fSGordon Ross 54*3299f39fSGordon Ross$(ROOTHDRDIR)/%: % 55*3299f39fSGordon Ross $(INS.file) 56*3299f39fSGordon Ross 57*3299f39fSGordon Ross$(ROOTHDRDIR): 58*3299f39fSGordon Ross $(INS.dir) 59*3299f39fSGordon Ross 60*3299f39fSGordon Ross$(SUBDIRS): FRC 61*3299f39fSGordon Ross @cd $@; pwd; VERSION='$(VERSION)' $(MAKE) $(TARGET) 62*3299f39fSGordon Ross 63*3299f39fSGordon RossFRC: 64*3299f39fSGordon Ross 65*3299f39fSGordon Rossinclude $(SRC)/lib/Makefile.targ 66