From 5ea57d78c4c42551fcf57d423b13a0897f7db980 Mon Sep 17 00:00:00 2001 From: Niklas Date: Mon, 5 Sep 2011 17:04:22 +0200 Subject: tried to manage cmake but failed. also tried to add the del_route() method of interface.c but failed too. made a static lib of the customdhcpcd files but couldn't change it to a shared lib. (tried to add SHARE to the add_library code but this resulted in an error multiple declarations of main... --- customdhcpcd/src/mk/prog.mk | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 customdhcpcd/src/mk/prog.mk (limited to 'customdhcpcd/src/mk/prog.mk') diff --git a/customdhcpcd/src/mk/prog.mk b/customdhcpcd/src/mk/prog.mk deleted file mode 100644 index 6f2560c..0000000 --- a/customdhcpcd/src/mk/prog.mk +++ /dev/null @@ -1,34 +0,0 @@ -# rules to build a program -# based on FreeBSD's bsd.prog.mk - -# Copyright 2008 Roy Marples - -BINDIR?= ${PREFIX}/usr/bin -BINMODE?= 0755 -OBJS+= ${SRCS:.c=.o} - -INSTALL?= install - -all: ${PROG} ${MAN} - -${PROG}: ${SCRIPTS} ${OBJS} - ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LDADD} - -_proginstall: ${PROG} - ${INSTALL} -d ${DESTDIR}${BINDIR} - ${INSTALL} -m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR} - -include ${MK}/depend.mk -include ${MK}/man.mk -include ${MK}/dist.mk - -install: _proginstall maninstall - -clean: - rm -f ${OBJS} ${PROG} ${CLEANFILES} - -LINTFLAGS?= -hx -LINTFLAGS+= -X 159,247,352 - -lint: ${SRCS:.c=.c} - ${LINT} ${LINTFLAGS} ${CFLAGS:M-[DIU]*} $^ ${.ALLSRC} -- cgit v1.2.3-55-g7522