diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-11-16 17:44:58 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-11-16 17:44:58 +0000 |
commit | 1f72466e6d5518f444197003e1f30277f4460cb2 (patch) | |
tree | 22aef2fa79b117321101d71b220b809de4064318 /Makefile | |
parent | 6353f1d32a99ee6e624241eddc561c15dbb739a4 (diff) |
only build SHARED_LIBRARY if SHARED_SOURCE is non-empty
svn path=/trunk/externals/iem/iemguts/; revision=15774
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -291,7 +291,7 @@ ALL_LIBS := $(LIBS) $(ALL_LIBS) SHARED_SOURCE ?= $(wildcard lib$(LIBRARY_NAME).c) SHARED_HEADER ?= $(shell test ! -e $(LIBRARY_NAME).h || echo $(LIBRARY_NAME).h) -SHARED_LIB = lib$(LIBRARY_NAME).$(SHARED_EXTENSION) +SHARED_LIB = $(shell test "x$(SHARED_SOURCE)" = "x" || echo lib$(LIBRARY_NAME).$(SHARED_EXTENSION)) SHARED_TCL_LIB = $(wildcard lib$(LIBRARY_NAME).tcl) .PHONY = install libdir_install single_install install-doc install-examples install-manual clean distclean dist etags $(LIBRARY_NAME) |