xref: /titanic_52/usr/src/lib/libwanboot/Makefile (revision 82d33c01b078ed404a986a369750cdb4743773fb)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 2002-2003 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27
28include $(SRC)/lib/Makefile.lib
29
30SUBDIRS	=	$(MACH)
31
32HDRS =		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
41HDRDIR =	$(SRCDIR) $(SRC)/common/net/wanboot
42
43CHECKHDRS +=	$(SRC)/common/net/wanboot/auxutil.h
44
45POFILE =	libwanboot.po
46MSGFILES =	$(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
51XGETFLAGS =	-a -x libwanboot.xcl
52
53all := 		TARGET = all
54clean :=	TARGET = clean
55clobber :=	TARGET = clobber
56install	:=	TARGET = install
57lint :=		TARGET = lint
58
59.KEEP_STATE:
60
61all clean clobber install: spec	.WAIT $(SUBDIRS)
62
63lint:		$(SUBDIRS)
64
65install_h:	$(ROOTHDRS)
66
67check:		$(CHECKHDRS)
68
69$(POFILE):	pofile_MSGFILES
70
71_msg:		$(MSGDOMAINPOFILE)
72
73spec $(SUBDIRS): FRC
74	@cd $@; pwd; $(MAKE) $(TARGET)
75
76FRC:
77
78include $(SRC)/Makefile.msg.targ
79include $(SRC)/lib/Makefile.targ
80