xref: /titanic_51/usr/src/cmd/boot/installboot/i386/Makefile (revision 4c1177a46d4d850e30806d4e27d635527bba8e90)
1*4c1177a4SToomas Soome#
2*4c1177a4SToomas Soome# This file and its contents are supplied under the terms of the
3*4c1177a4SToomas Soome# Common Development and Distribution License ("CDDL"), version 1.0.
4*4c1177a4SToomas Soome# You may only use this file in accordance with the terms of version
5*4c1177a4SToomas Soome# 1.0 of the CDDL.
6*4c1177a4SToomas Soome#
7*4c1177a4SToomas Soome# A full copy of the text of the CDDL should have accompanied this
8*4c1177a4SToomas Soome# source.  A copy of the CDDL is also available via the Internet at
9*4c1177a4SToomas Soome# http://www.illumos.org/license/CDDL.
10*4c1177a4SToomas Soome#
11*4c1177a4SToomas Soome# Copyright 2016 Toomas Soome <tsoome@me.com>
12*4c1177a4SToomas Soome#
13*4c1177a4SToomas Soome
14*4c1177a4SToomas Soomeinclude ../Makefile.com
15*4c1177a4SToomas Soome
16*4c1177a4SToomas SoomeOBJS +=		getresponse.o
17*4c1177a4SToomas SoomeSRCS +=		$(SRC)/common/util/getresponse.c
18*4c1177a4SToomas Soome
19*4c1177a4SToomas SoomeCPPFLAGS +=	-I$(SRC)/common/util
20*4c1177a4SToomas SoomeLDLIBS +=	-lfdisk -lefi -lfstyp -luuid
21*4c1177a4SToomas Soome
22*4c1177a4SToomas Soome# getresponse.c and libfdisk.c need this
23*4c1177a4SToomas SoomeLINTFLAGS += \
24*4c1177a4SToomas Soome	-xerroff=E_NAME_DEF_NOT_USED2
25*4c1177a4SToomas Soome
26*4c1177a4SToomas Soome.KEEP_STATE:
27*4c1177a4SToomas Soome
28*4c1177a4SToomas Soomeall:
29*4c1177a4SToomas Soome
30*4c1177a4SToomas Soome$(PROG): $(OBJS)
31*4c1177a4SToomas Soome
32*4c1177a4SToomas Soome%.o:	$(SRC)/common/util/%.c
33*4c1177a4SToomas Soome	$(COMPILE.c) $(OUTPUT_OPTION) $<
34*4c1177a4SToomas Soome
35*4c1177a4SToomas Soomeinclude $(SRC)/cmd/boot/Makefile.targ
36