# Makefile for the support library subdirectory of the GNU Shar Utilities# Copyright (C) 1995 Free Software Foundation, Inc.## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.PACKAGE = @PACKAGE@VERSION = @VERSION@SHELL = /bin/shsrcdir = @srcdir@top_srcdir = @top_srcdir@VPATH = @srcdir@subdir = libAR = arCC = @CC@RANLIB = @RANLIB@DEFS = @DEFS@CFLAGS = @CFLAGS@CPPFLAGS = @CPPFLAGS@LIBS = libshar.aCOMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)# If your system doesn't have alloca, or the one provided is bad, define this.ALLOCA = @ALLOCA@ALLOCA_SRC = alloca.c# If your systems has the GNU getopt functions available you may comment# out the following line.GETOPT = getopt.o getopt1.oGETOPTSRC = getopt.c getopt1.cHEADERS = getopt.h md5.h pathmax.h system.hSOURCES = $(ALLOCA_SRC) basename.c error.c $(GETOPTSRC) md5.c memset.c \mktime.c stpcpy.c strftime.c whoami.c xgetcwd.c xmalloc.c xstrdup.cOBJECTS = $(ALLOCA) error.o $(GETOPT) md5.o xgetcwd.o xmalloc.o xstrdup.o \whoami.o @LIBOBJS@DISTFILES = ChangeLog Makefile.in $(HEADERS) $(SOURCES).SUFFIXES:.SUFFIXES: .c .o.c.o:$(COMPILE) $<INCLUDES = -I$(srcdir) -I.. -I../intl -I$(top_srcdir)/intlall: libshar.a $(ANSI2KNR)libshar.a: $(OBJECTS)rm -f libshar.a$(AR) cru libshar.a $(OBJECTS)$(RANLIB) libshar.aansi2knr: ansi2knr.o$(LINK) ansi2knr.o $(LIBS)install install-exec install-data: alluninstall:check: all$(OBJECTS): ../config.herror.o getopt.o xmalloc.o: ../intl/libgettext.hgetopt.o: getopt.htags: TAGSTAGS: $(HEADERS) $(SOURCES)here=`pwd`; cd $(srcdir) && etags -o $$here/TAGS $(HEADERS) $(SOURCES)id: IDID: $(HEADERS) $(SOURCES)here=`pwd`; cd $(srcdir) && mkid -f$$here/ID $(HEADERS) $(SOURCES)mostlyclean:rm -f *.a *.o core core.*clean: mostlycleandistclean: cleanrm -f Makefile ID TAGS ansi2knrmaintainer-clean: distclean@echo "This command is intended for maintainers to use;"@echo "it deletes files that may require special tools to rebuild."distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)dist: Makefile $(DISTFILES)for file in $(DISTFILES); do \ln $(srcdir)/$$file $(distdir) 2> /dev/null \|| cp -p $(srcdir)/$$file $(distdir); \doneMakefile: $(srcdir)/Makefile.in ../config.statuscd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status# Tell versions [3.59,3.63) of GNU make not to export all variables.# Otherwise a system limit (for SysV at least) may be exceeded..NOEXPORT: