i-bash/lib/sh/Makefile.in

227 lines
6.9 KiB
Makefile
Raw Normal View History

1998-04-17 19:52:44 +00:00
#
# Makefile for the Bash library
#
2000-03-17 21:46:59 +00:00
#
# Copyright (C) 1998 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 USA.
1998-04-17 19:52:44 +00:00
srcdir = @srcdir@
VPATH = .:@srcdir@
topdir = @top_srcdir@
BUILD_DIR = @BUILD_DIR@
2000-03-17 21:46:59 +00:00
BASHINCDIR = ${topdir}/include
1998-04-17 19:52:44 +00:00
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
CC = @CC@
RANLIB = @RANLIB@
AR = @AR@
1999-02-19 17:11:39 +00:00
ARFLAGS = @ARFLAGS@
1998-04-17 19:52:44 +00:00
RM = rm -f
CP = cp
MV = mv
1999-02-19 17:11:39 +00:00
SHELL = @MAKE_SHELL@
1998-04-17 19:52:44 +00:00
CFLAGS = @CFLAGS@
LOCAL_CFLAGS = @LOCAL_CFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@ @LOCAL_LDFLAGS@
PROFILE_FLAGS = @PROFILE_FLAGS@
DEFS = @DEFS@
LOCAL_DEFS = @LOCAL_DEFS@
2000-03-17 21:46:59 +00:00
INCLUDES = -I. -I../.. -I$(topdir) -I$(topdir)/lib -I$(BASHINCDIR) -I$(srcdir)
1998-04-17 19:52:44 +00:00
CCFLAGS = ${PROFILE_FLAGS} ${INCLUDES} $(DEFS) $(LOCAL_DEFS) $(LOCAL_CFLAGS) \
$(CFLAGS) $(CPPFLAGS)
.c.o:
$(CC) -c $(CCFLAGS) $<
# The name of the library target.
LIBRARY_NAME = libsh.a
# The C code source files for this library.
2000-03-17 21:46:59 +00:00
CSOURCES = clktck.c clock.c getcwd.c getenv.c oslib.c setlinebuf.c \
1998-04-17 19:52:44 +00:00
strcasecmp.c strerror.c strtod.c strtol.c strtoul.c \
2000-03-17 21:46:59 +00:00
vprint.c itos.c rename.c zread.c zwrite.c shtty.c \
inet_aton.c netopen.c strpbrk.c timeval.c makepath.c
1998-04-17 19:52:44 +00:00
# The header files for this library.
HSOURCES =
# The object files contained in $(LIBRARY_NAME)
2000-03-17 21:46:59 +00:00
OBJECTS = clktck.o clock.o getcwd.o getenv.o oslib.o setlinebuf.o \
1998-04-17 19:52:44 +00:00
strcasecmp.o strerror.o strtod.o strtol.o strtoul.o \
2000-03-17 21:46:59 +00:00
vprint.o itos.o rename.o zread.o zwrite.o shtty.o \
inet_aton.o netopen.o strpbrk.o timeval.o makepath.o
1998-04-17 19:52:44 +00:00
SUPPORT = Makefile
all: $(LIBRARY_NAME)
$(LIBRARY_NAME): $(OBJECTS)
$(RM) $@
1999-02-19 17:11:39 +00:00
$(AR) $(ARFLAGS) $@ $(OBJECTS)
1998-04-17 19:52:44 +00:00
-test -n "$(RANLIB)" && $(RANLIB) $@
force:
# The rule for 'includes' is written funny so that the if statement
# always returns TRUE unless there really was an error installing the
# include files.
install:
clean:
$(RM) $(OBJECTS) $(LIBRARY_NAME)
realclean distclean maintainer-clean: clean
$(RM) Makefile
mostlyclean: clean
# Dependencies
# rules for losing makes, like SunOS
clktck.o: clktck.c
2000-03-17 21:46:59 +00:00
clock.o: clock.c
1998-04-17 19:52:44 +00:00
getcwd.o: getcwd.c
getenv.o: getenv.c
2000-03-17 21:46:59 +00:00
inet_aton.o: inet_aton.c
1998-04-17 19:52:44 +00:00
itos.o: itos.c
2000-03-17 21:46:59 +00:00
netopen.o: netopen.c
1998-04-17 19:52:44 +00:00
oslib.o: oslib.c
1999-02-19 17:11:39 +00:00
rename.o: rename.c
1998-04-17 19:52:44 +00:00
setlinebuf.o: setlinebuf.c
2000-03-17 21:46:59 +00:00
shquote.o: shquote.c
shtty.o: shtty.c
1998-04-17 19:52:44 +00:00
strcasecmp.o: strcasecmp.c
strerror.o: strerror.c
2000-03-17 21:46:59 +00:00
strpbrk.o: strpbrk.c
1998-04-17 19:52:44 +00:00
strtod.o: strtod.c
strtol.o: strtol.c
strtoul.o: strtoul.c
2000-03-17 21:46:59 +00:00
times.o: times.c
timeval.o: timeval.c
1998-04-17 19:52:44 +00:00
vprint.o: vprint.c
2000-03-17 21:46:59 +00:00
zread.o: zread.c
zwrite.o: zwrite.c
1998-04-17 19:52:44 +00:00
# all files in the library depend on config.h
clktck.o: ${BUILD_DIR}/config.h
2000-03-17 21:46:59 +00:00
clock.o: ${BUILD_DIR}/config.h
1998-04-17 19:52:44 +00:00
getcwd.o: ${BUILD_DIR}/config.h
getenv.o: ${BUILD_DIR}/config.h
2000-03-17 21:46:59 +00:00
inet_aton.o: ${BUILD_DIR}/config.h
1998-04-17 19:52:44 +00:00
itos.o: ${BUILD_DIR}/config.h
2000-03-17 21:46:59 +00:00
netopen.o: ${BUILD_DIR}/config.h
1998-04-17 19:52:44 +00:00
oslib.o: ${BUILD_DIR}/config.h
1999-02-19 17:11:39 +00:00
rename.o: ${BUILD_DIR}/config.h
1998-04-17 19:52:44 +00:00
setlinebuf.o: ${BUILD_DIR}/config.h
2000-03-17 21:46:59 +00:00
shquote.o: ${BUILD_DIR}/config.h
shtty.o: ${BUILD_DIR}/config.h
1998-04-17 19:52:44 +00:00
strcasecmp.o: ${BUILD_DIR}/config.h
strerror.o: ${BUILD_DIR}/config.h
2000-03-17 21:46:59 +00:00
strpbrk.o: ${BUILD_DIR}/config.h
1998-04-17 19:52:44 +00:00
strtod.o: ${BUILD_DIR}/config.h
strtol.o: ${BUILD_DIR}/config.h
strtoul.o: ${BUILD_DIR}/config.h
2000-03-17 21:46:59 +00:00
times.o: ${BUILD_DIR}/config.h
timeval.o: ${BUILD_DIR}/config.h
1998-04-17 19:52:44 +00:00
vprint.o: ${BUILD_DIR}/config.h
2000-03-17 21:46:59 +00:00
zread.o: ${BUILD_DIR}/config.h
zwrite.o: ${BUILD_DIR}/config.h
1998-04-17 19:52:44 +00:00
clktck.o: ${topdir}/bashtypes.h
2000-03-17 21:46:59 +00:00
getcwd.o: ${topdir}/bashtypes.h ${topdir}/bashansi.h ${BASHINCDIR}/maxpath.h
getcwd.o: ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/posixdir.h
getcwd.o: ${BASHINCDIR}/memalloc.h ${BASHINCDIR}/ansi_stdlib.h
1998-04-17 19:52:44 +00:00
2000-03-17 21:46:59 +00:00
getenv.o: ${topdir}/bashansi.h ${BASHINCDIR}/ansi_stdlib.h
getenv.o: ${topdir}/shell.h ${topdir}/bashjmp.h ${BASHINCDIR}/posixjmp.h
getenv.o: ${topdir}/command.h ${BASHINCDIR}/stdc.h ${topdir}/error.h
1998-04-17 19:52:44 +00:00
getenv.o: ${topdir}/general.h ${topdir}/bashtypes.h ${topdir}/variables.h
getenv.o: ${topdir}/array.h ${topdir}/hashlib.h ${topdir}/quit.h
getenv.o: ${topdir}/unwind_prot.h ${topdir}/dispose_cmd.h
getenv.o: ${topdir}/make_cmd.h ${topdir}/subst.h ${topdir}/sig.h
getenv.o: ${topdir}/pathnames.h ${topdir}/externs.h
2000-03-17 21:46:59 +00:00
inet_aton.o: ${topdir}/bashansi.h ${BASHINCDIR}/ansi_stdlib.h
inet_aton.o: ${BASHINCDIR}/stdc.h
itos.o: ${topdir}/bashansi.h ${BASHINCDIR}/ansi_stdlib.h
itos.o: ${topdir}/shell.h ${topdir}/bashjmp.h ${BASHINCDIR}/posixjmp.h
itos.o: ${topdir}/command.h ${BASHINCDIR}/stdc.h ${topdir}/error.h
1998-04-17 19:52:44 +00:00
itos.o: ${topdir}/general.h ${topdir}/bashtypes.h ${topdir}/variables.h
itos.o: ${topdir}/array.h ${topdir}/hashlib.h ${topdir}/quit.h
itos.o: ${topdir}/unwind_prot.h ${topdir}/dispose_cmd.h
itos.o: ${topdir}/make_cmd.h ${topdir}/subst.h ${topdir}/sig.h
itos.o: ${topdir}/pathnames.h ${topdir}/externs.h
2000-03-17 21:46:59 +00:00
netopen.o: ${topdir}/bashansi.h ${BASHINCDIR}/ansi_stdlib.h
oslib.o: ${topdir}/bashtypes.h ${topdir}/bashansi.h ${BASHINCDIR}/maxpath.h
oslib.o: ${topdir}/shell.h ${topdir}/bashjmp.h ${BASHINCDIR}/posixjmp.h
oslib.o: ${topdir}/command.h ${BASHINCDIR}/stdc.h ${topdir}/error.h
1998-04-17 19:52:44 +00:00
oslib.o: ${topdir}/general.h ${topdir}/bashtypes.h ${topdir}/variables.h
oslib.o: ${topdir}/array.h ${topdir}/hashlib.h ${topdir}/quit.h
oslib.o: ${topdir}/unwind_prot.h ${topdir}/dispose_cmd.h
oslib.o: ${topdir}/make_cmd.h ${topdir}/subst.h ${topdir}/sig.h
oslib.o: ${topdir}/pathnames.h ${topdir}/externs.h
2000-03-17 21:46:59 +00:00
oslib.o: ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
oslib.o: ${BASHINCDIR}/ansi_stdlib.h
1998-04-17 19:52:44 +00:00
2000-03-17 21:46:59 +00:00
rename.o: ${topdir}/bashtypes.h ${BASHINCDIR}/stdc.h
1999-02-19 17:11:39 +00:00
2000-03-17 21:46:59 +00:00
shtty.o: ${BASHINCDIR}/shtty.h
shtty.o: ${BASHINCDIR}/stdc.h
strcasecmp.o: ${BASHINCDIR}/stdc.h ${topdir}/bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1998-04-17 19:52:44 +00:00
strerror.o: ${topdir}/bashtypes.h
2000-03-17 21:46:59 +00:00
strerror.o: ${topdir}/shell.h ${topdir}/bashjmp.h ${BASHINCDIR}/posixjmp.h
strerror.o: ${topdir}/command.h ${BASHINCDIR}/stdc.h ${topdir}/error.h
1998-04-17 19:52:44 +00:00
strerror.o: ${topdir}/general.h ${topdir}/bashtypes.h ${topdir}/variables.h
strerror.o: ${topdir}/array.h ${topdir}/hashlib.h ${topdir}/quit.h
strerror.o: ${topdir}/unwind_prot.h ${topdir}/dispose_cmd.h
strerror.o: ${topdir}/make_cmd.h ${topdir}/subst.h ${topdir}/sig.h
strerror.o: ${topdir}/pathnames.h ${topdir}/externs.h
2000-03-17 21:46:59 +00:00
strpbrk.o: ${BASHINCDIR}/stdc.h
1998-04-17 19:52:44 +00:00
strtod.o: ${topdir}/bashansi.h
2000-03-17 21:46:59 +00:00
strtod.o: ${BASHINCDIR}/ansi_stdlib.h
1998-04-17 19:52:44 +00:00
strtol.o: ${topdir}/bashansi.h
2000-03-17 21:46:59 +00:00
strtol.o: ${BASHINCDIR}/ansi_stdlib.h
1998-04-17 19:52:44 +00:00
strtoul.o: ${topdir}/bashansi.h
2000-03-17 21:46:59 +00:00
strtoul.o: ${BASHINCDIR}/ansi_stdlib.h
times.o: ${BASHINCDIR}/systimes.h
times.o: ${BASHINCDIR}/posixtime.h
timeval.o: ${BASHINCDIR}/posixtime.h
clock.o: ${BASHINCDIR}/posixtime.h