1 # 2 # CDDL HEADER START 3 # 4 # The contents of this file are subject to the terms of the 5 # Common Development and Distribution License, Version 1.0 only 6 # (the "License"). You may not use this file except in compliance 7 # with the License. 8 # 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 # or http://www.opensolaris.org/os/licensing. 11 # See the License for the specific language governing permissions 12 # and limitations under the License. 13 # 14 # When distributing Covered Code, include this CDDL HEADER in each 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 # If applicable, add the following below this CDDL HEADER, with the 17 # fields enclosed by brackets "[]" replaced with your own identifying 18 # information: Portions Copyright [yyyy] [name of copyright owner] 19 # 20 # CDDL HEADER END 21 # 22 # 23 # Copyright 1990-2003 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 27 LIBRARY = liblpflt.a 28 29 OBJECTS = conv.o \ 30 delfilter.o \ 31 dumpfilters.o \ 32 freefilter.o \ 33 getfilter.o \ 34 filtertable.o \ 35 insfilter.o \ 36 loadfilters.o \ 37 putfilter.o \ 38 regex.o \ 39 search.o \ 40 trash.o 41 42 include ../../Makefile.lp 43 44 include ../../../../lib/Makefile.lib 45 46 # Specifically request the construction of a static library. 47 # This library is not installed in the proto area. 48 LIBS = $(LIBRARY) 49 50 CPPFLAGS = -I../../include $(CPPFLAGS.master) 51 52 CERRWARN += -_gcc=-Wno-uninitialized 53 CERRWARN += -_gcc=-Wno-parentheses 54 55 POFILE = lp_lib_filters.po 56 57 .KEEP_STATE: 58 59 all install : $(LIBS) 60 61 include ../../../../lib/Makefile.targ 62 63 CLEANFILES += llib-llpflt.ln 64 LINTFLAGS = -nvx 65 SRCS= $(OBJECTS:%.o=%.c) 66 67 lint: lintlib 68 $(LINT.c) $(LINTFLAGS) $(SRCS) 69 70 lintlib: 71 $(LINT.c) $(LINTFLAGS) -o lpflt llib-llpflt 72 73 include ../Makefile.msg