1 # 2 # CDDL HEADER START 3 # 4 # The contents of this file are subject to the terms of the 5 # Common Development and Distribution License (the "License"). 6 # You may not use this file except in compliance with the License. 7 # 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 # or http://www.opensolaris.org/os/licensing. 10 # See the License for the specific language governing permissions 11 # and limitations under the License. 12 # 13 # When distributing Covered Code, include this CDDL HEADER in each 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 # If applicable, add the following below this CDDL HEADER, with the 16 # fields enclosed by brackets "[]" replaced with your own identifying 17 # information: Portions Copyright [yyyy] [name of copyright owner] 18 # 19 # CDDL HEADER END 20 # 21 # 22 # Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23 # Use is subject to license terms. 24 # Copyright 2012 OmniTI Computer Consulting, Inc. All rights reserved. 25 # 26 27 include $(SRC)/lib/Makefile.lib 28 29 SUBDIRS = $(MACH) 30 $(BUILD64)SUBDIRS += $(MACH64) 31 32 HDRS = boot_http.h \ 33 bootinfo.h \ 34 bootlog.h \ 35 netboot_paths.h \ 36 parseURL.h \ 37 p12aux.h \ 38 p12access.h\ 39 p12err.h\ 40 wanboot_conf.h 41 HDRDIR = $(SRCDIR) $(SRC)/common/net/wanboot 42 43 CHECKHDRS += $(SRC)/common/net/wanboot/auxutil.h 44 45 POFILE = libwanboot.po 46 MSGFILES = $(SRC)/common/net/wanboot/bootconf_errmsg.c \ 47 $(SRC)/common/net/wanboot/boot_http.c \ 48 $(SRC)/common/net/wanboot/bootlog.c \ 49 $(SRC)/common/net/wanboot/http_errorstr.c \ 50 $(SRC)/common/net/wanboot/p12err.c 51 XGETFLAGS = -a -x libwanboot.xcl 52 53 all := TARGET = all 54 clean := TARGET = clean 55 clobber := TARGET = clobber 56 install := TARGET = install 57 lint := TARGET = lint 58 59 .KEEP_STATE: 60 61 all clean clobber install lint: $(SUBDIRS) 62 63 install_h: $(ROOTHDRS) 64 65 check: $(CHECKHDRS) 66 67 $(POFILE): pofile_MSGFILES 68 69 _msg: $(MSGDOMAINPOFILE) 70 71 $(SUBDIRS): FRC 72 @cd $@; pwd; $(MAKE) $(TARGET) 73 74 FRC: 75 76 include $(SRC)/Makefile.msg.targ 77 include $(SRC)/lib/Makefile.targ