Makefile revision 618
c349441d7e47a30e81726967b2398289225ebd45Mark Andrews#
c349441d7e47a30e81726967b2398289225ebd45Mark Andrews# CDDL HEADER START
46af69f1239553d4a1c315f6eee51379828942f9Mark Andrews#
70f292a50f9840fc25b3dbecfed71cdf835d4094Mark Andrews# The contents of this file are subject to the terms of the
f19e6ef1eb7d5abf547fc1af24e561bdc5d75b22Mark Andrews# Common Development and Distribution License (the "License").
f19e6ef1eb7d5abf547fc1af24e561bdc5d75b22Mark Andrews# You may not use this file except in compliance with the License.
f19e6ef1eb7d5abf547fc1af24e561bdc5d75b22Mark Andrews#
53cd44e7168acb379b1c5c74b3ffc4336694779dMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
53cd44e7168acb379b1c5c74b3ffc4336694779dMark Andrews# or http://www.opensolaris.org/os/licensing.
e80b69327290953b825c7778d8de9d314bed6198Mark Andrews# See the License for the specific language governing permissions
e80b69327290953b825c7778d8de9d314bed6198Mark Andrews# and limitations under the License.
e80b69327290953b825c7778d8de9d314bed6198Mark Andrews#
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉# When distributing Covered Code, include this CDDL HEADER in each
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉# If applicable, add the following below this CDDL HEADER, with the
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉# fields enclosed by brackets "[]" replaced with your own identifying
d9059b0c38bd630c367d81424d72b1308cd74b04Tatuya JINMEI 神明達哉# information: Portions Copyright [yyyy] [name of copyright owner]
f895c5b042cc0f7e3547fac7f6a4bd8d3d45acd8Tatuya JINMEI 神明達哉#
d9059b0c38bd630c367d81424d72b1308cd74b04Tatuya JINMEI 神明達哉# CDDL HEADER END
f148f53794956f491f6527430a93c2c8d884a212Mark Andrews#
f148f53794956f491f6527430a93c2c8d884a212Mark Andrews# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
f148f53794956f491f6527430a93c2c8d884a212Mark Andrews#
00f83773169d9020a3ddcdaf88b198a27f571ff8Mark Andrewsinclude ../../make-rules/shared-macros.mk
00f83773169d9020a3ddcdaf88b198a27f571ff8Mark Andrewsinclude ../../make-rules/ips.mk
31b7a2fed64e388db772a74742a4adc95d1a21e6Mark Andrewsinclude ofed.mk
10e8f96abe072fcf4e0c938548f0970cd26f624cMark Andrews
31b7a2fed64e388db772a74742a4adc95d1a21e6Mark AndrewsLD_Z_IGNORE =
31b7a2fed64e388db772a74742a4adc95d1a21e6Mark Andrews
5567f54834089be35d0df6afe2ccfaa039ab2233Jeremy ReedCOMPONENT_VERSION=1.5.3
5567f54834089be35d0df6afe2ccfaa039ab2233Jeremy Reed
ed4efb08050b31571c6b9540a2b78b502c667206Mark AndrewsCOMPONENT_PROJECT_URL= http://www.openfabrics.org/
ed4efb08050b31571c6b9540a2b78b502c667206Mark Andrews
ed4efb08050b31571c6b9540a2b78b502c667206Mark Andrews# for now, everything with a Makefile should be built
13f4bdc9b4f7b438cf5c2a071f108211534fae3fMark AndrewsSUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
13f4bdc9b4f7b438cf5c2a071f108211534fae3fMark Andrews
3efa3f07d51793a0e477d68787c210746b5d4af3Mark Andrews.PHONY: $(SUBDIRS)
3efa3f07d51793a0e477d68787c210746b5d4af3Mark Andrews
3efa3f07d51793a0e477d68787c210746b5d4af3Mark Andrewsdownload: TARGET = download
914eeb33149a0008e26741d9e7d89dcd6f8b6d0bMark Andrewsprep: TARGET = prep
914eeb33149a0008e26741d9e7d89dcd6f8b6d0bMark Andrewsinstall: TARGET = install
914eeb33149a0008e26741d9e7d89dcd6f8b6d0bMark Andrewsclean: TARGET = clean
a8673c536b5827d87ef6c50a04afd34af2253fd9Evan Huntclobber: TARGET = clobber
a8673c536b5827d87ef6c50a04afd34af2253fd9Evan Hunttest: TARGET = test
a8673c536b5827d87ef6c50a04afd34af2253fd9Evan Hunt
616b4544d0228604b1c5169b0c9d742f67567232Tatuya JINMEI 神明達哉build: install
616b4544d0228604b1c5169b0c9d742f67567232Tatuya JINMEI 神明達哉
7781f25078c491a9650dec555bdc86cb0ed49861Tatuya JINMEI 神明達哉.DEFAULT: publish
7781f25078c491a9650dec555bdc86cb0ed49861Tatuya JINMEI 神明達哉
bc4bc3579b92f2e4c6a6a2c5284d1c792c70e264Tatuya JINMEI 神明達哉download prep install test: $(SUBDIRS)
bc4bc3579b92f2e4c6a6a2c5284d1c792c70e264Tatuya JINMEI 神明達哉
7781f25078c491a9650dec555bdc86cb0ed49861Tatuya JINMEI 神明達哉clean: $(SUBDIRS)
609f86163a9e80aa5ce0db79b67ee0b6e2a34b34Tatuya JINMEI 神明達哉 $(RM) -r prototype build
609f86163a9e80aa5ce0db79b67ee0b6e2a34b34Tatuya JINMEI 神明達哉
609f86163a9e80aa5ce0db79b67ee0b6e2a34b34Tatuya JINMEI 神明達哉clobber: $(SUBDIRS) clean
609f86163a9e80aa5ce0db79b67ee0b6e2a34b34Tatuya JINMEI 神明達哉
1879dbe0d962f6f929417b02bf07f64ed41b1aabFrancis Dupont$(SUBDIRS): FORCE
1879dbe0d962f6f929417b02bf07f64ed41b1aabFrancis Dupont @cd $@ && echo "$(TARGET) $@" && $(MAKE) $(TARGET)
b393e55a763d2bb0f326706b3851a2a22fc389d5Francis Dupont
b393e55a763d2bb0f326706b3851a2a22fc389d5Francis Dupont# declare module dependencies
b393e55a763d2bb0f326706b3851a2a22fc389d5Francis Dupontlibrdmacm: libibverbs
fa7ef31685393f7c7ba1cec485d8e395bfa28867Francis Dupontlibmlx4: libibverbs
52cee51063613b9be335d3078f13863fd0cad2cfMark Andrewslibmthca: libibverbs
ddb35cf2f301ae1c3fa601792034f6d349efc8c5Mark Andrewsrds-tools: libibverbs
ddb35cf2f301ae1c3fa601792034f6d349efc8c5Mark Andrewsperftest: libibverbs librdmacm libibverbs
4aa174ddd5556f6c1792c69546679b17f1ceec83Tatuya JINMEI 神明達哉qperf: libibverbs librdmacm
4aa174ddd5556f6c1792c69546679b17f1ceec83Tatuya JINMEI 神明達哉libibumad: libibverbs
4aa174ddd5556f6c1792c69546679b17f1ceec83Tatuya JINMEI 神明達哉libibmad: libibumad
09d7358c48bb032566e5bb70703c2c3ea35a0cb2Mark Andrewsopensm: libibumad libibmad
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉ibutils: opensm
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉infiniband-diags: libibverbs opensm
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉FORCE:
1ee054ca444765a3d1b98208c83115b4f34bebc2Mark Andrews