head	1.2;
access;
symbols
	perseant-exfatfs-base-20250801:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.46
	perseant-exfatfs-base:1.2
	cjep_sun2x:1.2.0.44
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	cjep_staticlib_x:1.2.0.42
	cjep_staticlib_x-base:1.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	phil-wifi-20200406:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	pgoyette-compat-0728:1.2
	pgoyette-compat-0625:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	pgoyette-compat:1.2.0.40
	pgoyette-compat-base:1.2
	perseant-stdc-iso10646:1.2.0.38
	perseant-stdc-iso10646-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.36
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	bouyer-socketcan:1.2.0.34
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	pgoyette-localcount-20161104:1.2
	localcount-20160914:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.32
	pgoyette-localcount-base:1.2
	netbsd-5-2-3-RELEASE:1.2
	netbsd-5-1-5-RELEASE:1.2
	yamt-pagecache-base9:1.2
	yamt-pagecache-tag8:1.2
	tls-earlyentropy:1.2.0.28
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	agc-symver:1.2.0.30
	agc-symver-base:1.2
	tls-maxphys-base:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.2.0.26
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	yamt-pagecache-base6:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.24
	yamt-pagecache-base:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.22
	bouyer-quota2-base:1.2
	matt-nb5-pq3:1.2.0.20
	matt-nb5-pq3-base:1.2
	netbsd-5-1:1.2.0.18
	netbsd-5-1-RELEASE:1.2
	netbsd-5-1-RC4:1.2
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	netbsd-5-1-RC1:1.2
	netbsd-5-0-2-RELEASE:1.2
	netbsd-5-0-1-RELEASE:1.2
	jym-xensuspend-nbase:1.2
	netbsd-5-0:1.2.0.16
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	jym-xensuspend:1.2.0.14
	jym-xensuspend-base:1.2
	netbsd-5-0-RC1:1.2
	netbsd-5:1.2.0.12
	netbsd-5-base:1.2
	mjf-devfs2:1.2.0.10
	mjf-devfs2-base:1.2
	yamt-pf42-base4:1.2
	yamt-pf42-base3:1.2
	hpcarm-cleanup-nbase:1.2
	yamt-pf42-base2:1.2
	yamt-pf42:1.2.0.8
	yamt-pf42-base:1.2
	keiichi-mipv6-nbase:1.2
	keiichi-mipv6:1.2.0.6
	keiichi-mipv6-base:1.2
	cube-autoconf:1.2.0.4
	cube-autoconf-base:1.2
	hpcarm-cleanup:1.2.0.2
	hpcarm-cleanup-base:1.2
	ISC_V3RC8:1.1.1.9
	ISC_V3P2PL24:1.1.1.9
	ISC_V3B2PL23:1.1.1.9
	ISC_V3B2PL9:1.1.1.8
	ISC_V3B2PL2:1.1.1.8
	ISC_20000719:1.1.1.7
	ISC_20000708:1.1.1.7
	ISC_20000623:1.1.1.7
	ISC_200006101802:1.1.1.6
	DHCP_20000422:1.1.1.6
	V2-BETA-1-PATCH-27:1.1.1.5
	V2-BETA-1-PATCH-25:1.1.1.4
	V2-BETA-1-PATCH-22:1.1.1.3
	V2-BETA-1-PATCH-21:1.1.1.3
	V2-BETA-1-PATCH-20A:1.1.1.3
	V2-BETA-1-PATCH-20:1.1.1.3
	V2-BETA-1-PATCH-19:1.1.1.3
	V2-BETA-1-PATCH-18:1.1.1.3
	V2-BETA-1-PATCH-15:1.1.1.3
	V2-BETA-1-PATCH-14:1.1.1.2
	V2-BETA-1-PATCH-13:1.1.1.1
	V2-BETA-2:1.1.1.1
	DHCP-971122:1.1.1.1
	DHCP-970607:1.1.1.1
	DHCP-970605:1.1.1.1
	DHCP-970602:1.1.1.1
	DHCP-970331:1.1.1.1
	DHCP-970329A:1.1.1.1
	DHCP-970329:1.1.1.1
	ISC:1.1.1;
locks; strict;
comment	@# @;


1.2
date	97.03.29.22.44.52;	author mellon;	state dead;
branches;
next	1.1;

1.1
date	97.03.29.21.52.18;	author mellon;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.03.29.21.52.18;	author mellon;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	99.02.19.21.58.17;	author mellon;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	99.02.24.04.11.06;	author mellon;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	99.04.09.17.52.09;	author mellon;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	99.04.26.15.43.10;	author mellon;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	2000.04.22.07.11.56;	author mellon;	state Exp;
branches;
next	1.1.1.7;

1.1.1.7
date	2000.06.24.06.38.42;	author mellon;	state Exp;
branches;
next	1.1.1.8;

1.1.1.8
date	2000.09.04.23.10.35;	author mellon;	state Exp;
branches;
next	1.1.1.9;

1.1.1.9
date	2001.04.02.21.57.14;	author mellon;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Not needed by NetBSD
@
text
@# Makefile.dist
#
# Copyright (c) 1996, 1997 The Internet Software Consortium.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. Neither the name of The Internet Software Consortium nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
# THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
#

CATMANPAGES = dhcrelay.cat8
SRCS   = dhcrelay.c
OBJS   = dhcrelay.o
PROG   = dhcrelay
MAN    = dhcrelay.8

DEBUG  = -g
INCLUDES = -I.. -I../includes
DHCPLIB = ../common/libdhcp.a
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)

all:	$(PROG) $(CATMANPAGES)

install: $(PROG) $(CATMANPAGES)
	$(INSTALL) dhcrelay $(BINDIR); $(CHMOD) 755 $(BINDIR)/dhcrelay
	if [ ! -d $(ADMMANDIR) ]; then \
	  mkdir $(ADMMANDIR); \
	  chmod 755 $(ADMMANDIR); \
        fi
	if [ ! -d $(FFMANDIR) ]; then \
	  mkdir $(FFMANDIR); \
	  chmod 755 $(FFMANDIR); \
        fi
	if [ ! -d $(VARDB) ]; then \
	  mkdir $(VARDB); \
	  chmod 755 $(VARDB); \
	fi
	$(MANINSTALL) $(MANFROM) dhcrelay.cat8 $(MANTO) \
				$(ADMMANDIR)/dhcrelay$(ADMMANEXT)

clean:
	-rm -f $(OBJS) dhclient.o
	
realclean: clean
	-rm -f $(PROG) $(CATMANPAGES) *~ #*

distclean: realclean
	-rm -f Makefile

# These should only be done on 4.4 BSD-based systems, since the mandoc
# macros aren't available on older unices.   Catted man pages are
# provided in the distribution so that this doesn't become a problem.

dhcrelay.cat8:	dhcrelay.8
	sed -e "s#ETCDIR#$(ETC)#" -e "s#DBDIR#$(VARDB)#" \
		-e "s#RUNDIR#$(VARRUN)#" < dhcrelay.8 \
			| nroff -man >dhcrelay.cat8

dhcrelay:	dhcrelay.o $(DHCPLIB)
	$(CC) $(LFLAGS) -o $(PROG) dhcrelay.o $(DHCPLIB) $(LIBS)

# Dependencies (semi-automatically-generated)
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@March 29 snapshot
@
text
@@


1.1.1.2
log
@Patchlevel 14
@
text
@d47 13
a59 12
	for dir in $(BINDIR) $(ADMMANDIR); do \
	  foo=""; \
	  for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \
	    foo=$${foo}/$$bar; \
	    if [ ! -d $$foo ]; then \
	      mkdir $$foo; \
	      chmod 755 $$foo; \
	    fi; \
	  done; \
	done
	$(INSTALL) dhcrelay $(DESTDIR)$(BINDIR)
	$(CHMOD) 755 $(DESTDIR)$(BINDIR)/dhcrelay
d61 1
a61 1
				$(DESTDIR)$(ADMMANDIR)/dhcrelay$(ADMMANEXT)
@


1.1.1.3
log
@V2 Beta 1 Patchlevel 15
@
text
@d46 1
a46 1
install: all
@


1.1.1.4
log
@Patchlevel 25
@
text
@d59 1
a59 1
	$(MANINSTALL) $(MANFROM) dhcrelay.$(MANCAT)8 $(MANTO) \
@


1.1.1.5
log
@Patchlevel 27
@
text
@a33 1
SEDMANPAGES = dhcrelay.cat8
d66 1
a66 1
	-rm -f $(PROG) $(CATMANPAGES) $(SEDMANPAGES) *~ #*
d75 1
a75 4
dhcrelay.cat8:	dhcrelay.man8
	nroff -man dhcrelay.man8 >dhcrelay.cat8

dhcrelay.man8:	dhcrelay.8
d77 2
a78 1
		-e "s#RUNDIR#$(VARRUN)#" < dhcrelay.8 >dhcrelay.man8
@


1.1.1.6
log
@Initial import of version 3 of the ISC DHCP distribution.
@
text
@d3 2
a4 6
# Copyright (c) 1996-1999 Internet Software Consortium.
# Use is subject to license terms which appear in the file named
# ISC-LICENSE that should have accompanied this file when you
# received it.   If a file named ISC-LICENSE did not accompany this
# file, or you are not sure the one you have is correct, you may
# obtain an applicable copy of the license at:
d6 3
a8 1
#             http://www.isc.org/isc-license-1.0.html. 
d10 8
a17 3
# This file is part of the ISC DHCP distribution.   The documentation
# associated with this file is listed in the file DOCUMENTATION,
# included in the top-level directory of this release.
d19 12
a30 2
# Support and other services are available for ISC products - see
# http://www.isc.org for more information.
d34 1
a34 1
SEDMANPAGES = dhcrelay.man8
d41 2
a42 2
INCLUDES = -I.. $(BINDINC) -I../includes
DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a
a62 3
depend:
	makedepend $(INCLUDES) $(PREDEFINES) $(SRCS)

d65 1
a65 1

@


1.1.1.7
log
@3.0b2 as of June 23 - fixes two important glitches.
@
text
@d28 1
a28 1
INCLUDES = -I$(TOP) $(BINDINC) -I$(TOP)/includes
d51 1
a51 1
	$(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRCS)
a60 8

links:
	@@for foo in $(SRCS) $(MAN); do \
	  if [ ! -b $$foo ]; then \
	    rm -f $$foo; \
	  fi; \
	  ln -s $(TOP)/relay/$$foo $$foo; \
	done
@


1.1.1.8
log
@DHCP 3.0 Beta 2 Patchlevel 2
@
text
@d29 1
a29 1
DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a $(BINDLIB)
@


1.1.1.9
log
@ISC DHCP 3.0b2pl23
@
text
@d27 1
d29 1
a29 1
DHCPLIB = ../common/libdhcp.a $(BINDLIB) ../omapip/libomapi.a ../dst/libdst.a
@


