X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/d942707de2dd9809338882f09a9f23316dc8be36..e16c09ea29b6cb09b1f9a098aaed65da5fa4501a:/dynamic/Makefile.in?ds=sidebyside diff --git a/dynamic/Makefile.in b/dynamic/Makefile.in index 5ed6388..6b170c1 100644 --- a/dynamic/Makefile.in +++ b/dynamic/Makefile.in @@ -4,7 +4,7 @@ # Copyright (C) 1997-1999 Ian Jackson # # It is part of adns, which is -# Copyright (C) 1997-1999 Ian Jackson +# Copyright (C) 1997-2000 Ian Jackson # Copyright (C) 1999 Tony Finch # # This program is free software; you can redistribute it and/or modify @@ -24,7 +24,7 @@ srcdir= @srcdir@ VPATH= @srcdir@ -TARGETS= $(SHLIBFILE) +TARGETS= $(SHLIBFILE) $(SHLIBSONAME) $(SHLIBFORLINK) include $(srcdir)/../settings.make include $(srcdir)/../src/adns.make @@ -32,9 +32,16 @@ ALLOBJS= $(addsuffix _p.o, $(basename $(LIBOBJS))) install: $(INSTALL_PROGRAM) $(SHLIBFILE) $(lib_dir)/$(SHLIBFILE) + ln -sf $(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME) uninstall: - rm -f $(lib_dir)/$(SHLIBFILE) + rm -f $(lib_dir)/$(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME) + +$(SHLIBFORLINK): + ln -s $(SHLIBSONAME) $(SHLIBFORLINK) + +$(SHLIBSONAME): + ln -s $(SHLIBFILE) $(SHLIBSONAME) $(SHLIBFILE): $(ALLOBJS) rm -f $@