Mercurial > unleashed > wips
view usr/src/cmd/cmd-inet/usr.bin/dns-sd/Makefile @ 20608:df98494a0c23
Merge illumos-gate
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Sun, 19 May 2019 15:28:21 -0400 |
parents | f7ab5379e23a 098b1b31b21d |
children | 7616bf36dcb7 |
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 += -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