3352 would like 64bit install libraries
[unleashed.git] / usr / src / lib / libwanboot / Makefile
blob580716ccc22b3e0ef9c45563bf9dc84f0c225e50
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
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.
27 include $(SRC)/lib/Makefile.lib
29 SUBDIRS = $(MACH)
30 $(BUILD64)SUBDIRS += $(MACH64)
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
43 CHECKHDRS += $(SRC)/common/net/wanboot/auxutil.h
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
53 all := TARGET = all
54 clean := TARGET = clean
55 clobber := TARGET = clobber
56 install := TARGET = install
57 lint := TARGET = lint
59 .KEEP_STATE:
61 all clean clobber install lint: $(SUBDIRS)
63 install_h: $(ROOTHDRS)
65 check: $(CHECKHDRS)
67 $(POFILE): pofile_MSGFILES
69 _msg: $(MSGDOMAINPOFILE)
71 $(SUBDIRS): FRC
72 @cd $@; pwd; $(MAKE) $(TARGET)
74 FRC:
76 include $(SRC)/Makefile.msg.targ
77 include $(SRC)/lib/Makefile.targ