1a399b765Szf162725# 2a399b765Szf162725# CDDL HEADER START 3a399b765Szf162725# 4a399b765Szf162725# The contents of this file are subject to the terms of the 5a399b765Szf162725# Common Development and Distribution License (the "License"). 6a399b765Szf162725# You may not use this file except in compliance with the License. 7a399b765Szf162725# 8a399b765Szf162725# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9a399b765Szf162725# or http://www.opensolaris.org/os/licensing. 10a399b765Szf162725# See the License for the specific language governing permissions 11a399b765Szf162725# and limitations under the License. 12a399b765Szf162725# 13a399b765Szf162725# When distributing Covered Code, include this CDDL HEADER in each 14a399b765Szf162725# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15a399b765Szf162725# If applicable, add the following below this CDDL HEADER, with the 16a399b765Szf162725# fields enclosed by brackets "[]" replaced with your own identifying 17a399b765Szf162725# information: Portions Copyright [yyyy] [name of copyright owner] 18a399b765Szf162725# 19a399b765Szf162725# CDDL HEADER END 20a399b765Szf162725# 21*ff3124efSff224033# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 22a399b765Szf162725# Use is subject to license terms. 23a399b765Szf162725# 24a399b765Szf162725 25a399b765Szf162725PROG = wpad 26a399b765Szf162725MANIFEST = wpa.xml 27a399b765Szf162725OBJS = wpa_supplicant.o wpa.o wpa_enc.o eloop.o \ 28a399b765Szf162725 driver_wifi.o l2_packet.o 29a399b765Szf162725SRCS = $(OBJS:%.o=%.c) 30a399b765Szf162725 31a399b765Szf162725include ../../../Makefile.cmd 32a399b765Szf162725 33a399b765Szf162725ROOTMANIFESTDIR = $(ROOTSVCNETWORK) 34a399b765Szf162725 35a399b765Szf162725LDLIBS += -ldladm -ldlpi 36a399b765Szf162725all install := LDLIBS += -lcrypto 37a399b765Szf162725 38*ff3124efSff224033LINTFLAGS += -u 39a399b765Szf162725 40a399b765Szf162725.KEEP_STATE: 41a399b765Szf162725 42a399b765Szf162725all: $(PROG) 43a399b765Szf162725 44a399b765Szf162725$(PROG): $(OBJS) 45a399b765Szf162725 $(LINK.c) $(OBJS) -o $@ $(LDLIBS) 46a399b765Szf162725 $(POST_PROCESS) 47a399b765Szf162725 48a399b765Szf162725include ../Makefile.lib 49a399b765Szf162725 50a399b765Szf162725install: all $(ROOTLIBINETPROG) $(ROOTMANIFEST) 51a399b765Szf162725 52a399b765Szf162725check: $(CHKMANIFEST) 53a399b765Szf162725 54a399b765Szf162725clean: 55a399b765Szf162725 $(RM) $(OBJS) 56a399b765Szf162725 57a399b765Szf162725lint: lint_SRCS 58a399b765Szf162725 59a399b765Szf162725include ../../../Makefile.targ 60