Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
227 dpurdie 1
# Sun RPC is a product of Sun Microsystems, Inc. and is provided for
2
# unrestricted use provided that this legend is included on all tape
3
# media and as a part of the software program in whole or part.  Users
4
# may copy or modify Sun RPC without charge, but are not authorized
5
# to license or distribute it to anyone else except as part of a product or
6
# program developed by the user or with the express written consent of
7
# Sun Microsystems, Inc.
8
#
9
# SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
10
# WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
11
# PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
12
#
13
# Sun RPC is provided with no support and without any obligation on the
14
# part of Sun Microsystems, Inc. to assist in its use, correction,
15
# modification or enhancement.
16
#
17
# SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
18
# INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
19
# OR ANY PART THEREOF.
20
#
21
# In no event will Sun Microsystems, Inc. be liable for any lost revenue
22
# or profits or other special, indirect and consequential damages, even if
23
# Sun has been advised of the possibility of such damages.
24
#
25
# Sun Microsystems, Inc.
26
# 2550 Garcia Avenue
27
# Mountain View, California  94043
28
# 
29
#	@(#)Makefile 1.14 89/03/30 (C) 1987 SMI <MODIFIED>
30
#
31
# Makefile for rpc protocol compiler
32
# Copyright (C) 1987, Sun Microsystems, Inc.
33
#
34
 
35
CFLAGS = -O $(CPPFLAGS)
36
 
37
STRIP = strip
38
 
39
SIZE = size
40
 
41
DIR = $(DESTDIR)/bin
42
 
43
INS = install
44
 
45
LIBS =  -lc
46
 
47
MAINS = rpcgen.new
48
 
49
OBJECTS = rpc_clntout.o rpc_cout.o rpc_hout.o rpc_main.o rpc_parse.o \
50
  	  rpc_scan.o rpc_svcout.o rpc_tblout.o rpc_util.o rpc_sample.o
51
 
52
ALL:	$(MAINS)
53
 
54
$(MAINS): $(OBJECTS)
55
	$(CC) $(CFLAGS) -o $@ $(OBJECTS)  $(LIBS)
56
 
57
clean:
58
	rm -f $(OBJECTS)
59
 
60
clobber:
61
	rm -f $(OBJECTS) $(MAINS)
62
 
63
all : ALL
64
 
65
install: ALL
66
	@if [ ! -d $(DIR) ] ; \
67
	then \
68
		mkdir $(DIR); \
69
	fi
70
	$(INS) -m 0555 -o bin -g bin $(MAINS) $(DIR)
71
 
72
size: ALL
73
	$(SIZE) $(MAINS)
74
 
75
strip: ALL
76
	$(STRIP) $(MAINS)