10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*2522Sraf# Common Development and Distribution License (the "License"). 6*2522Sraf# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 210Sstevel@tonic-gate# 22*2522Sraf# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 230Sstevel@tonic-gate# Use is subject to license terms. 24*2522Sraf# 250Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 260Sstevel@tonic-gate# 270Sstevel@tonic-gate 280Sstevel@tonic-gateinclude ../Makefile.lib 290Sstevel@tonic-gate 300Sstevel@tonic-gateSUBDIRS= $(MACH) 310Sstevel@tonic-gate$(BUILD64)SUBDIRS += $(MACH64) 320Sstevel@tonic-gate 330Sstevel@tonic-gateall := TARGET= all 340Sstevel@tonic-gateclean := TARGET= clean 350Sstevel@tonic-gateclobber := TARGET= clobber 360Sstevel@tonic-gateinstall := TARGET= install 370Sstevel@tonic-gatelint := TARGET= lint 380Sstevel@tonic-gate 390Sstevel@tonic-gate.KEEP_STATE: 400Sstevel@tonic-gate 41*2522Srafall clean clobber install lint: $(SUBDIRS) 420Sstevel@tonic-gate 430Sstevel@tonic-gatecheck: $(CHECKHDRS) 440Sstevel@tonic-gate 45*2522Sraf$(SUBDIRS): FRC 460Sstevel@tonic-gate @cd $@; pwd; $(MAKE) $(TARGET) 470Sstevel@tonic-gate 480Sstevel@tonic-gateFRC: 490Sstevel@tonic-gate 500Sstevel@tonic-gateinclude ../Makefile.targ 510Sstevel@tonic-gate 520Sstevel@tonic-gate# EXPORT DELETE START 530Sstevel@tonic-gateEXPORT_SRC: 540Sstevel@tonic-gate $(RM) common/des.c+ common/des_crypt.c+ common/des_soft.c+ \ 550Sstevel@tonic-gate common/des_decrypt.c+ common/des_encrypt.c+ \ 560Sstevel@tonic-gate Makefile+ 570Sstevel@tonic-gate sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \ 580Sstevel@tonic-gate common/des.c > common/des.c+ 590Sstevel@tonic-gate $(MV) common/des.c+ common/des.c 600Sstevel@tonic-gate sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \ 610Sstevel@tonic-gate common/des_crypt.c > common/des_crypt.c+ 620Sstevel@tonic-gate $(MV) common/des_crypt.c+ common/des_crypt.c 630Sstevel@tonic-gate sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \ 640Sstevel@tonic-gate common/des_soft.c > common/des_soft.c+ 650Sstevel@tonic-gate $(MV) common/des_soft.c+ common/des_soft.c 660Sstevel@tonic-gate sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \ 670Sstevel@tonic-gate common/des_encrypt.c > common/des_encrypt.c+ 680Sstevel@tonic-gate $(MV) common/des_encrypt.c+ common/des_encrypt.c 690Sstevel@tonic-gate sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \ 700Sstevel@tonic-gate common/des_decrypt.c > common/des_decrypt.c+ 710Sstevel@tonic-gate $(MV) common/des_decrypt.c+ common/des_decrypt.c 720Sstevel@tonic-gate sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 730Sstevel@tonic-gate < Makefile > Makefile+ 740Sstevel@tonic-gate $(MV) Makefile+ Makefile 750Sstevel@tonic-gate $(CHMOD) 444 Makefile common/des.c common/des_crypt.c \ 760Sstevel@tonic-gate common/des_soft.c common/des_encrypt.c common/des_decrypt.c 770Sstevel@tonic-gate# EXPORT DELETE END 78