Index: ossp-pkg/sa/Makefile.in RCS File: /v/ossp/cvs/ossp-pkg/sa/Makefile.in,v rcsdiff -q -kk '-r1.9' '-r1.10' -u '/v/ossp/cvs/ossp-pkg/sa/Makefile.in,v' 2>/dev/null --- Makefile.in 2001/10/24 13:40:07 1.9 +++ Makefile.in 2001/10/31 19:52:21 1.10 @@ -44,8 +44,10 @@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ RM = rm -f +RMDIR = rmdir SHTOOL = ./shtool LIBTOOL = ./libtool +TRUE = true LIB_NAME = libsa.la LIB_OBJS = sa.lo @@ -75,17 +77,27 @@ @$(LIBTOOL) --mode=execute ./$(TST_NAME) install: - $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir) - @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libsa.la $(DESTDIR)$(libdir)/ - $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir) - $(SHTOOL) install -c -m 644 sa.h $(DESTDIR)$(includedir)/ + $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) + $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir) + $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir) $(SHTOOL) install -c -m 755 sa-config $(DESTDIR)$(bindir)/ + $(SHTOOL) install -c -m 644 sa.h $(DESTDIR)$(includedir)/ + @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libsa.la $(DESTDIR)$(libdir)/ + +uninstall: + @$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libsa.la + -$(RM) $(DESTDIR)$(includedir)/sa.h + -$(RM) $(DESTDIR)$(bindir)/sa-config + -$(RMDIR) $(DESTDIR)$(libdir) >/dev/null 2>&1 || $(TRUE) + -$(RMDIR) $(DESTDIR)$(includedir) >/dev/null 2>&1 || $(TRUE) + -$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE) + -$(RMDIR) $(DESTDIR)$(prefix) >/dev/null 2>&1 || $(TRUE) clean: -$(RM) $(LIB_NAME) $(LIB_OBJS) -$(RM) $(TST_NAME) $(TST_OBJS) - -$(RM) -r .libs >/dev/null 2>&1 + -$(RM) -r .libs >/dev/null 2>&1 || $(TRUE) -$(RM) *.o *.lo distclean: clean