xref: /titanic_41/usr/src/cmd/acpi/common/Makefile (revision a7cc5d6fa95b011a1d38b3930f0af4e7e5bac612)
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 Joyent, Inc.
12#
13
14LIBRARY =	acpi.a
15
16include	$(SRC)/lib/Makefile.lib
17
18OBJECTS= getopt.o osl.o utascii.o utdebug.o utexcep.o utglobal.o  utmath.o \
19	utnonansi.o utprint.o utxferror.o
20SRCS = $(OBJECTS:.o=.c)
21
22CERRWARN += -_gcc=-Wno-unused-function
23
24CPPFLAGS += -I$(SRC)/uts/intel/sys/acpi -DACPI_APPLICATION
25
26LDLIBS += -lc
27
28HSONAME=
29MAPFILES = mapfile-vers
30
31.KEEP_STATE:
32
33all: $(LIBRARY)
34
35install: all
36
37include $(SRC)/lib/Makefile.targ
38