1 # 2 # This file and its contents are supplied under the terms of the 3 # Common Development and Distribution License ("CDDL"), version 1.0. 4 # You may only use this file in accordance with the terms of version 5 # 1.0 of the CDDL. 6 # 7 # A full copy of the text of the CDDL should have accompanied this 8 # source. A copy of the CDDL is also available via the Internet at 9 # http://www.illumos.org/license/CDDL. 10 # 11 12 # 13 # Copyright 2011 Nexenta Systems, Inc. All rights reserved. 14 # 15 16 LIBRARY= libmvec.a 17 VERS= .1 18 19 # include common library definitions 20 include $(SRC)/lib/Makefile.lib 21 22 COMPS_i386 = i386_hwcap1 23 COMPS_sparc = sparc_sparcv8plus+vis sparc_sparcv9+vis2 24 COMPONENTS = $(COMPS_$(MACH)) 25 26 COMPS_amd64 = 27 COMPS_sparcv9 = sparcv9_sparcv9+vis sparcv9_sparcv9+vis2 28 COMPONENTS64 = $(COMPS_$(MACH64)) 29 30 SUBDIRS = $(MACH) $(COMPONENTS) 31 $(BUILD64)SUBDIRS += $(MACH64) $(COMPONENTS64) 32 33 all := TARGET= all 34 install := TARGET= install 35 clean := TARGET= clean 36 clobber := TARGET= clobber 37 lint := TARGET= lint 38 39 .KEEP_STATE: 40 41 .PARALLEL: $(SUBDIRS) 42 43 all clean clobber install lint: $(SUBDIRS) 44 45 $(SUBDIRS): FRC 46 @cd $@; pwd; VERSION='$(VERSION)' $(MAKE) $(TARGET) 47 48 FRC: 49 50 include $(SRC)/lib/Makefile.targ