--- huskylib/Makefile.orig 2009-07-02 08:23:20.000000000 +0000 +++ huskylib/Makefile 2013-03-25 19:30:48.000000000 +0000 @@ -31,7 +31,7 @@ LIBS= #-L. -l$(LIBNAME) ifeq ($(DYNLIBS), 1) -all: $(TARGETLIB) $(TARGETDLL).$(VER) $(PROGRAMS) +all: $(TARGETLIB) $(TARGETDLL).$(VERMAJOR) $(PROGRAMS) else all: $(TARGETLIB) $(PROGRAMS) endif @@ -50,26 +50,22 @@ endif ifeq ($(DYNLIBS), 1) ifeq (~$(MKSHARED)~,~ld~) -$(TARGETDLL).$(VER): $(OBJS) - $(LD) $(LFLAGS) -o $(TARGETDLL).$(VER) $(OBJS) +$(TARGETDLL).$(VERMAJOR): $(OBJS) + $(LD) $(LFLAGS) -o $(TARGETDLL).$(VERMAJOR) $(OBJS) else -$(TARGETDLL).$(VER): $(OBJS) - $(CC) -shared -Wl,-soname,$(TARGETDLL).$(VERH) \ - -o $(TARGETDLL).$(VER) $(OBJS) +$(TARGETDLL).$(VERMAJOR): $(OBJS) + $(CC) -shared -Wl,-soname,$(TARGETDLL).$(VERMAJOR) \ + -o $(TARGETDLL).$(VERMAJOR) $(OBJS) endif - $(LN) $(LNOPT) $(TARGETDLL).$(VER) $(TARGETDLL).$(VERH) ;\ - $(LN) $(LNOPT) $(TARGETDLL).$(VER) $(TARGETDLL) -install-dynlib: $(TARGETLIB) $(TARGETDLL).$(VER) +install-dynlib: $(TARGETLIB) $(TARGETDLL).$(VERMAJOR) -$(MKDIR) $(MKDIROPT) $(DESTDIR)$(LIBDIR) - $(INSTALL) $(ILOPT) $(TARGETDLL).$(VER) $(DESTDIR)$(LIBDIR) - -$(RM) $(RMOPT) $(DESTDIR)$(LIBDIR)$(DIRSEP)$(TARGETDLL).$(VERH) + $(INSTALL) $(ILOPT) $(TARGETDLL).$(VERMAJOR) $(DESTDIR)$(LIBDIR) -$(RM) $(RMOPT) $(DESTDIR)$(LIBDIR)$(DIRSEP)$(TARGETDLL) # Changed the symlinks from symlinks with full path to just symlinks. # Better so :) cd $(DESTDIR)$(LIBDIR) ;\ - $(LN) $(LNOPT) $(TARGETDLL).$(VER) $(TARGETDLL).$(VERH) ;\ - $(LN) $(LNOPT) $(TARGETDLL).$(VER) $(TARGETDLL) + $(LN) $(LNOPT) $(TARGETDLL).$(VERMAJOR) $(TARGETDLL) ifneq (~$(LDCONFIG)~, ~~) $(LDCONFIG) endif @@ -133,10 +129,10 @@ uninstall: clean: -$(RM) $(RMOPT) *$(_OBJ) - -$(RM) $(RMOPT) $(TARGETDLL).$(VERH) + -$(RM) $(RMOPT) $(TARGETDLL).$(VERMAJOR) -$(RM) $(RMOPT) $(TARGETDLL) distclean: clean -$(RM) $(RMOPT) $(TARGETLIB) - -$(RM) $(RMOPT) $(TARGETDLL).$(VER) + -$(RM) $(RMOPT) $(TARGETDLL).$(VERMAJOR) -$(RM) $(RMOPT) $(PROGRAMS)