xref: /onnv-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/Makefile (revision 8192:1e71c4032126)
14126Szf162725#
24126Szf162725# CDDL HEADER START
34126Szf162725#
44126Szf162725# The contents of this file are subject to the terms of the
54126Szf162725# Common Development and Distribution License (the "License").
64126Szf162725# You may not use this file except in compliance with the License.
74126Szf162725#
84126Szf162725# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94126Szf162725# or http://www.opensolaris.org/os/licensing.
104126Szf162725# See the License for the specific language governing permissions
114126Szf162725# and limitations under the License.
124126Szf162725#
134126Szf162725# When distributing Covered Code, include this CDDL HEADER in each
144126Szf162725# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154126Szf162725# If applicable, add the following below this CDDL HEADER, with the
164126Szf162725# fields enclosed by brackets "[]" replaced with your own identifying
174126Szf162725# information: Portions Copyright [yyyy] [name of copyright owner]
184126Szf162725#
194126Szf162725# CDDL HEADER END
204126Szf162725#
21*7249Sff224033# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
224126Szf162725# Use is subject to license terms.
234126Szf162725#
244126Szf162725
254126Szf162725PROG =		wpad
264126Szf162725MANIFEST =	wpa.xml
274126Szf162725OBJS =		wpa_supplicant.o wpa.o wpa_enc.o eloop.o \
284126Szf162725		driver_wifi.o l2_packet.o
294126Szf162725SRCS = 		$(OBJS:%.o=%.c)
304126Szf162725
314126Szf162725include	../../../Makefile.cmd
324126Szf162725
334126Szf162725ROOTMANIFESTDIR = $(ROOTSVCNETWORK)
344126Szf162725
354126Szf162725LDLIBS    += 	-ldladm -ldlpi
364126Szf162725all install := LDLIBS += -lcrypto
374126Szf162725
38*7249Sff224033LINTFLAGS += 	-u
394126Szf162725
404126Szf162725.KEEP_STATE:
414126Szf162725
424126Szf162725all:		$(PROG)
434126Szf162725
444126Szf162725$(PROG):	$(OBJS)
454126Szf162725		$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
464126Szf162725		$(POST_PROCESS)
474126Szf162725
484126Szf162725include ../Makefile.lib
494126Szf162725
504126Szf162725install:	all $(ROOTLIBINETPROG) $(ROOTMANIFEST)
514126Szf162725
524126Szf162725check:		$(CHKMANIFEST)
534126Szf162725
544126Szf162725clean:
554126Szf162725		$(RM) $(OBJS)
564126Szf162725
574126Szf162725lint:		lint_SRCS
584126Szf162725
594126Szf162725include ../../../Makefile.targ
60