Merge branch 'cleanups'
[unleashed.git] / usr / src / lib / libmvec / Makefile
bloba594c2e912b9188824a53f403e07ad8242fb7b7d
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.
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.
13 # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
16 LIBRARY= libmvec.a
17 VERS= .1
19 # include common library definitions
20 include $(SRC)/lib/Makefile.lib
22 COMPS_i386 = i386_hwcap1
23 COMPS_sparc = sparc_sparcv8plus+vis sparc_sparcv9+vis2
24 COMPONENTS = $(COMPS_$(MACH))
26 COMPS_amd64 =
27 COMPS_sparcv9 = sparcv9_sparcv9+vis sparcv9_sparcv9+vis2
28 COMPONENTS64 = $(COMPS_$(MACH64))
30 SUBDIRS = $(MACH) $(COMPONENTS)
31 $(BUILD64)SUBDIRS += $(MACH64) $(COMPONENTS64)
33 all := TARGET= all
34 install := TARGET= install
35 clean := TARGET= clean
36 clobber := TARGET= clobber
38 .KEEP_STATE:
40 .PARALLEL: $(SUBDIRS)
42 all clean clobber install: $(SUBDIRS)
44 $(SUBDIRS): FRC
45 @cd $@; pwd; VERSION='$(VERSION)' $(MAKE) $(TARGET)
47 FRC:
49 include $(SRC)/lib/Makefile.targ