101335b0dSGarrett D'Amore# 201335b0dSGarrett D'Amore# This file and its contents are supplied under the terms of the 301335b0dSGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0. 4*5aec55ebSGarrett D'Amore# You may only use this file in accordance with the terms of version 501335b0dSGarrett D'Amore# 1.0 of the CDDL. 601335b0dSGarrett D'Amore# 701335b0dSGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this 801335b0dSGarrett D'Amore# source. A copy of the CDDL is also available via the Internet at 901335b0dSGarrett D'Amore# http://www.illumos.org/license/CDDL. 1001335b0dSGarrett D'Amore# 1101335b0dSGarrett D'Amore 1201335b0dSGarrett D'Amore# 1301335b0dSGarrett D'Amore# Copyright 2010 Nexenta Systems, Inc. All rights reserved. 1401335b0dSGarrett D'Amore# 1501335b0dSGarrett D'AmorePROG= od 1601335b0dSGarrett D'AmoreXPG4PROG= $(PROG) 1701335b0dSGarrett D'Amore 1801335b0dSGarrett D'AmoreOBJS= od.o 1901335b0dSGarrett D'AmoreSRCS= $(OBJS:%.o=%.c) 2001335b0dSGarrett D'Amore 2101335b0dSGarrett D'Amoreinclude ../Makefile.cmd 2201335b0dSGarrett D'Amore 2301335b0dSGarrett D'AmoreCLOBBERFILES= $(PROG) 2401335b0dSGarrett D'Amore 2501335b0dSGarrett D'Amore 2601335b0dSGarrett D'AmoreC99MODE= -xc99=%all 2701335b0dSGarrett D'AmoreC99LMODE= -Xc99=%all 2801335b0dSGarrett D'AmoreCPPFLAGS += -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 2901335b0dSGarrett D'AmoreLINTFLAGS += -D__EXTENSIONS__ 3001335b0dSGarrett D'Amore 3101335b0dSGarrett D'Amore# install rules 3201335b0dSGarrett D'Amore$(ROOTINC)/% : % 3301335b0dSGarrett D'Amore $(INS.file) 3401335b0dSGarrett D'Amore 3501335b0dSGarrett D'Amore.KEEP_STATE: 3601335b0dSGarrett D'Amore 3701335b0dSGarrett D'Amore.PARALLEL: $(OBJS) 3801335b0dSGarrett D'Amore 3901335b0dSGarrett D'Amoreall: $(PROG) 4001335b0dSGarrett D'Amore 4101335b0dSGarrett D'Amore$(PROG): $(OBJS) 4201335b0dSGarrett D'Amore $(LINK.c) $(OBJS) -o $@ $(LDLIBS) 4301335b0dSGarrett D'Amore $(POST_PROCESS) 4401335b0dSGarrett D'Amore 4501335b0dSGarrett D'Amoreinstall: all .WAIT $(ROOTPROG) $(ROOTXPG4PROG) 4601335b0dSGarrett D'Amore 4701335b0dSGarrett D'Amore$(ROOTXPG4PROG): 4801335b0dSGarrett D'Amore -$(RM) $@ 4901335b0dSGarrett D'Amore -$(LN) -s ../../bin/$(PROG) $@ 5001335b0dSGarrett D'Amore 5101335b0dSGarrett D'Amorelint: lint_SRCS 5201335b0dSGarrett D'Amore 5301335b0dSGarrett D'Amoreclean: 5401335b0dSGarrett D'Amore $(RM) $(OBJS) 5501335b0dSGarrett D'Amore 5601335b0dSGarrett D'Amoreinclude ../Makefile.targ 57