xref: /illumos-gate/usr/src/cmd/acpihpd/Makefile.targ (revision a31148363f598def767ac48c5d82e1572e44b935)
1*a3114836SGerry Liu#
2*a3114836SGerry Liu# CDDL HEADER START
3*a3114836SGerry Liu#
4*a3114836SGerry Liu# The contents of this file are subject to the terms of the
5*a3114836SGerry Liu# Common Development and Distribution License (the "License").
6*a3114836SGerry Liu# You may not use this file except in compliance with the License.
7*a3114836SGerry Liu#
8*a3114836SGerry Liu# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*a3114836SGerry Liu# or http://www.opensolaris.org/os/licensing.
10*a3114836SGerry Liu# See the License for the specific language governing permissions
11*a3114836SGerry Liu# and limitations under the License.
12*a3114836SGerry Liu#
13*a3114836SGerry Liu# When distributing Covered Code, include this CDDL HEADER in each
14*a3114836SGerry Liu# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*a3114836SGerry Liu# If applicable, add the following below this CDDL HEADER, with the
16*a3114836SGerry Liu# fields enclosed by brackets "[]" replaced with your own identifying
17*a3114836SGerry Liu# information: Portions Copyright [yyyy] [name of copyright owner]
18*a3114836SGerry Liu#
19*a3114836SGerry Liu# CDDL HEADER END
20*a3114836SGerry Liu#
21*a3114836SGerry Liu#
22*a3114836SGerry Liu# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*a3114836SGerry Liu# Use is subject to license terms.
24*a3114836SGerry Liu#
25*a3114836SGerry Liu# Copyright (c) 2010, Intel Corporation.
26*a3114836SGerry Liu# All rights reserved.
27*a3114836SGerry Liu#
28*a3114836SGerry Liu# cmd/acpihpd/Makefile.targ
29*a3114836SGerry Liu#
30*a3114836SGerry Liu
31*a3114836SGerry Liu.KEEP_STATE:
32*a3114836SGerry Liu
33*a3114836SGerry Liuall: $(LIBS)
34*a3114836SGerry Liu
35*a3114836SGerry Liuclean:
36*a3114836SGerry Liu	$(RM) $(OBJS)
37*a3114836SGerry Liu
38*a3114836SGerry Liulint:
39*a3114836SGerry Liu	$(LINT.c) $(SRCS) $(LDLIBS)
40*a3114836SGerry Liu
41*a3114836SGerry Liu$(LIBS): $(OBJS)
42*a3114836SGerry Liu	$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
43*a3114836SGerry Liu	$(POST_PROCESS)
44*a3114836SGerry Liu
45*a3114836SGerry Liu%.o:	../%.c
46*a3114836SGerry Liu	$(COMPILE.c) $<
47*a3114836SGerry Liu	$(POST_PROCESS_O)
48*a3114836SGerry Liu
49*a3114836SGerry Liu$(USR_PLAT_DIR):
50*a3114836SGerry Liu	-$(INS.dir)
51*a3114836SGerry Liu
52*a3114836SGerry Liu$(USR_PSM_DIR):	$(USR_PLAT_DIR)
53*a3114836SGerry Liu	-$(INS.dir)
54*a3114836SGerry Liu
55*a3114836SGerry Liu$(USR_PSM_LIB_DIR):	$(USR_PSM_DIR)
56*a3114836SGerry Liu	-$(INS.dir)
57*a3114836SGerry Liu
58*a3114836SGerry Liu$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
59*a3114836SGerry Liu	$(INS.file)
60*a3114836SGerry Liu
61*a3114836SGerry Liuinclude ../../Makefile.targ
62*a3114836SGerry Liu
63