1*fe77cc04SRobert Mustacchi# 2*fe77cc04SRobert Mustacchi# This file and its contents are supplied under the terms of the 3*fe77cc04SRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0. 4*fe77cc04SRobert Mustacchi# You may only use this file in accordance with the terms of version 5*fe77cc04SRobert Mustacchi# 1.0 of the CDDL. 6*fe77cc04SRobert Mustacchi# 7*fe77cc04SRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this 8*fe77cc04SRobert Mustacchi# source. A copy of the CDDL is also available via the Internet at 9*fe77cc04SRobert Mustacchi# http://www.illumos.org/license/CDDL. 10*fe77cc04SRobert Mustacchi# 11*fe77cc04SRobert Mustacchi 12*fe77cc04SRobert Mustacchi# 13*fe77cc04SRobert Mustacchi# Copyright 2012 Joyent, Inc. All rights reserved. 14*fe77cc04SRobert Mustacchi# Use is subject to license terms. 15*fe77cc04SRobert Mustacchi# 16*fe77cc04SRobert Mustacchi 17*fe77cc04SRobert MustacchiUTSBASE = ../.. 18*fe77cc04SRobert Mustacchi 19*fe77cc04SRobert MustacchiMODULE = ipd 20*fe77cc04SRobert MustacchiOBJECTS = $(IPD_OBJS:%=$(OBJS_DIR)/%) 21*fe77cc04SRobert MustacchiLINTS = $(IPD_OBJS:%.o=$(LINTS_DIR)/%.ln) 22*fe77cc04SRobert MustacchiROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 23*fe77cc04SRobert MustacchiCONF_SRCDIR = $(UTSBASE)/common/inet/ipd 24*fe77cc04SRobert Mustacchi 25*fe77cc04SRobert Mustacchiinclude $(UTSBASE)/intel/Makefile.intel 26*fe77cc04SRobert Mustacchi 27*fe77cc04SRobert MustacchiALL_TARGET = $(BINARY) $(SRC_CONFILE) 28*fe77cc04SRobert MustacchiLINT_TARGET = $(MODULE).lint 29*fe77cc04SRobert MustacchiINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 30*fe77cc04SRobert Mustacchi 31*fe77cc04SRobert MustacchiLDFLAGS += -dy -Nmisc/neti -Nmisch/hook 32*fe77cc04SRobert Mustacchi 33*fe77cc04SRobert Mustacchi.KEEP_STATE: 34*fe77cc04SRobert Mustacchi 35*fe77cc04SRobert Mustacchidef: $(DEF_DEPS) 36*fe77cc04SRobert Mustacchi 37*fe77cc04SRobert Mustacchiall: $(ALL_DEPS) 38*fe77cc04SRobert Mustacchi 39*fe77cc04SRobert Mustacchiclean: $(CLEAN_DEPS) 40*fe77cc04SRobert Mustacchi 41*fe77cc04SRobert Mustacchiclobber: $(CLOBBER_DEPS) 42*fe77cc04SRobert Mustacchi 43*fe77cc04SRobert Mustacchilint: $(LINT_DEPS) 44*fe77cc04SRobert Mustacchi 45*fe77cc04SRobert Mustacchimodlintlib: $(MODLINTLIB_DEPS) 46*fe77cc04SRobert Mustacchi 47*fe77cc04SRobert Mustacchiclean.lint: $(CLEAN_LINT_DEPS) 48*fe77cc04SRobert Mustacchi 49*fe77cc04SRobert Mustacchiinstall: $(INSTALL_DEPS) 50*fe77cc04SRobert Mustacchi 51*fe77cc04SRobert Mustacchiinclude $(UTSBASE)/intel/Makefile.targ 52