diff options
author | Jay Berkenbilt <ejb@ql.org> | 2009-10-11 02:24:22 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2009-10-11 02:24:22 +0200 |
commit | 2b5ac676ed1cbde1092d41acf0775b1c8d9a2baf (patch) | |
tree | 0d3a5ebe8e83f80dbc6e808efa6abc7c3921b5d9 /make/libtool.mk | |
parent | 9e05a15d7b3ed099fcc605b782c1f0ca6326dde2 (diff) | |
download | qpdf-2b5ac676ed1cbde1092d41acf0775b1c8d9a2baf.tar.zst |
generalize build
git-svn-id: svn+q:///qpdf/trunk@776 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'make/libtool.mk')
-rw-r--r-- | make/libtool.mk | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/make/libtool.mk b/make/libtool.mk index bc4ec120..3211b604 100644 --- a/make/libtool.mk +++ b/make/libtool.mk @@ -76,18 +76,16 @@ define makeslib $(RANLIB) $(2) endef -# 1 2 3 4 5 -# Usage: $(call makelib,objs,library,current,revision,age) +# 1 2 3 4 5 6 7 +# Usage: $(call makelib,objs,library,ldflags,libs,current,revision,age) define makelib $(LIBTOOL) --mode=link \ - $(CXX) $(CXXFLAGS) -o $(2) $(1) $(LDFLAGS) $(LIBS) \ - -rpath $(libdir) -version-info $(3):$(4):$(5) + $(CXX) $(CXXFLAGS) -o $(2) $(1) $(3) $(4) \ + -rpath $(libdir) -version-info $(5):$(6):$(7) endef -# 1 2 -# Usage: $(call makebin,objs,binary) +# 1 2 3 4 +# Usage: $(call makebin,objs,binary,ldflags,libs) define makebin - $(LIBTOOL) --mode=link \ - $(CXX) $(CXXFLAGS) $(1) -o $(2) $(LDFLAGS) \ - -Llibqpdf/$(OUTPUT_DIR) -lqpdf $(LIBS) + $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(1) -o $(2) $(3) $(4) endef |