head	1.1;
access;
symbols;
locks
	florian:1.1; strict;
comment	@# @;


1.1
date	94.07.25.14.01.03;	author florian;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@#
# dip		Dialup IP connection support program.
#		Makefile for LINUX.
#
# Version:	@@(#)Makefile.LINUX	1.20	12/13/93
#
# Author:	Fred N. van Kempen, <waltje@@uWalt.NL.Mugnet.ORG>
#		Copyright 1988-1993 MicroWalt Corporation
#
#		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 of the License, or  (at
#		your option) any later version.
#

# If you want to include S/Key authentication, un-comment the next
# 2 lines. You will need libskey.a from the skey-linux-1.1b package
# (available on sunsite.unc.edu in
# /pub/Linux/system/Network/sunacm/Programs/User/skey)
# If libskey.a is not in /usr/lib then add the path to it in the 
# SKEYLIB define below
# Some of S/Key sources is here in skey directory, probably enough
# to build libskey.a, but I haven't tested it...

SKEYDEF	= -DSKEY
SKEYLIB	= -L/usr/local/lib -lskey

CC	= gcc -pipe -O6 -Wall -m486 -fomit-frame-pointer
LD	= gcc

CFLAGS	= -DLINUX $(SKEYDEF)
LDFLAGS	= -N -s

LIBS	= $(SKEYLIB) -lbsd


VERSION	= 3.3.7


# Object modules.
OBJS	= main.o config.o daemon.o tty.o attach.o \
	  term.o modem.o command.o login.o 

PROTOS	= slip.o ppp.o


.c.o:		dip.h $<
		$(CC) $(CFLAGS) -c $<


all:		dip

install:	all
		@@sh ./Install.sh

firsttime:	all
		@@sh ./Install.sh --firsttime

update:		all
		@@sh ./Install.sh --nobackup

dist:
		@@tar cfvz ../dip-$(VERSION).tar.gz *

dip:		protocols.a $(OBJS)
		$(CC) $(LDFLAGS) -o dip $(OBJS) protocols.a $(LIBS)

protocols.a:	$(PROTOS)
		ar rcs protocols.a $(PROTOS)

clean:
		rm -f core *.o *.a

clobber:	clean
		rm -f dip

dummy:

# End of Makefile.
@
