chiark / gitweb /
+ * Create $(bin_dir) and $(lib_dir) on `make install', and also
[adns.git] / dynamic / Makefile.in
index 8c5f810601f0d6db3cff42fbbe44e3ca1176641e..f052815ac0fe891deda6b4cd07ec044dbdeae4d2 100644 (file)
@@ -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 -sf $(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME)
+               ln -sf $(SHLIBSONAME) $(lib_dir)/$(SHLIBFORLINK)
 
 uninstall:
                rm -f $(lib_dir)/$(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME)