1# 2# This file and its contents are supplied under the terms of the 3# Common Development and Distribution License ("CDDL"), version 1.0. 4# You may only use this file in accordance with the terms of version 5# 1.0 of the CDDL. 6# 7# A full copy of the text of the CDDL should have accompanied this 8# source. A copy of the CDDL is also available via the Internet at 9# http://www.illumos.org/license/CDDL. 10# 11# Copyright 2016 Toomas Soome <tsoome@me.com> 12# 13 14include ../Makefile.com 15 16OBJS += getresponse.o 17SRCS += $(SRC)/common/util/getresponse.c 18 19CPPFLAGS += -I../../common -I$(SRC)/common/util 20LDLIBS += -ladm -lfdisk -lefi -lfstyp -luuid -lumem 21 22.KEEP_STATE: 23 24all: 25 26$(PROG): $(OBJS) 27 28%.o: $(SRC)/common/util/%.c 29 $(COMPILE.c) $(OUTPUT_OPTION) $< 30 31include $(SRC)/cmd/boot/Makefile.targ 32