10c946d80SToomas Soome# 20c946d80SToomas Soome# This file and its contents are supplied under the terms of the 30c946d80SToomas Soome# Common Development and Distribution License ("CDDL"), version 1.0. 40c946d80SToomas Soome# You may only use this file in accordance with the terms of version 50c946d80SToomas Soome# 1.0 of the CDDL. 60c946d80SToomas Soome# 70c946d80SToomas Soome# A full copy of the text of the CDDL should have accompanied this 80c946d80SToomas Soome# source. A copy of the CDDL is also available via the Internet at 90c946d80SToomas Soome# http://www.illumos.org/license/CDDL. 100c946d80SToomas Soome# 110c946d80SToomas Soome# Copyright 2016 Toomas Soome <tsoome@me.com> 120c946d80SToomas Soome# 130c946d80SToomas Soome 140c946d80SToomas Soomeinclude ../Makefile.com 150c946d80SToomas Soome 160c946d80SToomas SoomeOBJS += getresponse.o 170c946d80SToomas SoomeSRCS += $(SRC)/common/util/getresponse.c 180c946d80SToomas Soome 19bdecfb1eSToomas SoomeCPPFLAGS += -I../../common -I$(SRC)/common/util 20*d7802caeSToomas SoomeLDLIBS += -ladm -lfdisk -lefi -lfstyp -luuid -lumem 210c946d80SToomas Soome 220c946d80SToomas Soome# getresponse.c and libfdisk.c need this 230c946d80SToomas SoomeLINTFLAGS += \ 240c946d80SToomas Soome -xerroff=E_NAME_DEF_NOT_USED2 250c946d80SToomas Soome 260c946d80SToomas Soome.KEEP_STATE: 270c946d80SToomas Soome 280c946d80SToomas Soomeall: 290c946d80SToomas Soome 300c946d80SToomas Soome$(PROG): $(OBJS) 310c946d80SToomas Soome 320c946d80SToomas Soome%.o: $(SRC)/common/util/%.c 330c946d80SToomas Soome $(COMPILE.c) $(OUTPUT_OPTION) $< 340c946d80SToomas Soome 350c946d80SToomas Soomeinclude $(SRC)/cmd/boot/Makefile.targ 36