xref: /illumos-gate/usr/src/cmd/rdmsr/Makefile (revision 125965389c591835d37b560971900f263cc8f988)
1*12596538SJohn Levon#
2*12596538SJohn Levon# This file and its contents are supplied under the terms of the
3*12596538SJohn Levon# Common Development and Distribution License ("CDDL"), version 1.0.
4*12596538SJohn Levon# You may only use this file in accordance with the terms of version
5*12596538SJohn Levon# 1.0 of the CDDL.
6*12596538SJohn Levon#
7*12596538SJohn Levon# A full copy of the text of the CDDL should have accompanied this
8*12596538SJohn Levon# source.  A copy of the CDDL is also available via the Internet at
9*12596538SJohn Levon# http://www.illumos.org/license/CDDL.
10*12596538SJohn Levon#
11*12596538SJohn Levon
12*12596538SJohn Levon#
13*12596538SJohn Levon# Copyright 2019 Joyent, Inc.
14*12596538SJohn Levon#
15*12596538SJohn Levon
16*12596538SJohn LevonPROG = rdmsr
17*12596538SJohn Levon
18*12596538SJohn Levoninclude ../Makefile.cmd
19*12596538SJohn Levoninclude ../Makefile.cmd.64
20*12596538SJohn Levon
21*12596538SJohn Levon.KEEP_STATE:
22*12596538SJohn Levon
23*12596538SJohn LevonCPPFLAGS += -I../../uts/common
24*12596538SJohn Levon
25*12596538SJohn Levonall: $(PROG)
26*12596538SJohn Levon
27*12596538SJohn Levoninstall: all $(ROOTUSRSBINPROG)
28*12596538SJohn Levon
29*12596538SJohn Levoncheck:	$(PROG).c
30*12596538SJohn Levon	$(CSTYLE) -pP $(PROG).c
31*12596538SJohn Levon
32*12596538SJohn Levonclean:
33*12596538SJohn Levon	$(RM) $(OBJS)
34*12596538SJohn Levon
35*12596538SJohn Levoninclude ../Makefile.targ
36