Makefile revision fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi#
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi# This file and its contents are supplied under the terms of the
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0.
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi# You may only use this file in accordance with the terms of version
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi# 1.0 of the CDDL.
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi#
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi# A full copy of the text of the CDDL should have accompanied this
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi# source. A copy of the CDDL is also available via the Internet at
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi# http://www.illumos.org/license/CDDL.
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi#
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi#
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi# Copyright 2012 Joyent, Inc. All rights reserved.
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi# Use is subject to license terms.
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi#
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert MustacchiUTSBASE = ../..
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert MustacchiMODULE = ipd
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert MustacchiOBJECTS = $(IPD_OBJS:%=$(OBJS_DIR)/%)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert MustacchiLINTS = $(IPD_OBJS:%.o=$(LINTS_DIR)/%.ln)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert MustacchiROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert MustacchiCONF_SRCDIR = $(UTSBASE)/common/inet/ipd
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiinclude $(UTSBASE)/intel/Makefile.intel
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert MustacchiALL_TARGET = $(BINARY) $(SRC_CONFILE)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert MustacchiLINT_TARGET = $(MODULE).lint
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert MustacchiINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert MustacchiLDFLAGS += -dy -Nmisc/neti -Nmisch/hook
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi.KEEP_STATE:
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchidef: $(DEF_DEPS)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiall: $(ALL_DEPS)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiclean: $(CLEAN_DEPS)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiclobber: $(CLOBBER_DEPS)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchilint: $(LINT_DEPS)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchimodlintlib: $(MODLINTLIB_DEPS)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiclean.lint: $(CLEAN_LINT_DEPS)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiinstall: $(INSTALL_DEPS)
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiinclude $(UTSBASE)/intel/Makefile.targ