usr/src/lib/Makefile
author Ethan Quach <Ethan.Quach@sun.com>
Tue, 31 May 2011 14:21:09 -0700
changeset 1160 6f7e708c38ec
parent 1111 0c6c862af34f
child 1178 bb89a62910e7
permissions -rw-r--r--
16257 Support for zones configuration and installation should be included in AI 7041915 TransferFiles ICT should support transferring a directory that is more than one level deep. 7049824 System installed via AI ends up with incorrect mountpoints for shared ZFS datasets
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
     1
#
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
     2
# CDDL HEADER START
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
     3
# 
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
     7
# 
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    10
# See the License for the specific language governing permissions
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    11
# and limitations under the License.
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    12
# 
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    18
#
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    19
# CDDL HEADER END
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    20
#
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    21
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    22
#
1026
91b57d590dfa 6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents: 940
diff changeset
    23
# Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
0
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    24
#
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    25
148
bff97dbaccdc 1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents: 77
diff changeset
    26
include $(SRC)/Makefile.master
bff97dbaccdc 1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents: 77
diff changeset
    27
1090
6ac92c9d29e0 7038706 incorporate pybootmgmt
Sanjay Nadkarni <nadkarni@sun.com>
parents: 1041
diff changeset
    28
SUBDIRS=	bootmgmt \
6ac92c9d29e0 7038706 incorporate pybootmgmt
Sanjay Nadkarni <nadkarni@sun.com>
parents: 1041
diff changeset
    29
		install_common \
902
5b421d727e75 17161 - Implement Data Cache component for Installer
Darren Kenny <Darren.Kenny@Sun.COM>
parents: 901
diff changeset
    30
		install_utils \
773
cc0753f47d02 6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents: 706
diff changeset
    31
		libaiscf \
618
8efeebfd3dba 4526 delete-service is not deleting service as described in section 4.3.2 ai_design_doc
Clay Baenziger <ClayB@OpenSolaris.ORG>
parents: 513
diff changeset
    32
		libaiscf_pymod \
773
cc0753f47d02 6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents: 706
diff changeset
    33
		libict  \
cc0753f47d02 6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents: 706
diff changeset
    34
		libict_pymod \
0
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    35
		liblogsvc \
179
976c9fa7e11c 2704 transfer module needs functionality added to it.
Jean McCormack <Jean.McCormack@Sun.COM>
parents: 169
diff changeset
    36
		liblogsvc_pymod \
773
cc0753f47d02 6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents: 706
diff changeset
    37
		liborchestrator \
0
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    38
		libspmicommon \
773
cc0753f47d02 6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents: 706
diff changeset
    39
		libtarget_pymod \
0
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    40
		libtd \
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    41
		libti \
169
f4cf4ac4caa3 2320 DC needs a C-python interface for the TI module
Jean McCormack <Jean.McCormack@Sun.COM>
parents: 148
diff changeset
    42
		libti_pymod \
179
976c9fa7e11c 2704 transfer module needs functionality added to it.
Jean McCormack <Jean.McCormack@Sun.COM>
parents: 169
diff changeset
    43
		libtransfer \
197
ac1383e6038c 2618 Move install related modules in slim_source to a common place
Karen Tung <Karen.Tung@Sun.COM>
parents: 191
diff changeset
    44
		libtransfer_pymod \
925
8eeda002facf 6977107 usage of dns-sd needs to be replaced within install
John Fischer <John.Fischer@Sun.COM>
parents: 910
diff changeset
    45
		libzoneinfo_pymod \
8eeda002facf 6977107 usage of dns-sd needs to be replaced within install
John Fischer <John.Fischer@Sun.COM>
parents: 910
diff changeset
    46
		libaimdns \
1026
91b57d590dfa 6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents: 940
diff changeset
    47
		netif \
91b57d590dfa 6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents: 940
diff changeset
    48
		terminalui
0
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    49
8
c3b1d01b71db 220 slim_source build could be much faster
"Dave Miner <dave.miner@sun.com>"
parents: 0
diff changeset
    50
HDRSUBDIRS=	libadmldb libadmutil
c3b1d01b71db 220 slim_source build could be much faster
"Dave Miner <dave.miner@sun.com>"
parents: 0
diff changeset
    51
902
5b421d727e75 17161 - Implement Data Cache component for Installer
Darren Kenny <Darren.Kenny@Sun.COM>
parents: 901
diff changeset
    52
COMSUBDIRS=	liberrsvc_pymod \
5b421d727e75 17161 - Implement Data Cache component for Installer
Darren Kenny <Darren.Kenny@Sun.COM>
parents: 901
diff changeset
    53
		liberrsvc \
1111
0c6c862af34f 7038421 Provide a boot checkpoint implementation based on pybootmgmt
Niall Power <niall@brawndo.local>
parents: 1100
diff changeset
    54
		install_boot \
1160
6f7e708c38ec 16257 Support for zones configuration and installation should be included in AI
Ethan Quach <Ethan.Quach@sun.com>
parents: 1111
diff changeset
    55
		install_configuration \
902
5b421d727e75 17161 - Implement Data Cache component for Installer
Darren Kenny <Darren.Kenny@Sun.COM>
parents: 901
diff changeset
    56
		install_doc \
1026
91b57d590dfa 6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents: 940
diff changeset
    57
		install_engine \
1041
7e44b50b28cb 6255:ICT - Use more flexible method, than install-finish to invoke ICT
Ginnie Wray<virginia.wray@oracle.com>
parents: 1026
diff changeset
    58
		install_ict \
1026
91b57d590dfa 6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents: 940
diff changeset
    59
		install_logging \
91b57d590dfa 6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents: 940
diff changeset
    60
		install_logging_pymod \
91b57d590dfa 6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents: 940
diff changeset
    61
		install_manifest \
1100
e14505a13f61 7038729 Older default.xml manifests need to be imported into new default manifest handling
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents: 1090
diff changeset
    62
		install_manifest_input \
1026
91b57d590dfa 6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents: 940
diff changeset
    63
		install_target \
940
8b8b5f371bf9 6997589 - implement CUD transfer mechanism
Ginnie Wray<virginia.wray@oracle.com>
parents: 925
diff changeset
    64
		install_transfer
706
f56ac484123b 13984 Provide Error handling library for New Solaris Install Architecture
Evan Layton <Evan.Layton@Sun.COM>
parents: 656
diff changeset
    65
148
bff97dbaccdc 1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents: 77
diff changeset
    66
ADMINLIBRARIES=	libadmldb.so libadmutil.so
bff97dbaccdc 1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents: 77
diff changeset
    67
ROOTADMINLIBLINKS=	$(ADMINLIBRARIES:%=$(ROOTADMINLIB)/%)
bff97dbaccdc 1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents: 77
diff changeset
    68
0
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    69
.PARALLEL:	$(SUBDIRS)
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    70
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    71
ROOTINC=	$(ROOT)/usr/include
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    72
ROOTINCADMIN=	$(ROOTINC)/admin
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    73
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    74
all:=		TARGET= all
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    75
check:=		TARGET= check
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    76
clean:=		TARGET= clean
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    77
clobber:=	TARGET= clobber
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    78
install:=	TARGET= install
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    79
install_h:=	TARGET= install_h
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    80
lint:=		TARGET= lint
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    81
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    82
.KEEP_STATE:
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    83
706
f56ac484123b 13984 Provide Error handling library for New Solaris Install Architecture
Evan Layton <Evan.Layton@Sun.COM>
parents: 656
diff changeset
    84
all check clean clobber lint: $(COMSUBDIRS) $(SUBDIRS)
148
bff97dbaccdc 1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents: 77
diff changeset
    85
706
f56ac484123b 13984 Provide Error handling library for New Solaris Install Architecture
Evan Layton <Evan.Layton@Sun.COM>
parents: 656
diff changeset
    86
install: $(ROOTADMINLIBLINKS) .WAIT $(COMSUBDIRS) $(SUBDIRS)
0
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    87
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    88
headers: install_h
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    89
706
f56ac484123b 13984 Provide Error handling library for New Solaris Install Architecture
Evan Layton <Evan.Layton@Sun.COM>
parents: 656
diff changeset
    90
install_h:	$(ROOTINCADMIN) $(HDRSUBDIRS) $(COMSUBDIRS) $(SUBDIRS)
0
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    91
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
    92
# library dependencies
618
8efeebfd3dba 4526 delete-service is not deleting service as described in section 4.3.2 ai_design_doc
Clay Baenziger <ClayB@OpenSolaris.ORG>
parents: 513
diff changeset
    93
libaiscf_pymod:		libaiscf
179
976c9fa7e11c 2704 transfer module needs functionality added to it.
Jean McCormack <Jean.McCormack@Sun.COM>
parents: 169
diff changeset
    94
liblogsvc_pymod:	liblogsvc
191
4ca865e3c121 2161 installer should be compliant with "ZFS root" design specification
Jan Damborsky <Jan.Damborsky@Sun.COM>
parents: 180
diff changeset
    95
libtransfer_pymod:	libtransfer liblogsvc
169
f4cf4ac4caa3 2320 DC needs a C-python interface for the TI module
Jean McCormack <Jean.McCormack@Sun.COM>
parents: 148
diff changeset
    96
libti_pymod:		libti
863
5a915c215754 16813 Need to remove beadm and libbe from slim_source
Glenn Lagasse <glenn.lagasse@oracle.com>
parents: 773
diff changeset
    97
liborchestrator:	libtd liblogsvc libti libtransfer_pymod libict
5a915c215754 16813 Need to remove beadm and libbe from slim_source
Glenn Lagasse <glenn.lagasse@oracle.com>
parents: 773
diff changeset
    98
libict:			liblogsvc libti libtransfer_pymod
5a915c215754 16813 Need to remove beadm and libbe from slim_source
Glenn Lagasse <glenn.lagasse@oracle.com>
parents: 773
diff changeset
    99
libtd:			liblogsvc
5a915c215754 16813 Need to remove beadm and libbe from slim_source
Glenn Lagasse <glenn.lagasse@oracle.com>
parents: 773
diff changeset
   100
libti:			liblogsvc
70
022a3e6a3ac0 916 - libtransfer fails to build - can't find liblogsvc.so
William Schumann <william.schumann@sun.com>
parents: 14
diff changeset
   101
libtransfer:		liblogsvc
229
9e8783c6042e 1040 post-installation phase should be redesigned
William Schumann <william.schumann@sun.com>
parents: 197
diff changeset
   102
libict_pymod:		liblogsvc
773
cc0753f47d02 6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents: 706
diff changeset
   103
libtarget_pymod:	libtd libti
0
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
   104
148
bff97dbaccdc 1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents: 77
diff changeset
   105
bff97dbaccdc 1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents: 77
diff changeset
   106
$(ROOTADMINLIBLINKS):
bff97dbaccdc 1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents: 77
diff changeset
   107
	$(RM) $@; $(SYMLINK) $(ADMINLIB)/$(@F) $@
bff97dbaccdc 1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents: 77
diff changeset
   108
0
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
   109
$(ROOTINCADMIN):
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
   110
	$(INS.dir)
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
   111
706
f56ac484123b 13984 Provide Error handling library for New Solaris Install Architecture
Evan Layton <Evan.Layton@Sun.COM>
parents: 656
diff changeset
   112
$(COMSUBDIRS) $(SUBDIRS) $(HDRSUBDIRS): FRC
0
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
   113
	cd $@; pwd; $(MAKE) $(TARGET)
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
   114
87f703f8362e OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff changeset
   115
FRC: