17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 545916cd2Sjpk# Common Development and Distribution License (the "License"). 645916cd2Sjpk# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 2045916cd2Sjpk 2145916cd2Sjpk 227c478bd9Sstevel@tonic-gate# 237c478bd9Sstevel@tonic-gate# 2424da5b34Srie# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 257c478bd9Sstevel@tonic-gate# Use is subject to license terms. 267c478bd9Sstevel@tonic-gate# 277c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 287c478bd9Sstevel@tonic-gate# 297c478bd9Sstevel@tonic-gate# cmd/lp/lib/lp/Makefile 307c478bd9Sstevel@tonic-gate# 317c478bd9Sstevel@tonic-gate 327c478bd9Sstevel@tonic-gateLIBRARY = liblp.a 337c478bd9Sstevel@tonic-gate 347c478bd9Sstevel@tonic-gateOBJECTS = Syscalls.o \ 357c478bd9Sstevel@tonic-gate Sys_malloc.o \ 367c478bd9Sstevel@tonic-gate addlist.o \ 377c478bd9Sstevel@tonic-gate addstring.o \ 387c478bd9Sstevel@tonic-gate appendlist.o \ 397c478bd9Sstevel@tonic-gate alerts.o \ 407c478bd9Sstevel@tonic-gate charset.o \ 417c478bd9Sstevel@tonic-gate cs_strcmp.o \ 427c478bd9Sstevel@tonic-gate cs_strncmp.o \ 437c478bd9Sstevel@tonic-gate dellist.o \ 447c478bd9Sstevel@tonic-gate dashos.o \ 457c478bd9Sstevel@tonic-gate dirs.o \ 467c478bd9Sstevel@tonic-gate duplist.o \ 477c478bd9Sstevel@tonic-gate files.o \ 487c478bd9Sstevel@tonic-gate freelist.o \ 497c478bd9Sstevel@tonic-gate getlist.o \ 507c478bd9Sstevel@tonic-gate getname.o \ 517c478bd9Sstevel@tonic-gate getpaths.o \ 527c478bd9Sstevel@tonic-gate getspooldir.o \ 537c478bd9Sstevel@tonic-gate isterminfo.o \ 547c478bd9Sstevel@tonic-gate joinlist.o \ 557c478bd9Sstevel@tonic-gate lenlist.o \ 567c478bd9Sstevel@tonic-gate lp_errno.o \ 577c478bd9Sstevel@tonic-gate makepath.o \ 587c478bd9Sstevel@tonic-gate makestr.o \ 597c478bd9Sstevel@tonic-gate mergelist.o \ 607c478bd9Sstevel@tonic-gate next.o \ 617c478bd9Sstevel@tonic-gate printlist.o \ 627c478bd9Sstevel@tonic-gate sdn.o \ 637c478bd9Sstevel@tonic-gate sprintlist.o \ 647c478bd9Sstevel@tonic-gate searchlist.o \ 657c478bd9Sstevel@tonic-gate set_charset.o \ 667c478bd9Sstevel@tonic-gate set_pitch.o \ 677c478bd9Sstevel@tonic-gate set_size.o \ 687c478bd9Sstevel@tonic-gate sop.o \ 697c478bd9Sstevel@tonic-gate strip.o \ 707c478bd9Sstevel@tonic-gate syntax.o \ 717c478bd9Sstevel@tonic-gate tidbit.o \ 7245916cd2Sjpk tx.o \ 737c478bd9Sstevel@tonic-gate wherelist.o \ 747c478bd9Sstevel@tonic-gate which.o 757c478bd9Sstevel@tonic-gate 767c478bd9Sstevel@tonic-gate 777c478bd9Sstevel@tonic-gateinclude ../../../../lib/Makefile.lib 787c478bd9Sstevel@tonic-gateinclude ../../Makefile.lp 797c478bd9Sstevel@tonic-gate 807c478bd9Sstevel@tonic-gate# Specifically request the construction of a static library. 817c478bd9Sstevel@tonic-gate# This library is not installed in the proto area. 827c478bd9Sstevel@tonic-gateLIBS = $(LIBRARY) 837c478bd9Sstevel@tonic-gate 847c478bd9Sstevel@tonic-gateCPPFLAGS = -I../../include $(CPPFLAGS.master) $(C_PICFLAGS) 857c478bd9Sstevel@tonic-gate 867c478bd9Sstevel@tonic-gatePOFILE = lp_lib_lp.po 877c478bd9Sstevel@tonic-gate 887c478bd9Sstevel@tonic-gate.KEEP_STATE: 897c478bd9Sstevel@tonic-gate 90*55fea89dSDan Crossall install : $(LIBS) 917c478bd9Sstevel@tonic-gate 927c478bd9Sstevel@tonic-gateinclude ../../../../lib/Makefile.targ 937c478bd9Sstevel@tonic-gate 947c478bd9Sstevel@tonic-gateCLEANFILES += llib-llp.ln 957c478bd9Sstevel@tonic-gateLINTFLAGS = -nvx 967c478bd9Sstevel@tonic-gateSRCS= $(OBJECTS:%.o=%.c) 97*55fea89dSDan Cross# lint does not take $(C_PICFLAGS) 987c478bd9Sstevel@tonic-gateLINT_CPPFLAGS = -I../../include $(CPPFLAGS.master) 997c478bd9Sstevel@tonic-gate 1007c478bd9Sstevel@tonic-gatelint: lintlib 1017c478bd9Sstevel@tonic-gate $(LINT) $(LINTFLAGS) $(LINT_CPPFLAGS) $(SRCS) 1027c478bd9Sstevel@tonic-gate 1037c478bd9Sstevel@tonic-gatelintlib: 1047c478bd9Sstevel@tonic-gate $(LINT) $(LINTFLAGS) $(LINT_CPPFLAGS) -o lp llib-llp 1057c478bd9Sstevel@tonic-gate 1067c478bd9Sstevel@tonic-gateinclude ../Makefile.msg 107