1 # 2 # 3 # CDDL HEADER START 4 # 5 # The contents of this file are subject to the terms of the 6 # Common Development and Distribution License (the "License"). 7 # You may not use this file except in compliance 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 # Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23 # Use is subject to license terms. 24 # 25 #ident "@(#)Makefile.mach 1.4 06/03/17 SMI" 26 # 27 # lib/Makefile.mach 28 # 29 # included to define targets built with machine-dependent source 30 # 31 32 # conditional assignment of default permissions for the installed DYNLIB. 33 # set here and in Makefile.targ, instead of Makefile.lib, because ROOTLIBDIR 34 # may be changed in the including makefile after it has included Makefile.lib. 35 # 36 $(ROOTLIBDIR)/$(DYNLIB) := FILEMODE= 755 37 $(ROOTSFWLIBDIR)/$(DYNLIB) := FILEMODE= 755 38 $(ROOTLIBDIR64)/$(DYNLIB) := FILEMODE= 755 39 40 # install rules 41 $(ROOTLIBDIR)/%: $(MACH)/% 42 $(INS.file) 43 44 $(ROOTSFWLIBDIR)/%: $(MACH)/% 45 $(INS.file) 46 47 $(ROOTLIBDIR64)/%: $(MACH64)/% 48 $(INS.file) 49 50 $(ROOTLIBDIR)/$(LIBLINKS): $(ROOTLIBDIR)/$(LIBLINKS)$(VERS) 51 $(INS.liblink) 52 53 $(ROOTSFWLIBDIR)/$(LIBLINKS): $(ROOTSFWLIBDIR)/$(LIBLINKS)$(VERS) 54 $(INS.liblinksfw) 55 56 $(ROOTLIBDIR64)/$(LIBLINKS): $(ROOTLIBDIR64)/$(LIBLINKS)$(VERS) 57 $(INS.liblink64) 58 59 $(MACHLIBS): FRC 60 @cd $(@D); pwd; $(MAKE) $(@F) 61 62 $(MACHLIBS64): FRC 63 @cd $(@D); pwd; $(MAKE) $(@F) 64 65 $(MACHPLIB): FRC 66 @cd $(MACH); pwd; $(MAKE) $(PLIB) 67 68 $(MACHPIC_PLIB): FRC 69 @cd $(MACH); pwd; $(MAKE) $(PIC_PLIB) 70 71 $(MACHPIC_PLIB64): FRC 72 @cd $(MACH64); pwd; $(MAKE) $(PIC_PLIB) 73 74 FRC: 75