17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 #
20 # CDDL HEADER END
21 #
22 #
23 # Copyright (c) 1989 by Sun Microsystems, Inc.
24 #
25
26 PROG= dfshares
27
28 OBJS= dfshares.o
29
30 ROOTLINK= $(ROOTUSRSBIN)/dfmounts
31
32 CFLAGS += -s
33
34 include ../../Makefile.cmd
35
36 CERRWARN += -_gcc=-Wno-parentheses
37 CERRWARN += -_gcc=-Wno-uninitialized
38
39 .KEEP_STATE:
40
41 all: $(PROG)
42
43 $(PROG): dfshares.o
44 $(LINK.c) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
45 $(POST_PROCESS)
46
47 install: all $(ROOTUSRSBINPROG) $(ROOTLINK)
48
49 $(ROOTLINK): $(ROOTUSRSBINPROG)
50 $(RM) $@; $(LN) $(ROOTUSRSBINPROG) $@
51
52 clean:
53 $(RM) $(OBJS)
54
55 lint: lint_PROG
56
57 include ../../Makefile.targ
|
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 #
20 # CDDL HEADER END
21 #
22 #
23 # Copyright (c) 1989 by Sun Microsystems, Inc.
24 #
25
26 PROG= dfshares
27
28 OBJS= dfshares.o
29
30 ROOTLINK= $(ROOTUSRSBIN)/dfmounts
31
32 CFLAGS += -s
33
34 include ../../Makefile.cmd
35
36 CERRWARN += -_gcc=-Wno-parentheses
37 CERRWARN += $(CNOWARN_UNINIT)
38
39 .KEEP_STATE:
40
41 all: $(PROG)
42
43 $(PROG): dfshares.o
44 $(LINK.c) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
45 $(POST_PROCESS)
46
47 install: all $(ROOTUSRSBINPROG) $(ROOTLINK)
48
49 $(ROOTLINK): $(ROOTUSRSBINPROG)
50 $(RM) $@; $(LN) $(ROOTUSRSBINPROG) $@
51
52 clean:
53 $(RM) $(OBJS)
54
55 lint: lint_PROG
56
57 include ../../Makefile.targ
|