Annotation of OpenXM/src/asir-doc/jtexindex/C/Makefile, Revision 1.15
1.1 noro 1: # Generated automatically from Makefile.in by configure.
2: # Makefile for GNU Texindex.
3: # Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc.
4:
5: # This program is free software; you can redistribute it and/or modify
6: # it under the terms of the GNU General Public License as published by
7: # the Free Software Foundation; either version 2, or (at your option)
8: # any later version.
9:
10: # This program is distributed in the hope that it will be useful,
11: # but WITHOUT ANY WARRANTY; without even the implied warranty of
12: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13: # GNU General Public License for more details.
14:
15: # You should have received a copy of the GNU General Public License
16: # along with this program; if not, write to the Free Software
17: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18:
19: #### Start of system configuration section. ####
20:
21: srcdir = .
22:
1.12 noro 23: CC = gcc
1.1 noro 24: INSTALL = /usr/bin/install -c
25: INSTALL_PROGRAM = ${INSTALL}
26: INSTALL_DATA = ${INSTALL} -m 644
27:
28: LN = ln
29: RM = rm -f
30: TAR = tar
31: MKDIR = mkdir
32: RANLIB = ranlib
1.15 ! takayama 33: DEFS = -DEUC -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIO_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1 -DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_MEMSET=1 -DHAVE_MEMCPY=1 -DHAVE_MEMMOVE=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_STRERROR=1 -DHAVE_SIGPROCMASK=1 -DHAVE_SIGSETMASK=1
1.1 noro 34: LIBS = -L./ -ltxi
35: LOADLIBES = $(LIBS)
36:
37: # This is normally inherited from parent make, but if someone wants to
38: # build libtxi.a alone, this variable will still be properly defined.
39: ALLOCA =
40:
41: SHELL = /bin/sh
42:
43: CFLAGS = -g -O
44: LDFLAGS =
45:
46: prefix = /usr/local
47: exec_prefix = ${prefix}
48: bindir = $(exec_prefix)/bin
49: # Prefix for each installed program, normally empty or `g'.
50:
51: #### End of system configuration section. ####
52:
53: SRCS = getopt.c getopt.h getopt1.c bzero.c
54: OBJS = getopt.o getopt1.o bzero.o $(ALLOCA)
55:
56: PROGS = libtxi.a
57:
58: all: texindex $(PROGS)
59: sub-all: all
60:
61: .c.o:
62: $(CC) -c $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) $(CFLAGS) $<
63:
64:
65: install: all
66: $(INSTALL_PROGRAM) texindex $(bindir)/texindex
67:
68: uninstall:
69: rm -f $(bindir)/texindex
70:
71: TAGS:
72: etags *.c *.h getopt*.c getopt.h
73:
74: clean:
75: rm -f *.o a.out core core.* texindex $(PROGS)
76:
77: mostlyclean: clean
78:
79: distclean: clean
80: rm -f Makefile config.status
81:
82: realclean: distclean
83: rm -f TAGS
84:
85: texindex: texindex.o libtxi.a
86: $(CC) $(LDFLAGS) -o texindex texindex.o $(LOADLIBES)
87:
88: libtxi.a: $(OBJS)
89: ar qcv libtxi.a $(OBJS)
90: $(RANLIB) libtxi.a
91:
92: texindex.o: texindex.c getopt.h
93: getopt.o: getopt.c getopt.h
94: getopt1.o: getopt1.c getopt.h
95: alloca.o: alloca.c
96:
97: # Prevent GNU make v3 from overflowing arg limit on SysV.
98: .NOEXPORT:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>