Cross Reference: /illumos-gate/usr/src/cmd/xntpd/ntpq/Makefile
Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
PROG=ntpq
all: $(PROG)
include ../../Makefile.cmd
include ../Makefile.cmd
.KEEP_STATE:
.PARALLEL:
CLOBBERFILES = $(ROOTUSRSBINPROG)
install: all $(ROOTUSRSBINPROG)
clean:
include ../../Makefile.targ
LDLIBS += $(LIBS) ../$(LIBNTP_A)
OBJS= ntpq.o ntpq_ops.o version.o
SOURCE= ntpq.c ntpq_ops.c
$(PROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
lint:
$(LINT.c) -x -u $(DEFS) $(INCL) $(SOURCE) $(LDLIBS)
clean:
$(RM) $(OBJS) $(PROG) lint.errs