Makefile revision dbed73cbda2229fd1aa6dc5743993cae7f0a7ee9
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
873N/A# CDDL HEADER END
0N/A#
0N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A
5085N/APROG= ilbadm
5983N/A
0N/AILB_OBJS = ilbadm.o ilbadm_sg.o ilbadm_rules.o ilbadm_hc.o
0N/AILB_OBJS += ilbadm_subr.o ilbadm_import.o ilbadm_nat.o ilbadm_stats.o
5217N/ALIST_OBJS = list.o
2086N/AOBJS = $(ILB_OBJS) $(LIST_OBJS)
0N/A
0N/AILB_SRCS= $(ILB_OBJS:.o=.c)
0N/ALIST_SRCS= $(LIST_OBJS:%.o=../../../../uts/common/os/%.c)
0N/A
0N/ASRCS= $(ILB_SRC) $(LIST_SRCS)
204N/A
204N/Ainclude ../../../Makefile.cmd
0N/Ainclude ../../Makefile.cmd-inet
0N/A
0N/ALDLIBS += -lsocket -lnsl -lilb -linetutil -lkstat
112N/ACPPFLAGS += -I$(SRC)/lib/libilb/common -I$(SRC)/uts/common
0N/A
0N/AC99MODE = $(C99_ENABLE)
0N/A
0N/A# for debug:
0N/ACFLAGS = -g
0N/ASTRIP_STABS= :
4134N/A
2109N/APOFILES = $(ILB_OBJS:%.o=%.po)
0N/APOFILE = $(PROG)_all.po
0N/A
0N/A.KEEP_STATE:
0N/A.PARALLEL:
0N/A
0N/Aall: $(PROG)
0N/A
0N/A$(PROG): $(OBJS)
1400N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
4134N/A $(POST_PROCESS)
4134N/A
1400N/A$(POFILE): $(POFILES)
2086N/A $(RM) $@
0N/A cat $(POFILES) > $@
536N/A
536N/Ainstall: all $(ROOTUSRSBINPROG)
1060N/A
0N/Aclean:
0N/A $(RM) $(OBJS) $(POFILES)
0N/A
0N/Alint: $(ILB_SRCS)
0N/A $(LINT.c) $(ILB_SRCS) $(LDLIBS)
0N/A
0N/Acheck: $(ILB_SRCS) $(PROG).h
0N/A $(CSTYLE) -pP $(ILB_SRCS) $(PROG).h
0N/A $(HDRCHK) $(PROG).h
1400N/A
1400N/Ainclude ../../../Makefile.targ
1400N/A
1400N/A# the below is needed to get list.o built
1400N/A%.o: ../../../../uts/common/os/%.c
868N/A $(COMPILE.c) -o $@ $<
0N/A $(POST_PROCESS_O)
0N/A