aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDjordje Senicic2016-02-26 19:37:55 -0600
committerDjordje Senicic2016-02-26 19:37:55 -0600
commit30eafd5a2bd5f2e9e19ec3d42e292547327fcfbc (patch)
treed3ba3d76b50ecfb764e0dfcc1af38b432bbecaaf
parentde1a2383f3598509794d710e79eb4909a29c4b04 (diff)
downloadgst-plugin-dsp66-30eafd5a2bd5f2e9e19ec3d42e292547327fcfbc.tar.gz
gst-plugin-dsp66-30eafd5a2bd5f2e9e19ec3d42e292547327fcfbc.tar.xz
gst-plugin-dsp66-30eafd5a2bd5f2e9e19ec3d42e292547327fcfbc.zip
Add Makefile-s in kernels and oclconv folders, not committed earlier due to gitignore
-rw-r--r--src/kernels/Makefile33
-rw-r--r--src/kernels/oclconv/Makefile19
2 files changed, 52 insertions, 0 deletions
diff --git a/src/kernels/Makefile b/src/kernels/Makefile
new file mode 100644
index 0000000..28a49e2
--- /dev/null
+++ b/src/kernels/Makefile
@@ -0,0 +1,33 @@
1.SILENT:
2
3MFS = $(wildcard */Makefile)
4DIRS = $(patsubst %/Makefile,%,$(MFS))
5
6all:
7 for dir in $(DIRS); do \
8 echo "=============== " $$dir " =================" ; \
9 $(MAKE) -C $$dir; \
10 done
11
12test:
13 for dir in $(DIRS); do \
14 echo "=============== " $$dir " =================" ; \
15 $(MAKE) -C $$dir test; \
16 done
17
18cross:
19 for dir in $(DIRS); do \
20 echo "=============== " $$dir " =================" ; \
21 $(MAKE) -C $$dir cross; \
22 done
23
24clean:
25 for dir in $(DIRS); do \
26 $(MAKE) -C $$dir clean; \
27 done
28
29install:
30 for dir in $(DIRS); do \
31 $(MAKE) -C $$dir install; \
32 done
33
diff --git a/src/kernels/oclconv/Makefile b/src/kernels/oclconv/Makefile
new file mode 100644
index 0000000..e271670
--- /dev/null
+++ b/src/kernels/oclconv/Makefile
@@ -0,0 +1,19 @@
1EXE = liboclconv.so
2CPP_FLAGS = -O3 -shared -fPIC -L.
3CLOCL_FLAGS =
4include ../make.inc
5
6all: ${EXE}
7
8$(EXE): oclconv.o
9 @$(CPP) $(CPP_FLAGS) oclconv.o $(LD_FLAGS) $(LIBS) -o $@
10
11oclconv.o: conv.dsp_h
12
13
14conv.dsp_h: conv.cl ${TI_IMGLIB_DIR}/lib/imglib.ae66 ${TI_VLIB_DIR}/packages/ti/vlib/lib/vlib.ae66
15 $(CLOCL) --txt $^
16
17install:
18 mkdir -p ${DESTDIR}/usr/lib && install -m 755 ${EXE} ${DESTDIR}/usr/lib/.
19