xref: /illumos-gate/usr/src/cmd/pptadm/Makefile (revision aee33e58f237f0d3cfeab24295f491937f0f7c79)
1*eb9a1df2SHans Rosenfeld#
2*eb9a1df2SHans Rosenfeld# This file and its contents are supplied under the terms of the
3*eb9a1df2SHans Rosenfeld# Common Development and Distribution License ("CDDL"), version 1.0.
4*eb9a1df2SHans Rosenfeld# You may only use this file in accordance with the terms of version
5*eb9a1df2SHans Rosenfeld# 1.0 of the CDDL.
6*eb9a1df2SHans Rosenfeld#
7*eb9a1df2SHans Rosenfeld# A full copy of the text of the CDDL should have accompanied this
8*eb9a1df2SHans Rosenfeld# source.  A copy of the CDDL is also available via the Internet at
9*eb9a1df2SHans Rosenfeld# http://www.illumos.org/license/CDDL.
10*eb9a1df2SHans Rosenfeld#
11*eb9a1df2SHans Rosenfeld# Copyright 2018 Joyent, Inc.
12*eb9a1df2SHans Rosenfeld#
13*eb9a1df2SHans Rosenfeld
14*eb9a1df2SHans RosenfeldPROG = pptadm
15*eb9a1df2SHans RosenfeldOBJS = pptadm.o
16*eb9a1df2SHans RosenfeldSRCS = $(OBJS:%.o=%.c)
17*eb9a1df2SHans Rosenfeld
18*eb9a1df2SHans Rosenfeldinclude ../Makefile.cmd
19*eb9a1df2SHans Rosenfeldinclude ../Makefile.ctf
20*eb9a1df2SHans Rosenfeld
21*eb9a1df2SHans RosenfeldLDLIBS += -lofmt -lppt -lnvpair
22*eb9a1df2SHans Rosenfeld
23*eb9a1df2SHans RosenfeldCSTD = $(CSTD_GNU99)
24*eb9a1df2SHans Rosenfeld
25*eb9a1df2SHans RosenfeldCLEANFILES += $(OBJS)
26*eb9a1df2SHans Rosenfeld
27*eb9a1df2SHans Rosenfeld.KEEP_STATE:
28*eb9a1df2SHans Rosenfeld
29*eb9a1df2SHans Rosenfeldall: $(OBJS) $(PROG)
30*eb9a1df2SHans Rosenfeld
31*eb9a1df2SHans Rosenfeldinstall: all $(ROOTUSRSBINPROG)
32*eb9a1df2SHans Rosenfeld
33*eb9a1df2SHans Rosenfeldclean:
34*eb9a1df2SHans Rosenfeld	-$(RM) $(CLEANFILES)
35*eb9a1df2SHans Rosenfeld
36*eb9a1df2SHans Rosenfeld%.o: ../%.c
37*eb9a1df2SHans Rosenfeld	$(COMPILE.c) $<
38*eb9a1df2SHans Rosenfeld	$(POST_PROCESS_O)
39*eb9a1df2SHans Rosenfeld
40*eb9a1df2SHans Rosenfeldinclude ../Makefile.targ
41