X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dynamic%2FMakefile.in;h=f052815ac0fe891deda6b4cd07ec044dbdeae4d2;hb=e8878fdd6925b2dee7a58b7a5dddb15e9fa7119b;hp=ebff61c8ac47ac2fcbba49305205eab0bcba3e1f;hpb=696e536a50045e6b9252b200c749247205771d16;p=adns.git diff --git a/dynamic/Makefile.in b/dynamic/Makefile.in index ebff61c..f052815 100644 --- a/dynamic/Makefile.in +++ b/dynamic/Makefile.in @@ -4,8 +4,8 @@ # Copyright (C) 1997-1999 Ian Jackson # # It is part of adns, which is -# Copyright (C) 1997-1999 Ian Jackson -# Copyright (C) 1999 Tony Finch +# Copyright (C) 1997-2000 Ian Jackson +# Copyright (C) 1999-2000 Tony Finch # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -31,8 +31,10 @@ include $(srcdir)/../src/adns.make ALLOBJS= $(addsuffix _p.o, $(basename $(LIBOBJS))) install: + mkdir -p $(lib_dir) $(INSTALL_PROGRAM) $(SHLIBFILE) $(lib_dir)/$(SHLIBFILE) - ln -s $(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME) + ln -sf $(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME) + ln -sf $(SHLIBSONAME) $(lib_dir)/$(SHLIBFORLINK) uninstall: rm -f $(lib_dir)/$(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME)