summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ati-stream-sdk/files/Makefile')
-rw-r--r--dev-util/ati-stream-sdk/files/Makefile63
1 files changed, 0 insertions, 63 deletions
diff --git a/dev-util/ati-stream-sdk/files/Makefile b/dev-util/ati-stream-sdk/files/Makefile
deleted file mode 100644
index 3946841..0000000
--- a/dev-util/ati-stream-sdk/files/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-DESTDIR=
-PREFIX=$(DESTDIR)/opt/ati-stream-sdk
-LIBDIR=$(PREFIX)/lib
-BINDIR=$(PREFIX)/bin
-INCDIR=$(PREFIX)/include
-ETCDIR=$(DESTDIR)/etc
-
-INSTALLBIN=install
-INSTALLDAT=install -m0644
-INSTALLDIR=install -d
-MKDIR=mkdir -p
-
-ARCH:=x86
-BINFILES=bin/x86$(DSUFX)/clc bin/x86$(DSUFX)/llc
-LIBFILES=lib/x86$(DSUFX)/libOpenCL.so lib/x86$(DSUFX)/libatiocl$(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 lib/x86$(DSUFX)/builtins_amdil_opt.bc
-INCFILES=include/cal*.h include/CL/* include/GL/* include/OVDecode/* include/SDKUtil/*
-ETCFILES=etc/OpenCL/vendors/atiocl$(SUFX).icd
-
-ifeq ($(ARCH),amd64)
-DSUFX=_64
-SUFX=64
-else
-DSUFX=
-SUFX=32
-endif
-
-install-bin:
- test -z "$(BINDIR)" || $(MKDIR) "$(BINDIR)"
- @list='$(BINFILES)'; for f in $$list; do\
- if test -f $$f; then\
- f1=`basename $$f`;\
- echo "$(INSTALLBIN) $$f $(BINDIR)/$$f1";\
- $(INSTALLBIN) "$$f" "$(BINDIR)/$$f1" || exit 1;\
- else :; fi;\
- done
-
-install-lib:
- test -z "$(LIBDIR)" || $(MKDIR) "$(LIBDIR)"
- @list='$(LIBFILES)'; for f in $$list; do\
- if test -f $$f; then\
- f1=`echo $$f | sed -e 's|lib/||g'`;\
- base=`basename $$f1`;\
- dir=`echo $$f1 | sed -e "s|$$base||g"`;\
- test -z "$(LIBDIR)/$$dir" || $(MKDIR) "$(LIBDIR)/$$dir";\
- echo "$(INSTALLBIN) $$f $(LIBDIR)/$$f1";\
- $(INSTALLBIN) "$$f" "$(LIBDIR)/$$f1" || exit 1;\
- else :; fi;\
- done
-
-install-include:
- test -z "$(INCDIR)" || $(MKDIR) "$(INCDIR)"
- @list='$(INCFILES)'; for f in $$list; do\
- if test -f $$f; then\
- 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;\
- done
-
-install: install-bin install-lib install-include