diff options
author | Dane Smith <c1pher@gentoo.org> | 2011-02-23 10:54:15 -0500 |
---|---|---|
committer | Dane Smith <c1pher@gentoo.org> | 2011-02-23 10:54:15 -0500 |
commit | 9c197d34c69068f5729c7f1ace16ee0c54e6ab9f (patch) | |
tree | ad44af597d7d31656fc58138ce9a01f434687be7 | |
parent | Typo #2 (diff) | |
download | c1pher-9c197d34c69068f5729c7f1ace16ee0c54e6ab9f.tar.gz c1pher-9c197d34c69068f5729c7f1ace16ee0c54e6ab9f.tar.bz2 c1pher-9c197d34c69068f5729c7f1ace16ee0c54e6ab9f.zip |
Fix makefile.
-rw-r--r-- | dev-util/ati-stream-sdk/Manifest | 3 | ||||
-rw-r--r-- | dev-util/ati-stream-sdk/files/Makefile | 15 |
2 files changed, 7 insertions, 11 deletions
diff --git a/dev-util/ati-stream-sdk/Manifest b/dev-util/ati-stream-sdk/Manifest index fe7287f..a4e667f 100644 --- a/dev-util/ati-stream-sdk/Manifest +++ b/dev-util/ati-stream-sdk/Manifest @@ -1,4 +1,5 @@ -AUX Makefile 1756 RMD160 59626766f44c60c064baf25817f11fa51fa7a43b SHA1 da033443bad9eb870bdd6023cfe8ed3e7ae9e173 SHA256 40372466777f3e9269e2ea8a54b3ad2906a8f64299568cecfb56be574e7a1064 +AUX Makefile 1701 RMD160 d77ac41fc9c2487af57b8b2fd5d5bbc754e0770e SHA1 a85e86cd5a94dae546508ac8de16ad417d380ec0 SHA256 50e2defb2c842b80922abb078fc8a38c071dc1fed6c7e780af11db52bb266576 +AUX Makefile.old 1756 RMD160 59626766f44c60c064baf25817f11fa51fa7a43b SHA1 da033443bad9eb870bdd6023cfe8ed3e7ae9e173 SHA256 40372466777f3e9269e2ea8a54b3ad2906a8f64299568cecfb56be574e7a1064 DIST ati-stream-sdk-v2.3-lnx32.tgz 49912168 RMD160 07c045de3118531472672e9ef7b3763cb32f7d68 SHA1 972bdbe6942e52411a2f041720348e857f17c388 SHA256 07fd15a51a678c4378767f61466daf9da21d0bab6088a97a70136dd8c976aca6 DIST ati-stream-sdk-v2.3-lnx64.tgz 78659015 RMD160 57af36f62e590ae54cb9d43b880735979b77466c SHA1 43c94e5126563fe3fa4cb92fb6dd20f12864a86d SHA256 f92537d1fc306af0bff1441af4669bf2fa668654b12d9fb53a3a872dc8826cad EBUILD ati-stream-sdk-2.3-r1.ebuild 1692 RMD160 a2acb27a3b095ff67427243f9eef5b11cccff482 SHA1 e471885ebd5ddb249c8f20ee167ee610203178df SHA256 7d2637c6013f7b1a4629d897de299bccac48bda5577362c6fb9f43a1fb026dce diff --git a/dev-util/ati-stream-sdk/files/Makefile b/dev-util/ati-stream-sdk/files/Makefile index ae36468..5396f6f 100644 --- a/dev-util/ati-stream-sdk/files/Makefile +++ b/dev-util/ati-stream-sdk/files/Makefile @@ -12,8 +12,7 @@ MKDIR=mkdir -p ARCH:=x86 BINFILES=bin/x86$(DSUFX)/clc LIBFILES=lib/x86$(DSUFX)/libOpenCL.so lib/x86$(DSUFX)/libatiolc$(SUFX).so lib/x86$(DSUFX)/libGLEW.so lib/gpu/builtins-7xx.bc lib/gpu/builtins-evergreen.bc lib/gpu/builtins-gpucommon.bc lib/x86$(DSUFX)/builtins-x86$(DSUFX).bc -INCDIRS=include/CL include/GL include/OVDecode -INCFILES=include/cal*.h +INCFILES=include/cal*.h include/CL/* include/GL/* include/OVDecode/* ifeq ($(ARCH),amd64) DSUFX=_64 @@ -44,16 +43,12 @@ install: $(INSTALLBIN) "$$f" "$(LIBDIR)$$f1" || exit 1;\ else :; fi;\ done - @list='$(INCDIRS)'; for f in $$list; do\ - if test -d $$f; then\ - f1=`basename $$f`;\ - echo "$(INSTALLDIR) $$f $(INCDIR)$$f1";\ - $(INSTALLDIR) $$f $(INCDIR)$$f1 || exit 1;\ - else :; fi;\ - done @list='$(INCFILES)'; for f in $$list; do\ if test -f $$f; then\ - f1=`basename $$f`;\ + f1=`echo $$f | sed -e 's|include||g'`;\ + base=`basename $$f1`;\ + dir=`echo $$f1 | sed -e "s|$$base||g`;\ + test -z "$(INCDIR)$$dir" || $(MKDIR) "$(INCDIR)$$dir";\ echo "$(INSTALLDAT) $$f $(INCDIR)$$f1";\ $(INSTALLDAT) $$f $(INCDIR)$$f1 || exit 1;\ else :; fi;\ |