comparison libdha/Makefile @ 21955:c24e237516f6

Move ldconfig platform differences into configure where they belong.
author diego
date Sat, 20 Jan 2007 21:19:58 +0000
parents a678ff4617fd
children 909e1e707dc5
comparison
equal deleted inserted replaced
21954:ad465ec1294a 21955:c24e237516f6
82 install: 82 install:
83 -mkdir -p $(LIBDIR) 83 -mkdir -p $(LIBDIR)
84 install -m 755 $(INSTALLSTRIP) -p $(LIBNAME) $(LIBDIR)/$(LIBNAME) 84 install -m 755 $(INSTALLSTRIP) -p $(LIBNAME) $(LIBDIR)/$(LIBNAME)
85 rm -f $(LIBDIR)/libdha.so 85 rm -f $(LIBDIR)/libdha.so
86 ln -sf $(LIBNAME) $(LIBDIR)/$(SHORTNAME) 86 ln -sf $(LIBNAME) $(LIBDIR)/$(SHORTNAME)
87 ifeq ($(TARGET_OS),OpenBSD) 87 -$(LDCONFIG)
88 -ldconfig -R
89 else
90 -ldconfig
91 endif
92 88
93 uninstall: 89 uninstall:
94 rm -f $(LIBDIR)/libdha.so $(LIBDIR)/$(SHORTNAME) $(LIBDIR)/$(LIBNAME) 90 rm -f $(LIBDIR)/libdha.so $(LIBDIR)/$(SHORTNAME) $(LIBDIR)/$(LIBNAME)
95 ifeq ($(TARGET_OS),OpenBSD) 91 -$(LDCONFIG)
96 -ldconfig -R
97 else
98 -ldconfig
99 endif
100 92
101 ifneq ($(wildcard .depend),) 93 ifneq ($(wildcard .depend),)
102 include .depend 94 include .depend
103 endif 95 endif