So after a chat with nicm@ we have concluded that this is not the
time to play with libc integration, we'll provide a solid mdns/dns-sd
implementation first and the decide if we need, or how to integrate
things with libc.
  I'm making libmdns a shared library again, no source changes in this
commit, only placing things back. So all that README instructions will
be changed in the next commit.
  If you wan't to play with libc, that will remain on branch mdns-libc
but will probably be deleted in the future.
diff --git a/mdnsctl/Makefile b/mdnsctl/Makefile
new file mode 100644
index 0000000..f45880c
--- /dev/null
+++ b/mdnsctl/Makefile
@@ -0,0 +1,14 @@
+PROG=	mdnsctl
+SRCS=	mdnsctl.c parser.c
+CFLAGS+= -g -Wall
+CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+= -Wmissing-declarations
+CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+CFLAGS+= -Wsign-compare
+CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../
+LDADD+= -lmdns
+DPADD+= ${LIBMDNS}
+
+#MAN=	mdnsctl.8
+
+.include <bsd.prog.mk>