17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5fb9f9b97Skupfer# Common Development and Distribution License (the "License"). 6fb9f9b97Skupfer# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 217c478bd9Sstevel@tonic-gate# 22*4ffbb4fcSstevel# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 257c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 267c478bd9Sstevel@tonic-gate# 277c478bd9Sstevel@tonic-gate# Makefile for system source 287c478bd9Sstevel@tonic-gate# 297c478bd9Sstevel@tonic-gate# include global definitions 307c478bd9Sstevel@tonic-gateinclude Makefile.master 317c478bd9Sstevel@tonic-gate# 327c478bd9Sstevel@tonic-gate# the Targetdirs file is the AT&T target.dirs file in a makefile format. 337c478bd9Sstevel@tonic-gate# it defines TARGETDIRS and ROOTDIRS. 347c478bd9Sstevel@tonic-gateinclude Targetdirs 357c478bd9Sstevel@tonic-gate 367c478bd9Sstevel@tonic-gateCOMMON_SUBDIRS= uts lib cmd ucblib ucbcmd 377c478bd9Sstevel@tonic-gate 387c478bd9Sstevel@tonic-gate# 397c478bd9Sstevel@tonic-gate# sparc needs to build both stand and psm, in that order 407c478bd9Sstevel@tonic-gate# x86 needs to build psm and GRUB 417c478bd9Sstevel@tonic-gate# 427c478bd9Sstevel@tonic-gatesparc_SUBDIRS= stand psm 437c478bd9Sstevel@tonic-gatei386_SUBDIRS= psm grub 447c478bd9Sstevel@tonic-gate 457c478bd9Sstevel@tonic-gateSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 467c478bd9Sstevel@tonic-gate 477c478bd9Sstevel@tonic-gateHDRSUBDIRS= uts head lib cmd ucbhead 487c478bd9Sstevel@tonic-gate 497c478bd9Sstevel@tonic-gate# UCB headers are bug-for-bug compatible and not checkable against the header 507c478bd9Sstevel@tonic-gate# standards. 517c478bd9Sstevel@tonic-gate# 527c478bd9Sstevel@tonic-gateCHKHDRSUBDIRS= head uts lib 537c478bd9Sstevel@tonic-gate 547c478bd9Sstevel@tonic-gate# The check target also causes smf(5) service manifests to be validated. 557c478bd9Sstevel@tonic-gateCHKMFSTSUBDIRS= cmd 567c478bd9Sstevel@tonic-gate 577c478bd9Sstevel@tonic-gateMSGSUBDIRS= cmd ucbcmd lib 587c478bd9Sstevel@tonic-gateDOMAINS= \ 597c478bd9Sstevel@tonic-gate SUNW_OST_ADMIN \ 607c478bd9Sstevel@tonic-gate SUNW_OST_NETRPC \ 617c478bd9Sstevel@tonic-gate SUNW_OST_OSCMD \ 627c478bd9Sstevel@tonic-gate SUNW_OST_OSLIB \ 637c478bd9Sstevel@tonic-gate SUNW_OST_UCBCMD \ 647c478bd9Sstevel@tonic-gate SUNW_OST_ZONEINFO 657c478bd9Sstevel@tonic-gate 667c478bd9Sstevel@tonic-gateMSGDDIRS= $(DOMAINS:%=$(MSGROOT)/%) 677c478bd9Sstevel@tonic-gateMSGDIRS= $(MSGROOT) $(MSGDDIRS) $(MSGROOT)/LC_TIME 687c478bd9Sstevel@tonic-gate 697c478bd9Sstevel@tonic-gateall all_xmod := TARGET= all 707c478bd9Sstevel@tonic-gateinstall install_xmod := TARGET= install 717c478bd9Sstevel@tonic-gateinstall_h := TARGET= install_h 727c478bd9Sstevel@tonic-gateclean := TARGET= clean 737c478bd9Sstevel@tonic-gateclobber := TARGET= clobber 747c478bd9Sstevel@tonic-gatecheck := TARGET= check 757c478bd9Sstevel@tonic-gate_msg := TARGET= _msg 767c478bd9Sstevel@tonic-gate 777c478bd9Sstevel@tonic-gate 787c478bd9Sstevel@tonic-gate.KEEP_STATE: 797c478bd9Sstevel@tonic-gate 807c478bd9Sstevel@tonic-gate# 817c478bd9Sstevel@tonic-gate# Note: install only builds the all target for the pkgdefs 827c478bd9Sstevel@tonic-gate# directory. We are not yet ready to have an install 837c478bd9Sstevel@tonic-gate# build create 'packages' also. To build packages 847c478bd9Sstevel@tonic-gate# cd pkgdefs and do a 'make install' 857c478bd9Sstevel@tonic-gate# 86fb9f9b97Skupferall: closedbins sgs .WAIT $(SUBDIRS) pkg_all 87fb9f9b97Skupferinstall: closedbins sgs .WAIT $(SUBDIRS) pkg_all .WAIT _msg 887c478bd9Sstevel@tonic-gate @cd pkgdefs/SUNW0on; pwd; $(MAKE) _msg 897c478bd9Sstevel@tonic-gate @rm -rf "$(ROOT)/catalog" 907c478bd9Sstevel@tonic-gate 917c478bd9Sstevel@tonic-gateclean clobber: $(SUBDIRS) head pkgdefs 927c478bd9Sstevel@tonic-gate_msg: _msgdirs rootdirs $(MSGSUBDIRS) 937c478bd9Sstevel@tonic-gate 947c478bd9Sstevel@tonic-gate# for a complete build from scratch 957c478bd9Sstevel@tonic-gatecrankturn: sgs uts pkg_all 967c478bd9Sstevel@tonic-gate @cd lib; pwd; $(MAKE) install 977c478bd9Sstevel@tonic-gate @cd cmd; pwd; $(MAKE) all 987c478bd9Sstevel@tonic-gate @cd ucblib; pwd; $(MAKE) install 997c478bd9Sstevel@tonic-gate @cd ucbcmd; pwd; $(MAKE) all 1007c478bd9Sstevel@tonic-gate 1017c478bd9Sstevel@tonic-gatepkg_all: 1027c478bd9Sstevel@tonic-gate @cd pkgdefs; pwd; $(MAKE) all 1037c478bd9Sstevel@tonic-gate 1047c478bd9Sstevel@tonic-gate# 1057c478bd9Sstevel@tonic-gate# target for building a proto area for reference via the ROOT macro 1067c478bd9Sstevel@tonic-gate# 1077c478bd9Sstevel@tonic-gateprotolibs: rootlibs ucblibs 1087c478bd9Sstevel@tonic-gate 1097c478bd9Sstevel@tonic-gate# build all ucb libraries 1107c478bd9Sstevel@tonic-gate# 1117c478bd9Sstevel@tonic-gateucblibs: 1127c478bd9Sstevel@tonic-gate @cd ucblib; pwd; $(MAKE) install 1137c478bd9Sstevel@tonic-gate 1147c478bd9Sstevel@tonic-gate# Base subset of rootproto, excluding ucb libraries 1157c478bd9Sstevel@tonic-gate# 1167c478bd9Sstevel@tonic-gaterootlibs: sgs 1177c478bd9Sstevel@tonic-gate @cd lib; pwd; $(MAKE) install 1187c478bd9Sstevel@tonic-gate 119fb9f9b97Skupferclosedbins: FRC $(ROOTDIRS) 120fb9f9b97Skupfer @if [ "$$CLOSED_IS_PRESENT" = no ]; then \ 121fb9f9b97Skupfer if [ ! -d "$$ON_CLOSED_BINS/root_$(MACH)" ]; then \ 122fb9f9b97Skupfer $(ECHO) "Error: if closed sources are not present," \ 123fb9f9b97Skupfer "ON_CLOSED_BINS must point to closed binaries."; \ 124fb9f9b97Skupfer exit 1; \ 125fb9f9b97Skupfer fi; \ 126fb9f9b97Skupfer $(ECHO) "Copying closed binaries from $$ON_CLOSED_BINS"; \ 127fb9f9b97Skupfer (cd $$ON_CLOSED_BINS/root_$(MACH); tar cf - .) | \ 128fb9f9b97Skupfer (cd $(ROOT); tar xBf -); \ 129fb9f9b97Skupfer fi 130fb9f9b97Skupfer 1317c478bd9Sstevel@tonic-gate$(SUBDIRS) head ucbhead pkgdefs: FRC 1327c478bd9Sstevel@tonic-gate @cd $@; pwd; $(MAKE) $(TARGET) 1337c478bd9Sstevel@tonic-gate 1345b6dcef9Sdr146992.PARALLEL: sysheaders userheaders libheaders ucbheaders cmdheaders \ 1355b6dcef9Sdr146992 commonheaders 1367c478bd9Sstevel@tonic-gate 1377c478bd9Sstevel@tonic-gate# librpcsvc has a dependency on headers installed by 1387c478bd9Sstevel@tonic-gate# userheaders, hence the .WAIT before libheaders. 1397c478bd9Sstevel@tonic-gatesgs: rootdirs .WAIT sysheaders userheaders .WAIT \ 1405b6dcef9Sdr146992 libheaders ucbheaders cmdheaders commonheaders 1417c478bd9Sstevel@tonic-gate 1427c478bd9Sstevel@tonic-gate# 1437c478bd9Sstevel@tonic-gate# top-level setup target (headers/tools) 1447c478bd9Sstevel@tonic-gatesetup: sgs 1457c478bd9Sstevel@tonic-gate @cd tools; pwd; $(MAKE) install 1467c478bd9Sstevel@tonic-gate 1477c478bd9Sstevel@tonic-gate# /var/mail/:saved is a special case because of the colon in the name. 1487c478bd9Sstevel@tonic-gate# 1497c478bd9Sstevel@tonic-gaterootdirs: $(ROOTDIRS) 1507c478bd9Sstevel@tonic-gate $(INS) -d -m 775 $(ROOT)/var/mail/:saved 1517c478bd9Sstevel@tonic-gate $(CH)$(CHOWN) root $(ROOT)/var/mail/:saved 1527c478bd9Sstevel@tonic-gate $(CH)$(CHGRP) mail $(ROOT)/var/mail/:saved 1537c478bd9Sstevel@tonic-gate 1547c478bd9Sstevel@tonic-gatelint: FRC 1557c478bd9Sstevel@tonic-gate $(MAKE) -f Makefile.lint 1567c478bd9Sstevel@tonic-gate 1577c478bd9Sstevel@tonic-gate_msgdirs: $(MSGDIRS) 1587c478bd9Sstevel@tonic-gate 1597c478bd9Sstevel@tonic-gate$(ROOTDIRS) $(MSGDIRS): 1607c478bd9Sstevel@tonic-gate $(INS.dir) 1617c478bd9Sstevel@tonic-gate 1627c478bd9Sstevel@tonic-gateuserheaders: FRC 1637c478bd9Sstevel@tonic-gate @cd head; pwd; $(MAKE) install_h 1647c478bd9Sstevel@tonic-gate 1657c478bd9Sstevel@tonic-gatelibheaders: FRC 1667c478bd9Sstevel@tonic-gate @cd lib; pwd; $(MAKE) install_h 1677c478bd9Sstevel@tonic-gate 1687c478bd9Sstevel@tonic-gatesysheaders: FRC 1697c478bd9Sstevel@tonic-gate @cd uts; pwd; $(MAKE) install_h 1707c478bd9Sstevel@tonic-gate 1717c478bd9Sstevel@tonic-gateucbheaders: FRC 1727c478bd9Sstevel@tonic-gate @cd ucbhead; pwd; $(MAKE) install_h 1737c478bd9Sstevel@tonic-gate 1747c478bd9Sstevel@tonic-gatecmdheaders: FRC 1757c478bd9Sstevel@tonic-gate @cd cmd/fm; pwd; $(MAKE) install_h 1767c478bd9Sstevel@tonic-gate @cd cmd/mdb; pwd; $(MAKE) install_h 1777c478bd9Sstevel@tonic-gate 1785b6dcef9Sdr146992commonheaders: FRC 1795b6dcef9Sdr146992 @cd common/ipf; pwd; $(MAKE) install_h 1805b6dcef9Sdr146992 1817c478bd9Sstevel@tonic-gate# each xmod target depends on a corresponding MACH-specific pseudotarget 1827c478bd9Sstevel@tonic-gate# before doing common xmod work 1837c478bd9Sstevel@tonic-gate# 1847c478bd9Sstevel@tonic-gateall_xmod install_xmod: $$@_$(MACH) 1857c478bd9Sstevel@tonic-gate @cd uts/common/sys; pwd; $(MAKE) svvs_h 1867c478bd9Sstevel@tonic-gate 1877c478bd9Sstevel@tonic-gateall_xmod_sparc install_xmod_sparc: FRC 1887c478bd9Sstevel@tonic-gate @cd uts/sparc; pwd; \ 1897c478bd9Sstevel@tonic-gate $(MAKE) TARGET=$(TARGET) svvs pm wsdrv 1907c478bd9Sstevel@tonic-gate 1917c478bd9Sstevel@tonic-gateall_xmod_i386 install_xmod_i386: FRC 1927c478bd9Sstevel@tonic-gate @cd uts/i86; pwd; $(MAKE) TARGET=$(TARGET) svvs 1937c478bd9Sstevel@tonic-gate 1947c478bd9Sstevel@tonic-gatecheck: $(CHKHDRSUBDIRS) $(CHKMFSTSUBDIRS) 1957c478bd9Sstevel@tonic-gate 1967c478bd9Sstevel@tonic-gate# 1977c478bd9Sstevel@tonic-gate# Cross-reference customization: skip all of the subdirectories that 1987c478bd9Sstevel@tonic-gate# don't contain actual source code. 1997c478bd9Sstevel@tonic-gate# 200fb9f9b97Skupfer$(CLOSED_BUILD)XRDIRS += ../closed 2017c478bd9Sstevel@tonic-gateXRPRUNE = spec pkgdefs prototypes xmod 2027c478bd9Sstevel@tonic-gateXRINCDIRS = uts/common head ucbhead 203fb9f9b97Skupfer$(CLOSED_BUILD)XRINCDIRS = uts/common ../closed/uts/common head ucbhead 2047c478bd9Sstevel@tonic-gate 2057c478bd9Sstevel@tonic-gatecscope.out tags: FRC 2067c478bd9Sstevel@tonic-gate $(XREF) -f -x $@ 2077c478bd9Sstevel@tonic-gate 2087c478bd9Sstevel@tonic-gateFRC: 2097c478bd9Sstevel@tonic-gate 2107c478bd9Sstevel@tonic-gate# EXPORT DELETE START 2117c478bd9Sstevel@tonic-gate 2127c478bd9Sstevel@tonic-gateXMOD_DELETE_FILES:sh = cat xmod/xmod_files 2137c478bd9Sstevel@tonic-gate 2147c478bd9Sstevel@tonic-gateEXPORT_SRC: 215fb9f9b97Skupfer @cd $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked; pwd; $(MAKE) EXPORT_SRC 216fb9f9b97Skupfer @cd $(CLOSED)/cmd/cmd-inet/usr.lib/ike-certutils; pwd; \ 217fb9f9b97Skupfer $(MAKE) EXPORT_SRC 2187c478bd9Sstevel@tonic-gate @cd cmd/cmd-inet/usr.sbin; pwd; $(MAKE) EXPORT_SRC 219fb9f9b97Skupfer @cd $(CLOSED)/cmd/cmd-crypto/etc; pwd; $(MAKE) EXPORT_SRC 2207c478bd9Sstevel@tonic-gate @cd cmd/crypt; pwd; $(MAKE) EXPORT_SRC 2217c478bd9Sstevel@tonic-gate @cd cmd/gss/gssd; pwd; $(MAKE) EXPORT_SRC 2227c478bd9Sstevel@tonic-gate @cd cmd/krb5/kadmin; pwd; $(MAKE) EXPORT_SRC 2237c478bd9Sstevel@tonic-gate @cd cmd/sendmail/src; pwd; $(MAKE) EXPORT_SRC 2247c478bd9Sstevel@tonic-gate @cd cmd/xntpd; pwd; $(MAKE) EXPORT_SRC 2257c478bd9Sstevel@tonic-gate @cd common/crypto/aes; pwd; $(MAKE) EXPORT_SRC 2267c478bd9Sstevel@tonic-gate @cd common/crypto/arcfour; pwd; $(MAKE) EXPORT_SRC 2277c478bd9Sstevel@tonic-gate @cd common/crypto/blowfish; pwd; $(MAKE) EXPORT_SRC 2287c478bd9Sstevel@tonic-gate @cd common/crypto/des; pwd; $(MAKE) EXPORT_SRC 2297c478bd9Sstevel@tonic-gate @cd common/crypto/rsa; pwd; $(MAKE) EXPORT_SRC 2307c478bd9Sstevel@tonic-gate @cd lib/crypt_modules/bsdbf; pwd ; $(MAKE) EXPORT_SRC 2317c478bd9Sstevel@tonic-gate @cd lib/gss_mechs/mech_dummy; pwd; $(MAKE) EXPORT_SRC 2327c478bd9Sstevel@tonic-gate @cd lib/gss_mechs/mech_dh/backend; pwd; $(MAKE) EXPORT_SRC 2337c478bd9Sstevel@tonic-gate @cd lib/gss_mechs/mech_krb5; pwd; $(MAKE) EXPORT_SRC 2347c478bd9Sstevel@tonic-gate @cd lib/gss_mechs/mech_spnego; pwd; $(MAKE) EXPORT_SRC 2357c478bd9Sstevel@tonic-gate @cd lib/libcrypt; pwd; $(MAKE) EXPORT_SRC 236fb9f9b97Skupfer @cd $(CLOSED)/lib/libelfsign; pwd; $(MAKE) EXPORT_SRC 2377c478bd9Sstevel@tonic-gate @cd lib/libgss; pwd; $(MAKE) EXPORT_SRC 238fb9f9b97Skupfer @cd $(CLOSED)/lib/libike; pwd; $(MAKE) EXPORT_SRC 2397c478bd9Sstevel@tonic-gate @cd lib/libnsl; pwd; $(MAKE) EXPORT_SRC 2407c478bd9Sstevel@tonic-gate @cd lib/openssl; pwd; $(MAKE) EXPORT_SRC 2417c478bd9Sstevel@tonic-gate @cd lib/pkcs11/pkcs11_softtoken/common; pwd; $(MAKE) EXPORT_SRC 2427c478bd9Sstevel@tonic-gate @cd lib/pkcs11/libpkcs11; pwd; $(MAKE) EXPORT_SRC 2437c478bd9Sstevel@tonic-gate @cd lib/pkcs11; pwd; $(MAKE) EXPORT_SRC 2447c478bd9Sstevel@tonic-gate @cd lib/libsldap; pwd; $(MAKE) EXPORT_SRC 2457c478bd9Sstevel@tonic-gate @cd lib/libsasl; pwd; $(MAKE) EXPORT_SRC 2467c478bd9Sstevel@tonic-gate @cd lib/sasl_plugins; pwd; $(MAKE) EXPORT_SRC 247fb9f9b97Skupfer @cd $(CLOSED)/lib/smartcard; pwd; $(MAKE) EXPORT_SRC 2487c478bd9Sstevel@tonic-gate @cd lib/pam_modules/krb5; pwd; $(MAKE) EXPORT_SRC 2497c478bd9Sstevel@tonic-gate @cd lib/udapl; pwd; $(MAKE) EXPORT_SRC 2507c478bd9Sstevel@tonic-gate @cd lib/libresolv2; pwd; $(MAKE) EXPORT_SRC 251fb9f9b97Skupfer @cd $(CLOSED)/tools/elfsign; pwd; $(MAKE) EXPORT_SRC 2527c478bd9Sstevel@tonic-gate @cd uts/common/crypto/io; pwd; $(MAKE) EXPORT_SRC 2537c478bd9Sstevel@tonic-gate @cd uts/common/des; pwd; $(MAKE) EXPORT_SRC 2547c478bd9Sstevel@tonic-gate @cd uts/common/rpc; pwd; $(MAKE) EXPORT_SRC 2557c478bd9Sstevel@tonic-gate @cd uts/common/sys; pwd; $(MAKE) EXPORT_SRC 2567c478bd9Sstevel@tonic-gate @cd uts/common/gssapi/include; pwd; $(MAKE) EXPORT_SRC 2577c478bd9Sstevel@tonic-gate @cd uts/common/gssapi; pwd; $(MAKE) EXPORT_SRC 2587c478bd9Sstevel@tonic-gate @cd uts/common/gssapi/mechs/dummy; pwd; $(MAKE) EXPORT_SRC 2597c478bd9Sstevel@tonic-gate @cd uts/common/gssapi/mechs/krb5; pwd; $(MAKE) EXPORT_SRC 2607c478bd9Sstevel@tonic-gate @cd uts/common; pwd; $(MAKE) EXPORT_SRC 2617c478bd9Sstevel@tonic-gate @cd uts/sparc; pwd; $(MAKE) EXPORT_SRC 262fb9f9b97Skupfer @cd $(CLOSED)/uts/sun4u/forthdebug; pwd; $(MAKE) EXPORT_SRC 2637c478bd9Sstevel@tonic-gate @cd uts/intel; pwd; $(MAKE) EXPORT_SRC 2647c478bd9Sstevel@tonic-gate @cd uts/sun4u; pwd; $(MAKE) EXPORT_SRC 265fb9f9b97Skupfer @cd $(CLOSED)/uts/sun4u/chalupa; pwd; $(MAKE) EXPORT_SRC 2667c478bd9Sstevel@tonic-gate @cd uts/sun4u/cherrystone; pwd; $(MAKE) EXPORT_SRC 2677c478bd9Sstevel@tonic-gate @cd uts/sun4u/daktari; pwd; $(MAKE) EXPORT_SRC 2687c478bd9Sstevel@tonic-gate @cd uts/sun4u/enchilada; pwd; $(MAKE) EXPORT_SRC 269fb9f9b97Skupfer @cd $(CLOSED)/uts/sun4u/ents; pwd; $(MAKE) EXPORT_SRC 2707c478bd9Sstevel@tonic-gate @cd uts/sun4u/excalibur; pwd; $(MAKE) EXPORT_SRC 2717c478bd9Sstevel@tonic-gate @cd uts/sun4u/chicago; pwd; $(MAKE) EXPORT_SRC 272d58fda43Sjbeloro @cd uts/sun4u/boston; pwd; $(MAKE) EXPORT_SRC 273d58fda43Sjbeloro @cd uts/sun4u/seattle; pwd; $(MAKE) EXPORT_SRC 2747c478bd9Sstevel@tonic-gate @cd uts/sun4u/littleneck; pwd; $(MAKE) EXPORT_SRC 275fb9f9b97Skupfer @cd $(CLOSED)/uts/sun4u/lw2plus; pwd; $(MAKE) EXPORT_SRC 276*4ffbb4fcSstevel @cd uts/sun4u/lw8; pwd; $(MAKE) EXPORT_SRC 2777c478bd9Sstevel@tonic-gate @cd uts/sun4u/mpxu; pwd; $(MAKE) EXPORT_SRC 2787c478bd9Sstevel@tonic-gate @cd uts/sun4u/serengeti; pwd; $(MAKE) EXPORT_SRC 2797c478bd9Sstevel@tonic-gate @cd uts/sun4u/starcat; pwd; $(MAKE) EXPORT_SRC 2807c478bd9Sstevel@tonic-gate @cd uts/sun4u/taco; pwd; $(MAKE) EXPORT_SRC 281fb9f9b97Skupfer @cd $(CLOSED)/uts/sun4v/io/ncp; pwd; $(MAKE) EXPORT_SRC 2827c478bd9Sstevel@tonic-gate @cd pkgdefs; pwd; $(MAKE) EXPORT_SRC 2837c478bd9Sstevel@tonic-gate $(RM) -r $(XMOD_DELETE_FILES) 2847c478bd9Sstevel@tonic-gate $(RM) Targetdirs+ 2857c478bd9Sstevel@tonic-gate sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 2867c478bd9Sstevel@tonic-gate < Targetdirs > Targetdirs+ 2877c478bd9Sstevel@tonic-gate $(MV) Targetdirs+ Targetdirs 2887c478bd9Sstevel@tonic-gate $(CHMOD) 444 Targetdirs 2897c478bd9Sstevel@tonic-gate $(RM) Makefile+ 2907c478bd9Sstevel@tonic-gate sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 2917c478bd9Sstevel@tonic-gate < Makefile > Makefile+ 2927c478bd9Sstevel@tonic-gate $(MV) Makefile+ Makefile 2937c478bd9Sstevel@tonic-gate $(CHMOD) 444 Makefile 2947c478bd9Sstevel@tonic-gate $(RM) Makefile.master+ 2957c478bd9Sstevel@tonic-gate sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 2967c478bd9Sstevel@tonic-gate < Makefile.master > Makefile.master+ 2977c478bd9Sstevel@tonic-gate $(MV) Makefile.master+ Makefile.master 2987c478bd9Sstevel@tonic-gate $(CHMOD) 444 Makefile.master 2997c478bd9Sstevel@tonic-gate 3007c478bd9Sstevel@tonic-gateCRYPT_SRC: 301fb9f9b97Skupfer @cd $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked; pwd; $(MAKE) CRYPT_SRC 302fb9f9b97Skupfer @cd $(CLOSED)/cmd/cmd-inet/usr.lib/ike-certutils; pwd; \ 303fb9f9b97Skupfer $(MAKE) CRYPT_SRC 3047c478bd9Sstevel@tonic-gate @cd lib/crypt_modules/bsdbf; pwd ; $(MAKE) CRYPT_SRC 3057c478bd9Sstevel@tonic-gate @cd lib/gss_mechs/mech_dummy; pwd; $(MAKE) CRYPT_SRC 3067c478bd9Sstevel@tonic-gate @cd lib/gss_mechs/mech_dh/backend; pwd; $(MAKE) CRYPT_SRC 3077c478bd9Sstevel@tonic-gate @cd lib/gss_mechs/mech_krb5; pwd; $(MAKE) CRYPT_SRC 3087c478bd9Sstevel@tonic-gate @cd lib/gss_mechs/mech_spnego; pwd; $(MAKE) CRYPT_SRC 309fb9f9b97Skupfer @cd $(CLOSED)/lib/libelfsign; pwd; $(MAKE) CRYPT_SRC 310fb9f9b97Skupfer @cd $(CLOSED)/lib/libike; pwd; $(MAKE) CRYPT_SRC 3117c478bd9Sstevel@tonic-gate @cd lib/libnsl; pwd; $(MAKE) CRYPT_SRC 3127c478bd9Sstevel@tonic-gate @cd lib/libsasl; pwd; $(MAKE) CRYPT_SRC 3137c478bd9Sstevel@tonic-gate @cd lib/libresolv2; pwd; $(MAKE) CRYPT_SRC 3147c478bd9Sstevel@tonic-gate @cd lib/sasl_plugins; pwd; $(MAKE) CRYPT_SRC 3157c478bd9Sstevel@tonic-gate @cd lib/pam_modules/krb5; pwd; $(MAKE) CRYPT_SRC 316fb9f9b97Skupfer @cd $(CLOSED)/tools/elfsign; pwd; $(MAKE) CRYPT_SRC 3177c478bd9Sstevel@tonic-gate @cd uts/common/gssapi; pwd; $(MAKE) CRYPT_SRC 3187c478bd9Sstevel@tonic-gate @cd uts/common/gssapi/include; pwd; $(MAKE) CRYPT_SRC 3197c478bd9Sstevel@tonic-gate @cd uts/common/gssapi/mechs/dummy; pwd; $(MAKE) CRYPT_SRC 3207c478bd9Sstevel@tonic-gate @cd uts/common/gssapi/mechs/krb5; pwd; $(MAKE) CRYPT_SRC 3217c478bd9Sstevel@tonic-gate $(RM) Makefile+ 3227c478bd9Sstevel@tonic-gate sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 3237c478bd9Sstevel@tonic-gate < Makefile > Makefile+ 3247c478bd9Sstevel@tonic-gate $(MV) Makefile+ Makefile 3257c478bd9Sstevel@tonic-gate $(CHMOD) 444 Makefile 3267c478bd9Sstevel@tonic-gate $(RM) Makefile.master+ 3277c478bd9Sstevel@tonic-gate sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 3287c478bd9Sstevel@tonic-gate < Makefile.master > Makefile.master+ 3297c478bd9Sstevel@tonic-gate $(MV) Makefile.master+ Makefile.master 3307c478bd9Sstevel@tonic-gate $(CHMOD) 444 Makefile.master 3317c478bd9Sstevel@tonic-gate 3327c478bd9Sstevel@tonic-gate# EXPORT DELETE END 3337c478bd9Sstevel@tonic-gate 3347c478bd9Sstevel@tonic-gateONC_PLUS: 3357c478bd9Sstevel@tonic-gate @cd cmd/login; pwd; $(MAKE) ONC_PLUS 3367c478bd9Sstevel@tonic-gate @cd uts; pwd; $(MAKE) ONC_PLUS 3377c478bd9Sstevel@tonic-gate 3387c478bd9Sstevel@tonic-gate# 3397c478bd9Sstevel@tonic-gate# Targets for reporting compiler versions; nightly uses these. 3407c478bd9Sstevel@tonic-gate# 3417c478bd9Sstevel@tonic-gate 3427c478bd9Sstevel@tonic-gatecc-version: 3437c478bd9Sstevel@tonic-gate @if [ -x "$($(MACH)_CC)" ]; then \ 344010b217aSwesolows $(ECHO) 32-bit compiler; \ 3457c478bd9Sstevel@tonic-gate $(ECHO) $($(MACH)_CC); \ 3467c478bd9Sstevel@tonic-gate $($(MACH)_CC) -V 2>&1 | head -1; \ 3477c478bd9Sstevel@tonic-gate else \ 348bf40377cSwesolows __COMPILER=`$($(MACH)_CC) -_compiler 2>/dev/null || $(TRUE)`;\ 349bf40377cSwesolows if [ -z "$$__COMPILER" ]; then \ 350010b217aSwesolows $(ECHO) No 32-bit compiler found; \ 3517c478bd9Sstevel@tonic-gate exit 1; \ 352bf40377cSwesolows else \ 353010b217aSwesolows $(ECHO) 32-bit compiler; \ 354bf40377cSwesolows $(ECHO) $($(MACH)_CC); \ 355bf40377cSwesolows $(ECHO) $$__COMPILER; \ 356bf40377cSwesolows $($(MACH)_CC) -V 2>&1 | head -1; \ 357bf40377cSwesolows fi; \ 3587c478bd9Sstevel@tonic-gate fi 3597c478bd9Sstevel@tonic-gate 3607c478bd9Sstevel@tonic-gatecc64-version: 3617c478bd9Sstevel@tonic-gate @if [ -x "$($(MACH64)_CC)" ]; then \ 362010b217aSwesolows $(ECHO) 64-bit compiler; \ 3637c478bd9Sstevel@tonic-gate $(ECHO) $($(MACH64)_CC); \ 3647c478bd9Sstevel@tonic-gate $($(MACH64)_CC) -V 2>&1 | head -1; \ 3657c478bd9Sstevel@tonic-gate else \ 366bf40377cSwesolows __COMPILER=`$($(MACH64)_CC) -_compiler 2>/dev/null || $(TRUE)`;\ 367bf40377cSwesolows if [ -z "$$__COMPILER" ]; then \ 3687c478bd9Sstevel@tonic-gate $(ECHO) No 64-bit compiler found; \ 369bf40377cSwesolows exit 1; \ 370bf40377cSwesolows else \ 371010b217aSwesolows $(ECHO) 64-bit compiler; \ 372bf40377cSwesolows $(ECHO) $($(MACH64)_CC); \ 373bf40377cSwesolows $(ECHO) $$__COMPILER; \ 374bf40377cSwesolows $($(MACH64)_CC) -V 2>&1 | head -1; \ 375bf40377cSwesolows fi; \ 3767c478bd9Sstevel@tonic-gate fi 3777c478bd9Sstevel@tonic-gate 3787c478bd9Sstevel@tonic-gatejava-version: 3797c478bd9Sstevel@tonic-gate @if [ -x "$(JAVAC)" ]; then \ 3807c478bd9Sstevel@tonic-gate $(ECHO) $(JAVAC); \ 3817c478bd9Sstevel@tonic-gate $(JAVA_ROOT)/bin/java -fullversion 2>&1 | head -1; \ 3827c478bd9Sstevel@tonic-gate else \ 3837c478bd9Sstevel@tonic-gate $(ECHO) No Java compiler found; \ 3847c478bd9Sstevel@tonic-gate exit 1; \ 3857c478bd9Sstevel@tonic-gate fi 386