Makefile revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
803N/A#
803N/A# CDDL HEADER START
803N/A#
803N/A# The contents of this file are subject to the terms of the
803N/A# Common Development and Distribution License (the "License").
803N/A# You may not use this file except in compliance with the License.
803N/A#
803N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
803N/A# or http://www.opensolaris.org/os/licensing.
803N/A# See the License for the specific language governing permissions
803N/A# and limitations under the License.
803N/A#
803N/A# When distributing Covered Code, include this CDDL HEADER in each
803N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
803N/A# If applicable, add the following below this CDDL HEADER, with the
803N/A# fields enclosed by brackets "[]" replaced with your own identifying
803N/A# information: Portions Copyright [yyyy] [name of copyright owner]
803N/A#
803N/A# CDDL HEADER END
803N/A
1459N/A#
803N/A#
803N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
803N/A# Use is subject to license terms.
899N/A#
842N/A#pragma ident "%Z%%M% %I% %E% SMI"
842N/A#
842N/A
842N/APROG = hald-addon-cpufreq
803N/AOBJS = addon-cpufreq.o logger.o adt_data.o
844N/ASRCS = addon-cpufreq.c ../../hald/logger.c ../../utils/adt_data.c
899N/A
851N/Ainclude ../../../Makefile.cmd
844N/Ainclude ../../Makefile.hal
1459N/A
1459N/AROOTCMDDIR = $(ROOTLIB_HAL)
1459N/A
844N/ALDLIBS += -lc -ldbus-1 -lhal -lglib-2.0 -ldbus-glib-1 -lpolkit -lbsm
899N/A
899N/ACPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS) $(HAL_CONFIG_CPPFLAGS)
844N/ACPPFLAGS += -I$(ROOT)/usr/include/hal -I../../hald
844N/ACPPFLAGS += -I$(ROOT)/usr/include/libpolkit -g
803N/AC99MODE = $(C99_ENABLE)
899N/A
851N/A.KEEP_STATE:
844N/A
844N/Aall:$(PROG)
899N/A
899N/Alogger.o: ../../hald/logger.c
844N/A $(COMPILE.c) -o $@ ../../hald/logger.c
803N/A $(POST_PROCESS_O)
803N/A
899N/Aadt_data.o: ../../utils/adt_data.c
898N/A $(COMPILE.c) -o $@ ../../utils/adt_data.c
842N/A $(POST_PROCESS_O)
899N/A
899N/A$(PROG): $(OBJS)
883N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
842N/A $(POST_PROCESS)
803N/A
803N/Ainstall: all $(ROOTCMD)
899N/A
851N/Aclean:
842N/A $(RM) $(OBJS)
842N/A
899N/AFRC:
803N/A
1481N/Ainclude ../../../Makefile.targ
842N/A