summaryrefslogtreecommitdiff
path: root/development/amd-app-sdk/amd-app-sdk.csh
diff options
context:
space:
mode:
Diffstat (limited to 'development/amd-app-sdk/amd-app-sdk.csh')
-rw-r--r--development/amd-app-sdk/amd-app-sdk.csh13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/amd-app-sdk/amd-app-sdk.csh b/development/amd-app-sdk/amd-app-sdk.csh
new file mode 100644
index 0000000000..697988d6b2
--- /dev/null
+++ b/development/amd-app-sdk/amd-app-sdk.csh
@@ -0,0 +1,13 @@
+#!/bin/csh
+
+setenv AMDAPPSDKROOT /opt/amd-app-sdk
+setenv AMDAPPSDKSAMPLESROOT /opt/amd-app-sdk
+
+if ($?CPPFLAGS == 0) then
+ setenv CPPFLAGS "-I$AMDAPPSDKROOT/include"
+else
+ setenv CPPFLAGS "$CPPFLAGS -I$AMDAPPSDKROOT/include"
+endif
+
+# For retrocompatibility with the former name of the SDK...
+setenv ATISTREAMSDKROOT $AMDAPPSDKROOT