home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
zip
/
gnu
/
txnf214s.lzh
/
TXNF214S
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1993-07-29
|
2KB
|
88 lines
# Adapted from generated automatically from Makefile.in by configure.
# Makefile for the info sources... -*- text -*-
# Copyright (C) 1990, 1991 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., 675 Mass Ave, Cambridge, MA 02139, USA.
srcdir = .
infodir = c:/gnu/info
CC=cgcc
WIDTH=-mshort
EXT=16
# -O2 option is for gcc-2.x
DEFS= -DSTDC_HEADERS -O2 $(WIDTH) -fomit-frame-pointer
LIBS=-liio$(EXT)
CDEBUG = -g -Wall #-Wwrite-strings -Wconversion -Wdeclaration-type
CFLAGS = $(CDEBUG) $(DEFS)
LD=cgcc
LDFLAGS = $(CFLAGS)
# Coma-separated list of directories in which to look for info files.
DEFAULT_INFOPATH = .,$(infodir),a:/
# Command used to print out a text file. The filename follows this command.
INFO_PRINT_COMMAND = lpr
#### End of system configuration section. ####
PATHSPEC = -DDEFAULT_INFOPATH='"$(DEFAULT_INFOPATH)"'
PRINTSPEC = -DINFO_PRINT_COMMAND='"$(INFO_PRINT_COMMAND)"'
INFO_FLAGS = $(PATHSPEC) $(PRINTSPEC)
MAKEINFO_FLAGS = -DDOTS
SOURCES = info.c makeinfo.c texindex.c getopt.c getopt1.c
OBJECTS = info.o makeinfo.o texindex.o getopt.o getopt1.o
MBJECTS = makeinfo.o getopt.o getopt1.o
IBJECTS = info.o getopt.o getopt1.o
TBJECTS = texindex.o getopt.o getopt1.o
HEADERS = getopt.h
PROGS = info.ttp makeinfo.ttp texindex.ttp
all: $(PROGS)
info.ttp: $(IBJECTS)
$(LD) $(LDFLAGS) -o $@ $(IBJECTS) -ltermcap$(EXT) $(LIBS)
xstrip -k $@
toglclr $@
info.o: info.c
$(CC) -c $(CFLAGS) $(INFO_FLAGS) info.c
makeinfo.ttp: $(MBJECTS)
$(LD) $(LDFLAGS) -o $@ $(MBJECTS) $(LIBS)
xstrip -k $@
toglclr $@
makeinfo.o: makeinfo.c
$(CC) -c $(CFLAGS) $(MAKEINFO_FLAGS) makeinfo.c
texindex.ttp: $(TBJECTS)
$(LD) $(LDFLAGS) -o $@ $(TBJECTS) $(LIBS)
xstrip -k $@
toglclr $@
info.o makeinfo.o texindex.o getopt1.o: getopt.h
clean:
rm -f $(OBJECTS)
clobber: clean
rm -f $(PROGS) *~