10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*2522Sraf# Common Development and Distribution License (the "License"). 6*2522Sraf# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 210Sstevel@tonic-gate# 22*2522Sraf# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 230Sstevel@tonic-gate# Use is subject to license terms. 240Sstevel@tonic-gate# 250Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 26*2522Sraf# 270Sstevel@tonic-gate 280Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.lib 290Sstevel@tonic-gate 300Sstevel@tonic-gateSUBDIRS = $(MACH) 310Sstevel@tonic-gate 320Sstevel@tonic-gateHDRS = boot_http.h \ 330Sstevel@tonic-gate bootinfo.h \ 340Sstevel@tonic-gate bootlog.h \ 350Sstevel@tonic-gate netboot_paths.h \ 360Sstevel@tonic-gate parseURL.h \ 370Sstevel@tonic-gate p12aux.h \ 380Sstevel@tonic-gate p12access.h\ 390Sstevel@tonic-gate p12err.h\ 400Sstevel@tonic-gate wanboot_conf.h 410Sstevel@tonic-gateHDRDIR = $(SRCDIR) $(SRC)/common/net/wanboot 420Sstevel@tonic-gate 430Sstevel@tonic-gateCHECKHDRS += $(SRC)/common/net/wanboot/auxutil.h 440Sstevel@tonic-gate 450Sstevel@tonic-gatePOFILE = libwanboot.po 460Sstevel@tonic-gateMSGFILES = $(SRC)/common/net/wanboot/bootconf_errmsg.c \ 470Sstevel@tonic-gate $(SRC)/common/net/wanboot/boot_http.c \ 480Sstevel@tonic-gate $(SRC)/common/net/wanboot/bootlog.c \ 490Sstevel@tonic-gate $(SRC)/common/net/wanboot/http_errorstr.c \ 500Sstevel@tonic-gate $(SRC)/common/net/wanboot/p12err.c 510Sstevel@tonic-gateXGETFLAGS = -a -x libwanboot.xcl 520Sstevel@tonic-gate 530Sstevel@tonic-gateall := TARGET = all 540Sstevel@tonic-gateclean := TARGET = clean 550Sstevel@tonic-gateclobber := TARGET = clobber 560Sstevel@tonic-gateinstall := TARGET = install 570Sstevel@tonic-gatelint := TARGET = lint 580Sstevel@tonic-gate 590Sstevel@tonic-gate.KEEP_STATE: 600Sstevel@tonic-gate 61*2522Srafall clean clobber install lint: $(SUBDIRS) 620Sstevel@tonic-gate 630Sstevel@tonic-gateinstall_h: $(ROOTHDRS) 640Sstevel@tonic-gate 650Sstevel@tonic-gatecheck: $(CHECKHDRS) 660Sstevel@tonic-gate 670Sstevel@tonic-gate$(POFILE): pofile_MSGFILES 680Sstevel@tonic-gate 690Sstevel@tonic-gate_msg: $(MSGDOMAINPOFILE) 700Sstevel@tonic-gate 71*2522Sraf$(SUBDIRS): FRC 720Sstevel@tonic-gate @cd $@; pwd; $(MAKE) $(TARGET) 730Sstevel@tonic-gate 740Sstevel@tonic-gateFRC: 750Sstevel@tonic-gate 760Sstevel@tonic-gateinclude $(SRC)/Makefile.msg.targ 770Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.targ 78