xref: /titanic_50/usr/src/lib/libwanboot/Makefile (revision 34f9b3eef6fdadbda0a846aa4d68691ac40eace5)
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#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
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 lint: $(SUBDIRS)
62
63install_h:	$(ROOTHDRS)
64
65check:		$(CHECKHDRS)
66
67$(POFILE):	pofile_MSGFILES
68
69_msg:		$(MSGDOMAINPOFILE)
70
71$(SUBDIRS): FRC
72	@cd $@; pwd; $(MAKE) $(TARGET)
73
74FRC:
75
76include $(SRC)/Makefile.msg.targ
77include $(SRC)/lib/Makefile.targ
78