Mercurial > unleashed > wips
view usr/src/cmd/cmd-inet/usr.bin/dns-sd/Makefile @ 20584:098b1b31b21d
8886 mdns: update to mDNSResponder-878.1.1
Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
Reviewed by: Andy Fiddaman <af@citrus-it.net>
Approved by: Robert Mustacchi <rm@joyent.com>
author | Toomas Soome <tsoome@me.com> |
---|---|
date | Fri, 24 Nov 2017 14:37:01 +0200 |
parents | 17e98e7f9b7d |
children | d2c2cc412666 df98494a0c23 |
line wrap: on
line source
# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2017 Toomas Soome <tsoome@me.com> # # cmd/cmd-inet/usr.bin/dns-sd/Makefile PROG= dns-sd include ../../../Makefile.cmd include ../../Makefile.cmd-inet OBJS= ClientCommon.o dns-sd.o SRCS= ClientCommon.c dns-sd.c SRCDIR= $(SRC)/contrib/mDNSResponder CFLAGS += $(CSTD_GNU99) CPPFLAGS += -I$(SRCDIR)/mDNSShared CPPFLAGS += -DMDNS_VERSIONSTR_NODTS LDLIBS += -lsocket -ldns_sd .KEEP_STATE: all: $(PROG) ROOTPROG= $(PROG:%=$(ROOTBIN)/%) $(PROG): $(OBJS) $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(POST_PROCESS) install: all $(ROOTPROG) clean: $(RM) $(OBJS) %.o: $(SRCDIR)/Clients/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) include ../../../Makefile.targ