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 RosenfeldC99LMODE = -Xc99=%all 25*eb9a1df2SHans Rosenfeld 26*eb9a1df2SHans RosenfeldCLEANFILES += $(OBJS) 27*eb9a1df2SHans Rosenfeld 28*eb9a1df2SHans Rosenfeld.KEEP_STATE: 29*eb9a1df2SHans Rosenfeld 30*eb9a1df2SHans Rosenfeldall: $(OBJS) $(PROG) 31*eb9a1df2SHans Rosenfeld 32*eb9a1df2SHans Rosenfeldinstall: all $(ROOTUSRSBINPROG) 33*eb9a1df2SHans Rosenfeld 34*eb9a1df2SHans Rosenfeldclean: 35*eb9a1df2SHans Rosenfeld -$(RM) $(CLEANFILES) 36*eb9a1df2SHans Rosenfeld 37*eb9a1df2SHans Rosenfeldlint: lint_SRCS 38*eb9a1df2SHans Rosenfeld 39*eb9a1df2SHans Rosenfeld%.o: ../%.c 40*eb9a1df2SHans Rosenfeld $(COMPILE.c) $< 41*eb9a1df2SHans Rosenfeld $(POST_PROCESS_O) 42*eb9a1df2SHans Rosenfeld 43*eb9a1df2SHans Rosenfeldinclude ../Makefile.targ 44