Update of /cvsroot/pure-data/externals/grill/flext/buildsys/mac In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5213/buildsys/mac
Modified Files: gnumake-gcc-flext.inc Log Message: more correct library versioning
Index: gnumake-gcc-flext.inc =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** gnumake-gcc-flext.inc 10 Apr 2005 22:22:39 -0000 1.4 --- gnumake-gcc-flext.inc 13 Apr 2005 00:24:18 -0000 1.5 *************** *** 3,10 **** ifdef SHARED LDFLAGS += -install_name $(FLEXTLIB)/$(TARGETNAME) ! # PKGVERSION must be in the 0.0.0 format ! LDFLAGS += -current_version $(PKGVERSION) ! # strip last number ! LDFLAGS += -compatibility_version $(basename $(PKGVERSION)) LDFLAGS += -preload -seg1addr 0xd0000000 endif --- 3,8 ---- ifdef SHARED LDFLAGS += -install_name $(FLEXTLIB)/$(TARGETNAME) ! LDFLAGS += -current_version $(FLEXTMAJOR).$(FLEXTMINOR).$(FLEXTMICRO) ! LDFLAGS += -compatibility_version $(FLEXTMAJOR).$(FLEXTMINOR) LDFLAGS += -preload -seg1addr 0xd0000000 endif *************** *** 71,79 **** ifdef FLEXTFRAMEWORK # --- install as framework --- ! ifndef PKGVERSION ! $(error Need package version) ! endif ! mkdir -p $(FLEXTFRAMEWORK)/Versions/$(basename $(PKGVERSION))/Headers ! ln -sfh ./$(basename $(PKGVERSION)) $(FLEXTFRAMEWORK)/Versions/Current ln -sfh ./Versions/Current/Headers $(FLEXTFRAMEWORK)/Headers install $(TARGET) $(FLEXTFRAMEWORK)/Versions/Current --- 69,74 ---- ifdef FLEXTFRAMEWORK # --- install as framework --- ! mkdir -p $(FLEXTFRAMEWORK)/Versions/$(FLEXTMAJOR).$(FLEXTMINOR)/Headers ! ln -sfh ./$(FLEXTMAJOR).$(FLEXTMINOR) $(FLEXTFRAMEWORK)/Versions/Current ln -sfh ./Versions/Current/Headers $(FLEXTFRAMEWORK)/Headers install $(TARGET) $(FLEXTFRAMEWORK)/Versions/Current *************** *** 94,98 **** endif ifdef VERNAME ! ln -sf $(FLEXTLIB)/$(VERNAME) $(FLEXTLIB)/$(TARGETNAME) endif install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC) --- 89,93 ---- endif ifdef VERNAME ! ln -sf $(VERNAME) $(FLEXTLIB)/$(TARGETNAME) endif install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)