xref: /titanic_44/usr/src/tools/zic/Makefile (revision 45ba3153cd6c019703d2e98425b7cae2b12b5f21)
1*45ba3153SMarcel Telka#
2*45ba3153SMarcel Telka# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
3*45ba3153SMarcel Telka# Use is subject to license terms.
4*45ba3153SMarcel Telka#
5*45ba3153SMarcel Telka
6*45ba3153SMarcel TelkaCMDDIR=		$(SRC)/cmd/zic
7*45ba3153SMarcel Telka
8*45ba3153SMarcel Telkainclude		$(SRC)/tools/Makefile.tools
9*45ba3153SMarcel Telkainclude		$(CMDDIR)/Makefile.common
10*45ba3153SMarcel Telka
11*45ba3153SMarcel TelkaCPPFLAGS +=	-I$(CMDDIR)
12*45ba3153SMarcel Telka
13*45ba3153SMarcel Telka.KEEP_STATE:
14*45ba3153SMarcel Telka
15*45ba3153SMarcel Telkaall:		$(PROG)
16*45ba3153SMarcel Telka
17*45ba3153SMarcel Telka$(PROG):	$(OBJS)
18*45ba3153SMarcel Telka		$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
19*45ba3153SMarcel Telka		$(POST_PROCESS)
20*45ba3153SMarcel Telka
21*45ba3153SMarcel Telka%.o:		$(CMDDIR)/%.c
22*45ba3153SMarcel Telka		$(COMPILE.c) -o $@ $<
23*45ba3153SMarcel Telka
24*45ba3153SMarcel Telkainstall:	all $(ROOTONBLDMACHPROG)
25*45ba3153SMarcel Telka
26*45ba3153SMarcel Telkaclean:
27*45ba3153SMarcel Telka		$(RM) $(PROG) $(OBJS)
28*45ba3153SMarcel Telka
29*45ba3153SMarcel Telkainclude		$(SRC)/tools/Makefile.targ
30