diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-10-07 01:53:53 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-10-07 01:53:53 +0000 |
commit | 7f7410d05a7794c63a42b987d1136f6455ff23c7 (patch) | |
tree | 06b0676cf7d3da72cb6c5f491cbc1cf2b2376675 /libc | |
parent | 04bc82edc59fed897b7f38e5f68a76402f087dfb (diff) |
More cleanups
Diffstat (limited to 'libc')
-rw-r--r-- | libc/inet/rpc/Makefile | 2 | ||||
-rw-r--r-- | libc/inet/rpc/auth_unix.c | 3 | ||||
-rw-r--r-- | libc/misc/regex/Makefile | 11 |
3 files changed, 10 insertions, 6 deletions
diff --git a/libc/inet/rpc/Makefile b/libc/inet/rpc/Makefile index 907d55deb..cc6403648 100644 --- a/libc/inet/rpc/Makefile +++ b/libc/inet/rpc/Makefile @@ -42,8 +42,6 @@ all: $(COBJS) $(LIBC) $(LIBC): $(COBJS) $(AR) $(ARFLAGS) $(LIBC) $(COBJS) -$(COBJS): $(CSRC) - clean: rm -f *.[oa] *~ core diff --git a/libc/inet/rpc/auth_unix.c b/libc/inet/rpc/auth_unix.c index 87ff2b648..ffdfa11a0 100644 --- a/libc/inet/rpc/auth_unix.c +++ b/libc/inet/rpc/auth_unix.c @@ -44,6 +44,9 @@ static char sccsid[] = "@(#)auth_unix.c 1.19 87/08/11 Copyr 1984 Sun Micro"; */ #include <stdio.h> +#include <unistd.h> +#include <sys/types.h> +#include <string.h> #include <rpc/types.h> #include <rpc/xdr.h> diff --git a/libc/misc/regex/Makefile b/libc/misc/regex/Makefile index ad0745020..b8b38faa9 100644 --- a/libc/misc/regex/Makefile +++ b/libc/misc/regex/Makefile @@ -24,12 +24,15 @@ TOPDIR=../ include $(TOPDIR)Rules.make LIBC=$(TOPDIR)libc.a -OBJ=rx.o +CSRC=rx.c +COBJS=$(patsubst %.c,%.o, $(CSRC)) -all: $(OBJ) $(LIBC) +all: $(COBJS) $(LIBC) -$(LIBC): $(OBJ) - $(AR) $(ARFLAGS) $(LIBC) $(OBJ) +$(LIBC): $(COBJS) + $(AR) $(ARFLAGS) $(LIBC) $(COBJS) + +$(COBJS): Makefile clean: rm -f *.[oa] *~ core |