summaryrefslogtreecommitdiff
path: root/ilclient/Makefile
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2014-01-07 16:20:51 +0100
committerThomas Reufer <thomas@reufer.ch>2014-01-07 16:20:51 +0100
commitd2ed6de22829288c5cfd3a52b1da090e96d3329d (patch)
treeef84cba3610e96cc4c58359da3c8a69882aa03c9 /ilclient/Makefile
downloadvdr-plugin-rpihddevice-0.0.1.tar.gz
vdr-plugin-rpihddevice-0.0.1.tar.bz2
2013-09-27: Version 0.0.10.0.1
Initial prototype - limitations: - video codec hard coded to MPEG2, output on HDMI - audio codec hard coded to MP3, output on phone jack - tested: - OSD - SDTV live view and replay - missing: - dynamic switching between MPEG2 and H264 video codec - trick speeds - much more...
Diffstat (limited to 'ilclient/Makefile')
-rw-r--r--ilclient/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/ilclient/Makefile b/ilclient/Makefile
new file mode 100644
index 0000000..7a967f4
--- /dev/null
+++ b/ilclient/Makefile
@@ -0,0 +1,23 @@
+OBJS=ilclient.o ilcore.o
+LIB=libilclient.a
+
+CFLAGS+=-DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi
+
+INCLUDES+=-I$(SDKSTAGE)/opt/vc/include/ -I$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -I$(SDKSTAGE)/opt/vc/include/interface/vmcs_host/linux
+
+all: $(LIB)
+
+%.o: %.c
+ @rm -f $@
+ $(CC) $(CFLAGS) $(INCLUDES) -g -c $< -o $@ -Wno-deprecated-declarations
+
+%.a: $(OBJS)
+ $(AR) r $@ $^
+
+clean:
+ for i in $(OBJS); do (if test -e "$$i"; then ( rm $$i ); fi ); done
+ @rm -f $(BIN) $(LIB)
+
+
+
+