📄 makefile
字号:
# @(#)Makefile 1.1 92/07/30 SMI## Copyright (c) 1987 by Sun Microsystems, Inc.#include ../Makefile.archinclude ../Makefile.masterCPPFLAGS = -I..CFLAGS += $(CPPFLAGS) LDFLAGS += -assert pure-textSRCS = auth_des.c auth_none.c auth_unix.c authdes_prot.c authunix_prot.c \ clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c clnt_tcp.c \ clnt_udp.c rpc_dtablesize.c get_myaddress.c key_call.c key_prot.c \ netname.c openchild.c \ rtime.c pmap_clnt.c pmap_getmaps.c pmap_getport.c pmap_prot.c \ pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c rpc_callmsg.c \ svc.c svcauth_des.c svc_auth.c svc_auth_unix.c svc_raw.c svc_run.c \ svc_simple.c svc_tcp.c svc_udp.c xdr.c xdr_array.c xdr_float.c \ xdr_mem.c xdr_rec.c xdr_reference.c xdr_stdio.cOBJS = $(SRCS:%.c=$(VARIANT)/%.o)HDRS = auth.h auth_des.h auth_unix.h clnt.h key_prot.h pmap_clnt.h \ pmap_prot.h pmap_rmt.h raw.h rpc.h rpc_msg.h svc.h svc_auth.h \ types.h xdr.hXFILES= key_prot.x.KEEP_STATE:all : xallxall : $$(LIBS)$(LIBS) : symlink $$(VARIANT) $$(OBJS)symlink: rm -rf strings;\ ln -s ../strings strings.INIT: $(HDRS)install: $(HDRS) $(XFILES) install -d -o bin -m 755 ${DESTDIR}/usr/include/rpc install -m 444 $(HDRS) $(XFILES) ${DESTDIR}/usr/include/rpctags: $(SRCS) $(HDRS) ctags -tw $(SRCS) $(HDRS)ref: tags sed 's, /.*,,' tags | \ awk ' { printf("%-26s%-16s%s\n", $$1, $$2, $$3) }' > reflint: $(SRCS) $(HDRS) $(LINT.c) $(SRCS) clean: master.clean# We comment out .SUFFIXES because key_prot.[ch] are checked in to# SCCS. Both of these files were actually compiled using rpcgen, but# since the kernel build does not use rpcgen, we must check them into# SCCS. One day config will understand other languages besides C, and# we can take this comment out.#.SUFFIXES: .x .x~.x.c: rpcgen -c $< | \ sed 's/^#include \"$*\.h\"/#include <rpc\/$*\.h>/' > $@.x.h: rpcgen -h $< > $@## For making a release of the user rpc code to the net, we attach# a disclaimer to each file and remove the KERNEL portions. # NOTE: unifdef does not understand the "defined(ident)" syntax,# so be sure and do these parts by hand.# Also, note that this Makefile is non-standard, and cannot be# used as is for a distribution to non-Sun sites.#DISTUSER= distuser${DISTUSER}: $(SRCS) $(HDRS) $(XFILES) disclaimer -mkdir ${DISTUSER} @for i in $(SRCS) $(HDRS) $(XFILES) ; do \ echo $$i; \ cp disclaimer ${DISTUSER}/$$i; \ chmod +w ${DISTUSER}/$$i; \ unifdef -UKERNEL $$i \ | sed -e "s,./. <> ./,," >> ${DISTUSER}/$$i; \ donedepend: $(SRCS) $(HDRS) @${CC} ${CFLAGS} -M ${SRC} > makedep @echo '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep @echo '$$r makedep' >>eddep @echo 'w' >>eddep @cp Makefile makefile.bak @ed - Makefile < eddep @rm eddep makedep makefile.bak# DO NOT DELETE THIS LINEauth_des.c:auth_des.o: auth_des.cauth_des.o: /usr/include/sys/types.hauth_des.o: /usr/include/sys/sysmacros.hauth_des.o: /usr/include/sys/time.hauth_des.o: /usr/include/time.hauth_des.o: /usr/include/sys/socket.hauth_des.o: /usr/include/des_crypt.hauth_des.o: ../rpc/types.hauth_des.o: /usr/include/sys/types.hauth_des.o: ../rpc/auth.hauth_des.o: ../rpc/auth_des.hauth_des.o: ../rpc/xdr.hauth_none.c:auth_none.o: auth_none.cauth_none.o: ../rpc/types.hauth_none.o: /usr/include/sys/types.hauth_none.o: /usr/include/sys/sysmacros.hauth_none.o: ../rpc/xdr.hauth_none.o: ../rpc/auth.hauth_unix.c:auth_unix.o: auth_unix.cauth_unix.o: /usr/include/stdio.hauth_unix.o: /usr/include/sys/time.hauth_unix.o: /usr/include/time.hauth_unix.o: ../rpc/types.hauth_unix.o: /usr/include/sys/types.hauth_unix.o: /usr/include/sys/sysmacros.hauth_unix.o: ../rpc/xdr.hauth_unix.o: ../rpc/auth.hauth_unix.o: ../rpc/auth_unix.hauthdes_prot.c:authdes_prot.o: authdes_prot.cauthdes_prot.o: /usr/include/sys/types.hauthdes_prot.o: /usr/include/sys/sysmacros.hauthdes_prot.o: /usr/include/sys/time.hauthdes_prot.o: /usr/include/time.hauthdes_prot.o: ../rpc/types.hauthdes_prot.o: /usr/include/sys/types.hauthdes_prot.o: ../rpc/xdr.hauthdes_prot.o: ../rpc/auth.hauthdes_prot.o: ../rpc/auth_des.hauthunix_prot.c:authunix_prot.o: authunix_prot.cauthunix_prot.o: ../rpc/types.hauthunix_prot.o: /usr/include/sys/types.hauthunix_prot.o: /usr/include/sys/sysmacros.hauthunix_prot.o: ../rpc/xdr.hauthunix_prot.o: ../rpc/auth.hauthunix_prot.o: ../rpc/auth_unix.hclnt_perror.c:clnt_perror.o: clnt_perror.cclnt_perror.o: /usr/include/stdio.hclnt_perror.o: ../rpc/types.hclnt_perror.o: /usr/include/sys/types.hclnt_perror.o: /usr/include/sys/sysmacros.hclnt_perror.o: ../rpc/auth.hclnt_perror.o: ../rpc/clnt.hclnt_raw.c:clnt_raw.o: clnt_raw.cclnt_raw.o: ../rpc/rpc.hclnt_raw.o: ../rpc/types.hclnt_raw.o: /usr/include/sys/types.hclnt_raw.o: /usr/include/sys/sysmacros.hclnt_raw.o: /usr/include/netinet/in.hclnt_raw.o: ../rpc/xdr.hclnt_raw.o: ../rpc/auth.hclnt_raw.o: ../rpc/clnt.hclnt_raw.o: ../rpc/rpc_msg.hclnt_raw.o: ../rpc/auth_unix.hclnt_raw.o: ../rpc/svc.hclnt_raw.o: ../rpc/svc_auth.hclnt_raw.o: /usr/include/sys/time.hclnt_raw.o: /usr/include/time.hclnt_simple.c:clnt_simple.o: clnt_simple.cclnt_simple.o: /usr/include/stdio.hclnt_simple.o: ../rpc/rpc.hclnt_simple.o: ../rpc/types.hclnt_simple.o: /usr/include/sys/types.hclnt_simple.o: /usr/include/sys/sysmacros.hclnt_simple.o: /usr/include/netinet/in.hclnt_simple.o: ../rpc/xdr.hclnt_simple.o: ../rpc/auth.hclnt_simple.o: ../rpc/clnt.hclnt_simple.o: ../rpc/rpc_msg.hclnt_simple.o: ../rpc/auth_unix.hclnt_simple.o: ../rpc/svc.hclnt_simple.o: ../rpc/svc_auth.hclnt_simple.o: /usr/include/sys/socket.hclnt_simple.o: /usr/include/sys/time.hclnt_simple.o: /usr/include/time.hclnt_simple.o: /usr/include/netdb.hclnt_simple.o: /usr/include/strings.hclnt_tcp.c:clnt_tcp.o: clnt_tcp.cclnt_tcp.o: /usr/include/stdio.hclnt_tcp.o: ../rpc/rpc.hclnt_tcp.o: ../rpc/types.hclnt_tcp.o: /usr/include/sys/types.hclnt_tcp.o: /usr/include/sys/sysmacros.hclnt_tcp.o: /usr/include/netinet/in.hclnt_tcp.o: ../rpc/xdr.hclnt_tcp.o: ../rpc/auth.hclnt_tcp.o: ../rpc/clnt.hclnt_tcp.o: ../rpc/rpc_msg.hclnt_tcp.o: ../rpc/auth_unix.hclnt_tcp.o: ../rpc/svc.hclnt_tcp.o: ../rpc/svc_auth.hclnt_tcp.o: /usr/include/sys/socket.hclnt_tcp.o: /usr/include/sys/time.hclnt_tcp.o: /usr/include/time.hclnt_tcp.o: /usr/include/netdb.hclnt_tcp.o: /usr/include/errno.hclnt_tcp.o: /usr/include/sys/errno.hclnt_tcp.o: ../rpc/pmap_clnt.hclnt_udp.c:clnt_udp.o: clnt_udp.cclnt_udp.o: /usr/include/stdio.hclnt_udp.o: ../rpc/rpc.hclnt_udp.o: ../rpc/types.hclnt_udp.o: /usr/include/sys/types.hclnt_udp.o: /usr/include/sys/sysmacros.hclnt_udp.o: /usr/include/netinet/in.hclnt_udp.o: ../rpc/xdr.hclnt_udp.o: ../rpc/auth.hclnt_udp.o: ../rpc/clnt.hclnt_udp.o: ../rpc/rpc_msg.hclnt_udp.o: ../rpc/auth_unix.hclnt_udp.o: ../rpc/svc.hclnt_udp.o: ../rpc/svc_auth.hclnt_udp.o: /usr/include/sys/socket.hclnt_udp.o: /usr/include/sys/time.hclnt_udp.o: /usr/include/time.hclnt_udp.o: /usr/include/sys/ioctl.hclnt_udp.o: /usr/include/sys/ttychars.hclnt_udp.o: /usr/include/sys/ttydev.hclnt_udp.o: /usr/include/netdb.hclnt_udp.o: /usr/include/errno.hclnt_udp.o: /usr/include/sys/errno.hclnt_udp.o: ../rpc/pmap_clnt.hget_myaddress.c:get_myaddress.o: get_myaddress.cget_myaddress.o: ../rpc/types.hget_myaddress.o: /usr/include/sys/types.hget_myaddress.o: /usr/include/sys/sysmacros.hget_myaddress.o: ../rpc/pmap_prot.hget_myaddress.o: /usr/include/sys/socket.hget_myaddress.o: /usr/include/stdio.hget_myaddress.o: /usr/include/net/if.hget_myaddress.o: /usr/include/sys/ioctl.hget_myaddress.o: /usr/include/sys/ttychars.hget_myaddress.o: /usr/include/sys/ttydev.hget_myaddress.o: /usr/include/arpa/inet.hget_myaddress.o: /usr/include/netinet/in.hkey_call.c:key_call.o: key_call.ckey_call.o: /usr/include/sys/param.hkey_call.o: /usr/include/machine/param.hkey_call.o: /usr/include/sys/signal.hkey_call.o: /usr/include/sys/types.hkey_call.o: /usr/include/sys/sysmacros.hkey_call.o: /usr/include/sys/socket.hkey_call.o: /usr/include/sys/time.hkey_call.o: /usr/include/time.hkey_call.o: ../rpc/rpc.hkey_call.o: ../rpc/types.hkey_call.o: /usr/include/sys/types.hkey_call.o: /usr/include/netinet/in.hkey_call.o: ../rpc/xdr.hkey_call.o: ../rpc/auth.hkey_call.o: ../rpc/clnt.hkey_call.o: ../rpc/rpc_msg.hkey_call.o: ../rpc/auth_unix.hkey_call.o: ../rpc/svc.hkey_call.o: ../rpc/svc_auth.hkey_call.o: ../rpc/key_prot.hkey_call.o: /usr/include/stdio.hkey_call.o: /usr/include/sys/wait.hkey_prot.c:key_prot.o: key_prot.ckey_prot.o: ../rpc/rpc.hkey_prot.o: ../rpc/types.hkey_prot.o: /usr/include/sys/types.hkey_prot.o: /usr/include/sys/sysmacros.hkey_prot.o: /usr/include/netinet/in.hkey_prot.o: ../rpc/xdr.hkey_prot.o: ../rpc/auth.hkey_prot.o: ../rpc/clnt.hkey_prot.o: ../rpc/rpc_msg.hkey_prot.o: ../rpc/auth_unix.hkey_prot.o: ../rpc/svc.hkey_prot.o: ../rpc/svc_auth.hkey_prot.o: ../rpc/key_prot.hkey_prot.o: /usr/include/sys/param.hkey_prot.o: /usr/include/machine/param.hkey_prot.o: /usr/include/sys/signal.hkey_prot.o: /usr/include/sys/types.hnetname.c:netname.o: netname.cnetname.o: /usr/include/sys/param.hnetname.o: /usr/include/machine/param.hnetname.o: /usr/include/sys/signal.hnetname.o: /usr/include/sys/types.hnetname.o: /usr/include/sys/sysmacros.hnetname.o: ../rpc/rpc.hnetname.o: ../rpc/types.hnetname.o: /usr/include/sys/types.hnetname.o: /usr/include/netinet/in.hnetname.o: ../rpc/xdr.hnetname.o: ../rpc/auth.hnetname.o: ../rpc/clnt.hnetname.o: ../rpc/rpc_msg.hnetname.o: ../rpc/auth_unix.hnetname.o: ../rpc/svc.hnetname.o: ../rpc/svc_auth.hnetname.o: /usr/include/ctype.hnetname.o: /usr/include/netdb.hopenchild.c:openchild.o: openchild.copenchild.o: /usr/include/stdio.hrtime.c:rtime.o: rtime.crtime.o: /usr/include/sys/types.hrtime.o: /usr/include/sys/sysmacros.hrtime.o: /usr/include/sys/socket.hrtime.o: /usr/include/sys/time.hrtime.o: /usr/include/time.hrtime.o: /usr/include/sys/errno.hrtime.o: /usr/include/netinet/in.hrtime.o: /usr/include/stdio.hpmap_clnt.c:pmap_clnt.o: pmap_clnt.cpmap_clnt.o: ../rpc/rpc.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -