# $Id$ # # Boiler plate makefile # # Needs to be included in a toplevel makefiles, which defines # the following variables: # # srcdir # prefix # CC # CFLAGS # LDFLAGS # PKGCONFIG # WINDRES # ABI_VERSION=$(shell pkg-config --modversion hpgs | sed 's%\.[0-9]*$$%%') ARTIFACT=hpgsswfplugin NODEVRULES=1 EXTPKGS=hpgs INCLUDES=-I$(srcdir)/../hpgsswf LD=$(CC) LIBS=-L../hpgsswf -lhpgsswf HEADERS= HEADERDIR= SOURCES=hpgsplugin.c include /usr/share/pba-cbs/mk/main-sharedlib.mk ifneq ($(WINDRES),) TARGET=hpgsswfplugin.$(ABI_VERSION).dll BINSUBDIR=lib/hpgs else TARGET=hpgsswfplugin.so.$(ABI_VERSION) LIBSUBDIR=lib/hpgs endif