Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
#
# 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