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.7
	ISC_V3P2PL24:1.1.1.6
	ISC_V3B2PL23:1.1.1.6
	ISC_V3B2PL9:1.1.1.5
	ISC_V3B2PL2:1.1.1.4
	ISC_20000719:1.1.1.3
	ISC_20000708:1.1.1.3
	ISC_20000623:1.1.1.2
	ISC_200006101802:1.1.1.1
	DHCP_20000422:1.1.1.1
	ISC:1.1.1;
locks; strict;
comment	@# @;


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

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

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

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

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

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

1.1.1.5
date	2000.10.17.15.09.41;	author taca;	state Exp;
branches;
next	1.1.1.6;

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

1.1.1.7
date	2001.06.18.18.13.21;	author drochner;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Initial merge of ISC DHCP 3.0 into NetBSD tree (incomplete)
@
text
@# Makefile.dist
#
# 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:
#
#             http://www.isc.org/isc-license-1.0.html. 
#
# 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.
#
# Support and other services are available for ISC products - see
# http://www.isc.org for more information.
#

CATMANPAGES = omapi.cat3
SEDMANPAGES = omapi.man3
SRC    = protocol.c buffer.c alloc.c result.c connection.c errwarn.c \
	 listener.c dispatch.c generic.c support.c handle.c message.c
OBJ    = protocol.o buffer.o alloc.o result.o connection.o errwarn.o \
	 listener.o dispatch.o generic.o support.o handle.o message.o
MAN    = omapi.3

DEBUG  = -g
INCLUDES = $(BINDINC) -I../includes
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)

all:	libomapi.a test $(CATMANPAGES)

test:	test.o libomapi.a
	$(CC) $(DEBUG) $(LFLAGS) -o test test.o libomapi.a $(LIBS)

libomapi.a:	$(OBJ)
	rm -f libomapi.a
	ar cruv libomapi.a $(OBJ)
	$(RANLIB) libomapi.a

install: all
	for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR)/omapip; 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) libomapi.a $(DESTDIR)$(LIBDIR)
	$(CHMOD) 644 $(DESTDIR)$(LIBDIR)/libomapi.a
	for file in alloc.h buffer.h omapip.h; do \
	  $(INSTALL) ../includes/omapip/$$file $(DESTDIR)$(INCDIR)/omapip; \
	  $(CHMOD) 644 $(DESTDIR)$(INCDIR)/omapip/$$file; \
	done
	for man in $(MAN); do \
	  prefix=`echo $$man |sed -e 's/\.[0-9]$$//'`; \
	  suffix=`echo $$man |sed -e 's/.*\.\([0-9]\)$$/\1/'`; \
	  $(MANINSTALL) $(MANFROM) $${prefix}.$(MANCAT)$${suffix} $(MANTO) \
			$(DESTDIR)$(LIBMANDIR)/$${prefix}$(LIBMANEXT); \
	done

depend:
	makedepend $(INCLUDES) $(PREDEFINES) $(SRC)

clean:
	-rm -f $(OBJ) test.o test

realclean: clean
	-rm -f libomapi.a *~ $(CATMANPAGES) $(SEDMANPAGES)

distclean: realclean
	-rm -f Makefile

omapi.cat3:	omapi.man3
	nroff -man omapi.man3 >omapi.cat3

omapi.man3:	omapi.3
	sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
		-e "s#RUNDIR#$(VARRUN)#g" < omapi.3 >omapi.man3

# Dependencies (semi-automatically-generated)
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Initial import of version 3 of the ISC DHCP distribution.
@
text
@@


1.1.1.2
log
@3.0b2 as of June 23 - fixes two important glitches.
@
text
@d29 1
a29 1
INCLUDES = $(BINDINC) -I$(TOP)/includes
d56 1
a56 1
	  $(INSTALL) $(TOP)/includes/omapip/$$file $(DESTDIR)$(INCDIR)/omapip; \
d67 1
a67 1
	$(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRC)
a76 8

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


1.1.1.3
log
@Latest revision of the ISC DHCP Distribution, with many bug fixes.
@
text
@d32 1
a32 1
all:	libomapi.a svtest $(CATMANPAGES)
d34 2
a35 2
svtest:	test.o libomapi.a
	$(CC) $(DEBUG) $(LFLAGS) -o svtest test.o libomapi.a $(LIBS)
d70 1
a70 1
	-rm -f $(OBJ) test.o svtest
@


1.1.1.4
log
@DHCP 3.0 Beta 2 Patchlevel 2
@
text
@d23 1
a23 2
	 listener.c dispatch.c generic.c support.c handle.c message.c \
	 convert.c hash.c auth.c
d25 1
a25 2
	 listener.o dispatch.o generic.o support.o handle.o message.o \
	 convert.o hash.o auth.o
d34 2
a35 2
svtest:	test.o libomapi.a $(BINDLIB)
	$(CC) $(DEBUG) $(LFLAGS) -o svtest test.o libomapi.a $(BINDLIB) $(LIBS)
d43 1
a43 1
	for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR)/omapip $(INCDIR)/isc; do \
a57 4
	done
	for file in boolean.h dst.h int.h lang.h list.h result.h types.h; do \
	  $(INSTALL) $(TOP)/includes/isc/$$file $(DESTDIR)$(INCDIR)/isc; \
	  $(CHMOD) 644 $(DESTDIR)$(INCDIR)/isc/$$file; \
@


1.1.1.5
log
@DHCP 3.0 Beta 2 Patchlevel 9
@
text
@d24 1
a24 1
	 convert.c hash.c auth.c inet_addr.c
d27 1
a27 1
	 convert.o hash.o auth.o inet_addr.o
@


1.1.1.6
log
@ISC DHCP 3.0b2pl23
@
text
@d3 1
a3 1
# Copyright (c) 1996-2001 Internet Software Consortium.
d24 1
a24 1
	 convert.c hash.c auth.c inet_addr.c array.c trace.c mrtrace.c
d27 1
a27 1
	 convert.o hash.o auth.o inet_addr.o array.o trace.o mrtrace.o
d30 1
d36 2
a37 3
svtest:	test.o libomapi.a $(BINDLIB) ../dst/libdst.a
	$(CC) $(DEBUG) $(LFLAGS) -o svtest test.o $(BINDLIB) \
			libomapi.a ../dst/libdst.a $(LIBS)
@


1.1.1.7
log
@ISC DHCP 3.0rc8
@
text
@d24 1
a24 3
	 convert.c hash.c auth.c inet_addr.c array.c trace.c mrtrace.c \
	 toisc.c

d27 1
a27 3
	 convert.o hash.o auth.o inet_addr.o array.o trace.o mrtrace.o \
	 toisc.o

d45 1
a45 2
	for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR)/omapip $(INCDIR)/isc-dhcp;\
	 do \
d58 1
a58 2
	  $(INSTALL) $(TOP)/includes/omapip/$$file \
						$(DESTDIR)$(INCDIR)/omapip; \
d62 2
a63 3
	  $(INSTALL) $(TOP)/includes/isc-dhcp/$$file \
						$(DESTDIR)$(INCDIR)/isc-dhcp; \
	  $(CHMOD) 644 $(DESTDIR)$(INCDIR)/isc-dhcp/$$file; \
@


