# Makefile for GNU texinfo/libtxi.  -*- Indented-Text -*-
# Copyright (C) 1993 Free Software Foundation, Inc.

# This Makefile is for DJGPP v2.x

# 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.

#### Start of system configuration section. ####

srcdir = .
VPATH = $(srcdir)

RANLIB  = ranlib

DEFS =
LIBS =
LOADLIBES = $(LIBS)

# Inherited from parent make.
#ALLOCA =

# SHELL = /bin/sh

#### End of system configuration section. ####

SRCS =  getopt.c getopt.h getopt1.c 
OBJS =  getopt.o getopt1.o $(ALLOCA)

PROGS = libtxi.a

all: $(PROGS)
sub-all: all

.c.o:
	$(CC) -c $(CPPFLAGS) -I. -I$(srcdir) $(DEFS) $(CFLAGS) $<

libtxi.a: $(OBJS)
	ar qcv libtxi.a $(OBJS)
	$(RANLIB) libtxi.a

getopt.o: getopt.c getopt.h
getopt1.o: getopt1.c getopt.h
alloca.o: alloca.c

install:
uninstall:

TAGS: $(SRCS)
	etags $(SRCS)

clean:
	$(RM) *.o a.out $(PROGS)

mostlyclean: clean

distclean: clean
	$(RM) Makefile

realclean: distclean
	$(RM) TAGS

Makefile: Makefile.djg
	copy $< $@

# Prevent GNU make v3 from overflowing arg limit on SysV.
.NOEXPORT:

# eof
