diff options
| author | Niklas | 2011-09-01 09:31:39 +0200 |
|---|---|---|
| committer | Niklas | 2011-09-01 09:31:39 +0200 |
| commit | 4e1b9faba7503f99ee2fbcd7458f66ade42fa309 (patch) | |
| tree | 4f9668c17d4dbf103ba71302624a387b080301a3 /customdhcpcd/src/Makefile | |
| parent | some minor changes (diff) | |
| download | fbgui-4e1b9faba7503f99ee2fbcd7458f66ade42fa309.tar.gz fbgui-4e1b9faba7503f99ee2fbcd7458f66ade42fa309.tar.xz fbgui-4e1b9faba7503f99ee2fbcd7458f66ade42fa309.zip | |
tried to clean the git. deleted old unused files and folders. moved customdhcpcd and LogReceiver to the fbgui folder
Diffstat (limited to 'customdhcpcd/src/Makefile')
| -rw-r--r-- | customdhcpcd/src/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/customdhcpcd/src/Makefile b/customdhcpcd/src/Makefile new file mode 100644 index 0000000..7f90db4 --- /dev/null +++ b/customdhcpcd/src/Makefile @@ -0,0 +1,34 @@ +# Makefile based on BSD's pmake. +# Our mk stubs also work with GNU make. +# Copyright 2008 Roy Marples <roy@marples.name> + +PROG= customdhcpcd +SRCS= arp.c client.c common.c configure.c dhcp.c dhcpcd.c duid.c \ + info.c interface.c ipv4ll.c logger.c logwriter.c signal.c socket.c +MAN= dhcpcd.8 + +VERSION= 3.2.3 +CLEANFILES= version.h dhcpcd.8 + +BINDIR= ${PREFIX}/sbin + +.SUFFIXES: .in + +MK= mk +include ${MK}/os.mk +include ${MK}/cc.mk +include ${MK}/prog.mk + +# os.mk should define this, but heh +INFOD?= /var/db + +LDADD+= ${LIBRESOLV} ${LIBRT} +CFLAGS+= -g -Wall -DINFODIR=\"${INFOD}\" ${FORK} ${RC} + +# As version.h is generated by us, hardcode the depend correctly. +${SRCS}: version.h +version.h: + echo "#define VERSION \"${VERSION}\""> version.h + +.in: + sed 's:@PREFIX@:${PREFIX}:g; s:@INFODIR@:${INFOD}:g' $< > $@ |
