--- areafix/Makefile.orig 2013-03-25 21:35:46.000000000 +0000 +++ areafix/Makefile 2013-03-25 21:37:31.000000000 +0000 @@ -37,7 +37,7 @@ CDEFS=-D$(OSTYPE) $(ADDCDEFS) -I$(H_DIR) LIBS=-lhusky -lsmapi -lfidoconfig ifeq ($(DYNLIBS), 1) -all: $(TARGETLIB) $(TARGETDLL).$(VER) +all: $(TARGETLIB) $(TARGETDLL).$(VERMAJOR) else all: $(TARGETLIB) endif @@ -54,24 +54,22 @@ endif ifeq ($(DYNLIBS), 1) ifeq (~$(MKSHARED)~,~ld~) -$(TARGETDLL).$(VER): $(OBJS) - $(LD) $(LFLAGS) -o $(TARGETDLL).$(VER) $(OBJS) $(LIBS) +$(TARGETDLL).$(VERMAJOR): $(OBJS) + $(LD) $(LFLAGS) -o $(TARGETDLL).$(VERMAJOR) $(OBJS) $(LIBS) else -$(TARGETDLL).$(VER): $(OBJS) - $(CC) $(LFLAGS) -shared -Wl,-soname,$(TARGETDLL).$(VERH) \ - -o $(TARGETDLL).$(VER) $(OBJS) $(LIBS) +$(TARGETDLL).$(VERMAJOR): $(OBJS) + $(CC) $(LFLAGS) -shared -Wl,-soname,$(TARGETDLL).$(VERMAJOR) \ + -o $(TARGETDLL).$(VERMAJOR) $(OBJS) $(LIBS) endif -instdyn: $(TARGETLIB) $(TARGETDLL).$(VER) +instdyn: $(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 @@ -106,4 +104,4 @@ clean: distclean: clean -$(RM) $(RMOPT) $(TARGETLIB) - -$(RM) $(RMOPT) $(TARGETDLL).$(VER) + -$(RM) $(RMOPT) $(TARGETDLL).$(VERMAJOR)