Makefile revision a9cb953c2b4375a6f08dd835c3394fe354138e94
0N/A#
328N/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.
180N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
180N/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#
0N/A# CDDL HEADER END
0N/A#
180N/A# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
180N/A#
180N/A
0N/AILBD= ilbd
0N/APROG= $(ILBD)
5N/AMANIFEST= ilbd.xml
5N/A
338N/AILBD_OBJS= ilbd_main.o ilbd_support.o ilbd_sg.o ilbd_rules.o ilbd_hc.o \
338N/A ilbd_nat.o ilbd_scf.o
338N/AILBD_SRCS= $(ILBD_OBJS:%.o=%.c)
338N/AHDRS= ilbd.h
338N/A
338N/ALIST_OBJS= list.o
338N/ALIST_SRCS= $(LIST_OBJS:%.o=../../../uts/common/os/%.c)
338N/A
338N/ALIB_INC= $(SRC)/lib/libilb/common
338N/A
338N/AOBJS= $(ILBD_OBJS) $(LIST_OBJS)
338N/ASRCS= $(ILBD_SRCS) $(LIST_SRCS)
338N/A
338N/AILBSUBDIRS= ilb
338N/A
338N/Ainclude ../../../Makefile.cmd
338N/Ainclude ../../../Makefile.ctf
338N/Ainclude ../../Makefile.cmd-inet
338N/A
338N/AROOTMANIFESTDIR= $(ROOTSVCNETWORK)/loadbalancer
338N/A
338N/ACHECKHDRS= $(HDRS:%.h=%.check)
338N/A
338N/ACPPFLAGS += -D_FILE_OFFSET_BITS=64 -I$(CMDINETCOMMONDIR) -D_REENTRANT
338N/ACPPFLAGS += -I$(LIB_INC)
338N/ACPPFLAGS += -I$(SRC)/uts/common
338N/A
338N/AC99MODE = $(C99_ENABLE)
0N/A
8N/A# I18n
0N/APOFILE = $(ILBD).po
0N/APOFILES = $(ILBD_SRCS:%.c=%.po)
0N/A
0N/Aall:= TARGET= all
0N/Ainstall:= TARGET= install
0N/Aclean:= TARGET= clean
0N/Aclobber:= TARGET= clobber
0N/Alint:= TARGET= lint
0N/A
27N/A
0N/ALDLIBS += -lsocket -lsecdb -lnsl -lilb -lscf -linetutil -lbsm
27N/A
27N/A.KEEP_STATE:
27N/A
0N/Aall: $(PROG)
0N/A
0N/A$(ILBD): $(OBJS)
0N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(CTFMERGE_HOOK)
0N/A $(POST_PROCESS)
0N/A
0N/Ainclude ../Makefile.lib
0N/A
0N/Ainstall: all $(ROOTLIBINETPROG) $(ETCILBDFILES) $(ROOTMANIFEST)
0N/A
286N/Acheck: $(CHKMANIFEST) $(CHECKHDRS)
27N/A
27N/Aclean:
27N/A $(RM) $(OBJS)
27N/A
27N/Alint:
27N/A $(LINT.c) $(ILBD_SRCS) $(LDLIBS)
27N/A
27N/A$(POFILE): $(POFILES)
27N/A $(RM) $@
32N/A $(CAT) $(POFILES) > $@
32N/A
315N/Aall install clean clobber lint: $(ILBSUBDIRS)
315N/A
311N/Ainclude ../../../Makefile.targ
311N/A
27N/A# the below is needed to get list.o built
27N/A%.o: ../../../../uts/common/os/%.c
27N/A $(COMPILE.c) -o $@ $<
27N/A $(POST_PROCESS_O)
27N/A
27N/A$(ILBSUBDIRS): FRC
27N/A @cd $@; pwd; $(MAKE) $(TARGET)
311N/A
27N/AFRC:
27N/A