mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Adapted makefile for new imagemagick versions
This commit is contained in:
parent
14f677a767
commit
063094f442
9
Makefile
9
Makefile
@ -43,10 +43,13 @@ SOFILE = libvdr-$(PLUGIN).so
|
|||||||
|
|
||||||
### Includes and Defines (add further entries here):
|
### Includes and Defines (add further entries here):
|
||||||
|
|
||||||
INCLUDES +=
|
INCLUDES += $(shell pkg-config --cflags-only-I Magick++)
|
||||||
INCLUDES += -I/usr/include/ImageMagick
|
|
||||||
|
|
||||||
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
|
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
|
||||||
|
DEFINES += -DMAGICKCORE_HDRI_ENABLE=0
|
||||||
|
DEFINES += -DMAGICKCORE_QUANTUM_DEPTH=16
|
||||||
|
|
||||||
|
LIBS += $(shell pkg-config --libs Magick++)
|
||||||
|
|
||||||
### The object files (add further files here):
|
### The object files (add further files here):
|
||||||
|
|
||||||
@ -98,7 +101,7 @@ install-i18n: $(I18Nmsgs)
|
|||||||
|
|
||||||
### Targets:
|
### Targets:
|
||||||
$(SOFILE): $(OBJS)
|
$(SOFILE): $(OBJS)
|
||||||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -lMagick++ -o $@
|
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@
|
||||||
|
|
||||||
install-lib: $(SOFILE)
|
install-lib: $(SOFILE)
|
||||||
install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
|
install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
|
||||||
|
Loading…
Reference in New Issue
Block a user