# Makefile based on BSD's pmake.
# Our mk stubs also work with GNU make.
-# Copyright 2008 Roy Marples
+# Copyright 2008 Roy Marples <roy@marples.name>
PROG= dhcpcd
SRCS= arp.c client.c common.c configure.c dhcp.c dhcpcd.c duid.c \
dhcpcd-3 - DHCP client daemon
-Copyright 2006-2007 Roy Marples <roy@marples.name>
+Copyright 2006-2008 Roy Marples <roy@marples.name>
Installation
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples <roy@marples.name>
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
*
* Distributed under the terms of the GNU General Public License v2
*/
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
* SUCH DAMAGE.
*/
-const char copyright[] = "Copyright (c) 2006-2007 Roy Marples";
+const char copyright[] = "Copyright (c) 2006-2008 Roy Marples";
/* We need to define this to get kill on GNU systems */
#ifdef __linux__
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
-# Copyright 2008 Roy Marples
+# Copyright 2008 Roy Marples <roy@marples.name>
# Setup some good default CFLAGS
# This only works for make implementations that always include a .depend if
# it exists. Only GNU make does not do this.
-# Copyright 2008 Roy Marples
+# Copyright 2008 Roy Marples <roy@marples.name>
CLEANFILES+= .depend
-# rules to make a distribution tarball
-# Copyright 2008 Roy Marples
+# rules to make a distribution tarball from a git repo
+# Copyright 2008 Roy Marples <roy@marples.name>
GITREF?= HEAD
DISTFILE?= ${PROG}-${VERSION}.tar.bz2
# rules to install manpages
-# Copyright 2008 Roy Marples
+# Copyright 2008 Roy Marples <roy@marples.name>
MANPREFIX?= /usr/share
MANMODE?= 0444
# Setup OS specific variables
-# Copyright 2008 Roy Marples
+# Copyright 2008 Roy Marples <roy@marples.name>
# Work out if we need -lresolv or not
_LIBRESOLV_SH= printf '\#include <netinet/in.h>\n\#include <resolv.h>\nint main (void) { return (res_init ()); }\n' > .res_init.c; \
# rules to build a program
# based on FreeBSD's bsd.prog.mk
-# Copyright 2008 Roy Marples
+# Copyright 2008 Roy Marples <roy@marples.name>
BINDIR?= /sbin
OBJS+= ${SRCS:.c=.o}
all: ${PROG} ${MAN}
${PROG}: ${SCRIPTS} ${OBJS}
- ${CC} ${CFLAGS} ${LDFLAGS} ${PROGLDFLAGS} -o $@ ${OBJS} ${LDADD}
+ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJS} ${LDADD}
_proginstall: ${PROG}
${INSTALL} -d ${DESTDIR}${BINDIR}
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples <roy@marples.name>
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
*
* Distributed under the terms of the GNU General Public License v2
*/
/*
* dhcpcd - DHCP client daemon
- * Copyright 2006-2007 Roy Marples
+ * Copyright 2006-2008 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without