Makefile (7014882c6a3672fd0e5d60200af8643ae53c5928) Makefile (2aeafac3612e19716bf8164f89c3c9196342979c)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 11 unchanged lines hidden (view full) ---

20#
21
22#
23# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24# Use is subject to license terms.
25#
26# cmd/rpcgen/Makefile
27
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 11 unchanged lines hidden (view full) ---

20#
21
22#
23# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24# Use is subject to license terms.
25#
26# cmd/rpcgen/Makefile
27
28PROG= rpcgen
29
30
31OBJS= rpc_clntout.o rpc_cout.o rpc_hout.o rpc_main.o rpc_parse.o \
32 rpc_scan.o rpc_svcout.o rpc_tblout.o rpc_util.o rpc_sample.o
33SRCS= $(OBJS:%.o=%.c)
34
35include ../Makefile.cmd
28include ../Makefile.cmd
29include Makefile.common
36
30
37LDLIBS +=
38CFLAGS += $(CCVERBOSE)
39CERRWARN += -_gcc=-Wno-switch
40CERRWARN += -_gcc=-Wno-parentheses
41CERRWARN += -_gcc=-Wno-char-subscripts
42
43.KEEP_STATE:
44
31.KEEP_STATE:
32
45all: $(PROG)
33all: $(PROG)
46
47$(PROG): $(OBJS)
48 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
49 $(POST_PROCESS)
50
51install: all $(ROOTPROG)
52
53clean:
54 $(RM) $(OBJS)
55
34
35$(PROG): $(OBJS)
36 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
37 $(POST_PROCESS)
38
39install: all $(ROOTPROG)
40
41clean:
42 $(RM) $(OBJS)
43
56lint: lint_SRCS
57
58include ../Makefile.targ
44include ../Makefile.targ