diff options
author | Andreas Brachold <vdr07@deltab.de> | 2007-06-10 19:02:38 +0000 |
---|---|---|
committer | Andreas Brachold <vdr07@deltab.de> | 2007-06-10 19:02:38 +0000 |
commit | b410bee3a45052cdf118a00939fd161279c415a8 (patch) | |
tree | 1b04fdc8c8c6048335141fce2cebae5b849ba8d1 /liboutput/Makefile | |
parent | 451d3801964e9ac4a07cbd17ffd9a655fec206aa (diff) | |
download | vdr-plugin-image-b410bee3a45052cdf118a00939fd161279c415a8.tar.gz vdr-plugin-image-b410bee3a45052cdf118a00939fd161279c415a8.tar.bz2 |
- for build now 'pkg-config' needed
- Use swscale to converting image
Diffstat (limited to 'liboutput/Makefile')
-rw-r--r-- | liboutput/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/liboutput/Makefile b/liboutput/Makefile index 126cfc8..7300393 100644 --- a/liboutput/Makefile +++ b/liboutput/Makefile @@ -9,6 +9,7 @@ VDRDIR = ../../../.. CXX ?= g++ CXXFLAGS ?= -O0 -g -Wall -Woverloaded-virtual +PKG-CONFIG ?= pkg-config -include $(VDRDIR)/Make.config @@ -18,12 +19,16 @@ CXXFLAGS ?= -O0 -g -Wall -Woverloaded-virtual INCLUDES += -I$(VDRDIR)/include -I. ifdef FFMDIR INCLUDES += -I$(FFMDIR)/libavcodec -I$(FFMDIR)/libavutil +DEFINES += -DFFMDIR +else + INCLUDES += $(shell $(PKG-CONFIG) --cflags libavcodec) endif DEFINES += -D_GNU_SOURCE -ifdef FFMDIR -DEFINES += -DFFMDIR +ifndef WITHOUT_SWSCALER + DEFINES += -DHAVE_SWSCALER + INCLUDES += $(shell $(PKG-CONFIG) --cflags libswscale) endif ### The object files (add further files here): |