diff options
| author | louis <louis.braun@gmx.de> | 2014-05-09 01:05:21 +0200 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2014-05-09 01:05:21 +0200 |
| commit | ca71c83e5d68f7995442c5c3a9f0d61fed1d2224 (patch) | |
| tree | e0497cd60f98b1a2d39839bafd03f318e978d326 /Makefile | |
| parent | 30008b3000e6421e6a54d0dc43a2e952e6a6617d (diff) | |
| download | vdr-plugin-scraper2vdr-ca71c83e5d68f7995442c5c3a9f0d61fed1d2224.tar.gz vdr-plugin-scraper2vdr-ca71c83e5d68f7995442c5c3a9f0d61fed1d2224.tar.bz2 | |
Version 0.1.2
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -25,7 +25,7 @@ TMPDIR ?= /tmp ### The compiler options: export CFLAGS = $(call PKGCFG,cflags) -export CXXFLAGS = $(call PKGCFG,cxxflags) +export CXXFLAGS = $(call PKGCFG,cxxflags) -Wno-unused-result -Wunused-value -Wunused-variable -Wreturn-type -Wuninitialized -Wsign-compare ### The version number of VDR's plugin API: @@ -35,7 +35,7 @@ APIVERSION = $(call PKGCFG,apiversion) -include $(PLGCFG) -LIBS = -lmysqlclient_r -luuid +LIBS = $(shell mysql_config --libs_r) -luuid ### The name of the distribution archive: @@ -48,9 +48,9 @@ SOFILE = libvdr-$(PLUGIN).so ### Includes and Defines (add further entries here): -INCLUDES += +INCLUDES += $(shell mysql_config --include) -DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -DLOG_PREFIX='"$(PLUGIN): "' DEFINES += -DVDR_PLUGIN -DUSEUUID ifeq ($(IMAGELIB), imagemagick) @@ -129,4 +129,7 @@ dist: $(I18Npo) clean clean: @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot - @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ lib/*~ + +cppchk: + cppcheck --template="{file}:{line}:{severity}:{message}" --quiet --force *.c *.h lib/*.c lib/*.h |
