1*c241e583SGary Mills# 2*c241e583SGary Mills# CDDL HEADER START 3*c241e583SGary Mills# 4*c241e583SGary Mills# The contents of this file are subject to the terms of the 5*c241e583SGary Mills# Common Development and Distribution License (the "License"). 6*c241e583SGary Mills# You may not use this file except in compliance with the License. 7*c241e583SGary Mills# 8*c241e583SGary Mills# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*c241e583SGary Mills# or http://www.opensolaris.org/os/licensing. 10*c241e583SGary Mills# See the License for the specific language governing permissions 11*c241e583SGary Mills# and limitations under the License. 12*c241e583SGary Mills# 13*c241e583SGary Mills# When distributing Covered Code, include this CDDL HEADER in each 14*c241e583SGary Mills# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*c241e583SGary Mills# If applicable, add the following below this CDDL HEADER, with the 16*c241e583SGary Mills# fields enclosed by brackets "[]" replaced with your own identifying 17*c241e583SGary Mills# information: Portions Copyright [yyyy] [name of copyright owner] 18*c241e583SGary Mills# 19*c241e583SGary Mills# CDDL HEADER END 20*c241e583SGary Mills# 21*c241e583SGary Mills# 22*c241e583SGary Mills# Copyright (c) 2013 Gary Mills 23*c241e583SGary Mills# 24*c241e583SGary Mills# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 25*c241e583SGary Mills# Use is subject to license terms. 26*c241e583SGary Mills# 27*c241e583SGary Mills 28*c241e583SGary MillsLIBRARY = getloginx.a 29*c241e583SGary MillsVERS = .1 30*c241e583SGary Mills 31*c241e583SGary MillsOBJECTS = getloginx.o 32*c241e583SGary Mills 33*c241e583SGary Mills# include library definitions 34*c241e583SGary Millsinclude ../../Makefile.lib 35*c241e583SGary Mills 36*c241e583SGary MillsSRCDIR = ../common 37*c241e583SGary Mills 38*c241e583SGary MillsLIBS = $(DYNLIB) 39*c241e583SGary MillsLDLIBS += -lc 40*c241e583SGary MillsCFLAGS += $(CCVERBOSE) 41*c241e583SGary MillsCFLAGS64 += $(CCVERBOSE) 42*c241e583SGary MillsCPPFLAGS += -I../common -I../../common/inc -D_REENTRANT 43*c241e583SGary MillsDYNFLAGS += $(ZINTERPOSE) 44*c241e583SGary Mills 45*c241e583SGary Mills.KEEP_STATE: 46*c241e583SGary Mills 47*c241e583SGary Millsall: $(LIBS) 48*c241e583SGary Mills 49*c241e583SGary Millslint: 50*c241e583SGary Mills $(LINT.c) $(SRCS) $(LDLIBS) 51*c241e583SGary Mills 52*c241e583SGary Mills# include library targets 53*c241e583SGary Millsinclude ../../Makefile.targ 54*c241e583SGary Mills 55*c241e583SGary Millspics/%.o: ../common/%.c 56*c241e583SGary Mills $(COMPILE.c) -o $@ $< 57*c241e583SGary Mills $(POST_PROCESS_O) 58