xref: /titanic_50/usr/src/cmd/zic/Makefile (revision 5d0e1406420f52cc4d3d0543044034c4894b5865)
1#
2# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5
6include		$(SRC)/cmd/Makefile.cmd
7include		$(SRC)/cmd/Makefile.ctf
8include		$(SRC)/cmd/zic/Makefile.common
9
10KSHPROG=	tzselect
11ROOTKSHPROG=	$(ROOTBIN)/$(KSHPROG)
12CLOBBERFILES +=	$(KSHPROG)
13
14# Message catalog
15POFILE2=	tzselect.po
16TEXT_DOMAIN2=	SUNW_OST_ZONEINFO
17MSGDOMAIN2=	$(MSGROOT)/$(TEXT_DOMAIN2)
18
19.KEEP_STATE:
20
21all:		$(PROG) $(KSHPROG)
22
23$(PROG):	$(OBJS)
24		$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
25		$(POST_PROCESS)
26
27install:	all $(ROOTUSRSBINPROG) $(ROOTKSHPROG)
28
29clean:
30		$(RM) $(OBJS)
31
32lint:		lint_SRCS
33
34include		$(SRC)/cmd/Makefile.targ
35