diff options
author | Roland McGrath <roland@gnu.org> | 1996-08-02 05:27:50 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-08-02 05:27:50 +0000 |
commit | e75154a665018d5756196275634704c95476ea6b (patch) | |
tree | 0c8f889a29304e0cc86611c629f1b620d16cf8a7 /sunrpc | |
parent | 9ebb936d991a6e08da05e5a942465d64cac39f86 (diff) | |
download | glibc-e75154a665018d5756196275634704c95476ea6b.zip glibc-e75154a665018d5756196275634704c95476ea6b.tar.gz glibc-e75154a665018d5756196275634704c95476ea6b.tar.bz2 |
Remade for alpha-1.93cvs/libc-960802
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sunrpc/Makefile b/sunrpc/Makefile index 428e6a1..11f5541 100644 --- a/sunrpc/Makefile +++ b/sunrpc/Makefile @@ -73,11 +73,18 @@ rpcgen-objs = rpc_main.o rpc_hout.o rpc_cout.o rpc_parse.o \ distribute := rpc_util.h rpc_parse.h rpc_scan.h $(rpcgen-objs:.o=.c) etc.rpc extra-objs = $(rpcgen-objs) +all: # Make this the default target; it will be defined in Rules. + +include ../Makeconfig + +ifeq (no,$(cross-compile)) +# We can only build this library if we can run the rpcgen we build. extra-libs := librpcsvc extra-libs-others := librpcsvc # Make it in `others' pass, not `lib' pass. librpcsvc-routines = $(rpcsvc:%.x=x%) librpcsvc-inhibit-o = .so # Build no shared rpcsvc library. omit-deps = $(librpcsvc-routines) +endif # Sun's code is not too clean. override +gccwarn := -w |