mgetty-1.1.3/tools *** No rule...

Gert Doering (gert@greenie.muc.de)
Wed, 2 Apr 1997 15:08:22 +0200


Hi,

Ronald Wiplinger wrote:
> I just downloaded mgetty-1.1.3 from 
> ftp.leo.org/pub/comp/networking/communication/modem/mgetty
> 
> However I get an error when I try to compile it on Linux 2.0:
> 
> ....
> Entering directory `mgetty-1.1.3/tools'
> *** No rule to make target `all'. Stop.

Ooops... I forgot to include "tools/Makefile" into the distribution.
You'll find it appended below.

gert
---------------------------- tools/Makefile ------------------------
# Makefile for the "tools" subtree
# of mgetty+sendfax
#
# SCCS: %W% %E% (c) 1997 Gert Doering
#

CC=gcc
CFLAGS=-O2 -I..

SCRIPTS=kvg
PROGRAMS=ltest
TOOLS=

all: $(SCRIPTS) $(PROGRAMS)

kvg: kvg.in ../sedscript
	../sedscript <kvg.in >kvg

../sedscript: ../policy.h ../Makefile ../mksed.c
	@cd .. ; $(MAKE) sedscript

ltest: ltest.o ../tio.o ../io.o
	$(CC) $(CFLAGS) -o ltest ltest.o ../tio.o ../io.o 

ltest.o: ltest.c ../tio.h ../mgetty.h
	$(CC) $(CFLAGS) -c -o ltest.o ltest.c

clean:
	-rm -f $(SCRIPTS) $(PROGRAMS)

fullclean:
	-rm -f $(SCRIPTS) $(PROGRAMS)

install: all
#
# programs / scripts
#
	-for i in $(SCRIPTS); do \
		mv -f $(BINDIR)/$$i $(BINDIR)/$$i.old 2>/dev/null ; \
		$(INSTALL) -m 755 $$i $(BINDIR) ; \
	done
---------------------------- tools/Makefile ------------------------

-- 
USENET is *not* the non-clickable part of WWW!
           //www.muc.de/~gert/
Gert Doering - Munich, Germany      gert@greenie.muc.de
fax: +49-89-3545980     gert.doering@physik.tu-muenchen.de
.