Makefile revision 209e49b2ff611e7d61ff58e13756ae67f51be550
2N/A#
2N/A# This file and its contents are supplied under the terms of the
2N/A# Common Development and Distribution License ("CDDL"), version 1.0.
2N/A# You may only use this file in accordance with the terms version
2N/A# 1.0 of the CDDL.
2N/A#
2N/A# A full copy of the text of the CDDL should have accompanied this
2N/A# source. A copy is of the CDDL is also available via the Internet
2N/A# at http://www.illumos.org/license/CDDL.
2N/A#
2N/A
2N/A#
2N/A# Copyright 2010 Chris Love. All rights reserved.
2N/A#
2N/A
2N/A
2N/APROG= tail
2N/AXPG4PROG= $(PROG)
2N/A
2N/AOBJS= forward.o misc.o read.o reverse.o tail.o
2N/ASRCS= $(OBJS:%.o=%.c)
2N/A
2N/Ainclude ../Makefile.cmd
2N/A
2N/ACLOBBERFILES= $(PROG)
2N/A
2N/A
2N/AC99MODE= -xc99=%all
2N/AC99LMODE= -Xc99=%all
2N/ALINTFLAGS += -I. -erroff=E_CONSTANT_CONDITION
2N/A
2N/A# install rules
2N/A$(ROOTINC)/% : %
2N/A $(INS.file)
2N/A
2N/A.KEEP_STATE:
2N/A
2N/A.PARALLEL: $(OBJS)
2N/A
2N/Aall: $(PROG)
2N/A
2N/A$(PROG): $(OBJS)
2N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
2N/A $(POST_PROCESS)
2N/A
2N/Ainstall: all .WAIT $(ROOTPROG) $(ROOTXPG4PROG)
2N/A
2N/A$(ROOTXPG4PROG):
2N/A -$(RM) $@
2N/A -$(LN) -s ../../bin/$(PROG) $@
2N/A
2N/Alint: lint_SRCS
2N/A
2N/Aclean:
2N/A $(RM) $(OBJS)
2N/A
2N/Ainclude ../Makefile.targ
2N/A