mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-07 12:20:50 +02:00
commit bash-20050210 snapshot
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# simple makefile to create texindex
|
||||
#
|
||||
# Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1996-2005 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
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
# simple makefile to create texindex
|
||||
#
|
||||
# Copyright (C) 1996 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.
|
||||
|
||||
topdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = .:@srcdir@
|
||||
BUILD_DIR = @BUILD_DIR@
|
||||
|
||||
CC = @CC@
|
||||
RM = rm
|
||||
|
||||
SHELL = @MAKE_SHELL@
|
||||
|
||||
DEFS = @DEFS@
|
||||
CFLAGS = @CFLAGS@ @LOCAL_CFLAGS@
|
||||
LDFLAGS = @LDFLAGS@ @LOCAL_LDFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
|
||||
INCLUDES = -I. -I../.. -I$(topdir)
|
||||
|
||||
CCFLAGS = $(CFLAGS) $(DEFS) $(CPPFLAGS) ${INCLUDES}
|
||||
|
||||
.c.o:
|
||||
$(RM) -f $@
|
||||
$(CC) $(CCFLAGS) -c $<
|
||||
|
||||
OBJECTS = texindex.o getopt.o getopt1.o
|
||||
SOURCES = texindex.c getopt.c getopt1.c
|
||||
|
||||
all: texindex
|
||||
|
||||
texindex: $(OBJECTS)
|
||||
$(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBS)
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJECTS) texindex
|
||||
|
||||
distclean mostlyclean realclean maintainer-clean: clean
|
||||
$(RM) Makefile
|
||||
Reference in New Issue
Block a user