Makefile revision a9cdd230b919bed578c1fe3dcfd259269322fe34
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2012 Milan Jurik. All rights reserved.
#
OBJS = \
dict.o \
env.o \
expand.o \
file.o \
fork.o \
graph.o \
libscf.o \
log.o \
method.o \
misc.o \
startd.o \
wait.o \
proc.o \
proc.c \
proc.po \
include ../../Makefile.cmd
include ../../Makefile.ctf
CFLAGS += -v
%.o: ../common/%.c
$(COMPILE.c) $(OUTPUT_OPTION) $<
$(LINT.c) $(OUTPUT_OPTION) -c $<
LDLIBS += \
-lcontract \
-lkstat \
-lmd5 \
-lnvpair \
-lrestart \
-lscf \
-lsysevent \
-lumem \
LDLIBS_i386 += -lgrubmgmt
FILEMODE = 0555
# lint doesn't like the unused _umem_*_init()
# And lint thinks uadmin() is undefined.
$(POST_PROCESS)
include ../../Makefile.targ