From 77ba4cc2f97eb1496569cc1ff79fed5ed1296d40 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Tue, 27 Nov 2001 06:39:02 +0000 Subject: [PATCH] make clean can rm config.cache but not config.h, or it wil jam. Build getaddr/nameinfo into lib/. Split code to generate "rwx-----" strings into lib/permstring.c so it can be reused in tls. --- Makefile.in | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Makefile.in b/Makefile.in index fb027b7b..f61468eb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -23,6 +23,7 @@ VERSION=@VERSION@ .SUFFIXES: .c .o LIBOBJ=lib/fnmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o \ + lib/permstring.o \ @LIBOBJS@ ZLIBOBJ=zlib/deflate.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o \ zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/trees.o \ @@ -34,7 +35,7 @@ popt_OBJS=popt/findme.o popt/popt.o popt/poptconfig.o \ popt/popthelp.o popt/poptparse.o OBJS=$(OBJS1) $(OBJS2) $(DAEMON_OBJ) $(LIBOBJ) $(ZLIBOBJ) @BUILD_POPT@ -tls_OBJ = tls.o syscall.o +tls_OBJ = tls.o syscall.o lib/permstring.o # Programs we must have to run the test cases CHECK_PROGS = rsync tls @@ -83,18 +84,12 @@ proto: cat *.c lib/compat.c | awk -f mkproto.awk > proto.h clean: - rm -f *~ $(OBJS) rsync + rm -f *~ $(OBJS) rsync $(TLS_OBJ) tls rm -rf ./testtmp - rm -f config.h config.cache config.status + rm -f config.cache distclean: clean - rm -f Makefile - -# missing functions -getaddrinfo.o: lib/getaddrinfo.c - $(CC) -I. -I$(srcdir) -I$(srcdir)/lib $(CFLAGS) -c lib/getaddrinfo.c -getnameinfo.o: lib/getnameinfo.c - $(CC) -I. -I$(srcdir) -I$(srcdir)/lib $(CFLAGS) -c lib/getnameinfo.c + rm -f Makefile config.h config.status # this target is really just for my use. It only works on a limited # range of machines and is used to produce a list of potentially -- 2.34.1