From 87ffef6e32856495b8175553dcfbeb288c30e56a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 25 Feb 2014 12:20:55 +0100 Subject: move SOVERSION to main Makefile, needed for install --- Makefile | 4 +++- lib/Makefile | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f46bef1..ed5a186 100644 --- a/Makefile +++ b/Makefile @@ -23,11 +23,13 @@ CQRLOGO_FCGI += LD_LIBRARY_PATH=lib/ ./cqrlogo.fcgi # this is just a fallback in case you do not use git but downloaded # a release tarball... VERSION := 0.4.0 +# library abi version +SOVERSION := 0 all: libcqrlogo cqrlogo.cgi cqrlogo.fcgi README.html cqrlogo.png libcqrlogo: lib/libcqrlogo.c lib/libcqrlogo.h config.h version.h - $(MAKE) -C lib + SOVERSION=$(SOVERSION) $(MAKE) -C lib cqrlogo.cgi: libcqrlogo cqrlogo.c cqrlogo.h config.h version.h $(CC) -lcqrlogo -Llib/ -Ilib/ $(LDFLAGS) -DHAVE_FCGI=0 -o cqrlogo.cgi cqrlogo.c diff --git a/lib/Makefile b/lib/Makefile index 47f4db7..d6a33af 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -8,9 +8,6 @@ CFLAGS += $(shell pkg-config --cflags --libs libpng) CFLAGS += $(shell pkg-config --cflags --libs zlib) CFLAGS += $(shell pkg-config --cflags --libs libqrencode) -# library abi version -SOVERSION := 0 - all: libcqrlogo libcqrlogo: libcqrlogo.c libcqrlogo.h ../config.h ../version.h -- cgit v1.2.3-70-g09d2