21 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
22 # Use is subject to license terms.
23 # Copyright 2016 Toomas Soome <tsoome@me.com>
24 #
25
26 LIBRARY = libdns_sd.a
27 VERS = .1
28 OBJECTS = dnssd_clientlib.o dnssd_clientstub.o dnssd_ipc.o
29
30 include ../../Makefile.lib
31
32 LIBS = $(DYNLIB) $(LINTLIB)
33 $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
34
35 SRCDIR = ../common
36
37 LDLIBS += -lsocket -lnsl -lc
38
39 C99MODE = $(C99_ENABLE)
40 CPPFLAGS += -I$(SRCDIR) -DNOT_HAVE_SA_LEN -D_XPG4_2 -D__EXTENSIONS__
41
42 .PARALLEL = $(OBJECTS)
43 .KEEP_STATE:
44
45 lint: lintcheck
46
47 all: $(LIBS)
48
49 include ../../Makefile.targ
|
21 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
22 # Use is subject to license terms.
23 # Copyright 2016 Toomas Soome <tsoome@me.com>
24 #
25
26 LIBRARY = libdns_sd.a
27 VERS = .1
28 OBJECTS = dnssd_clientlib.o dnssd_clientstub.o dnssd_ipc.o
29
30 include ../../Makefile.lib
31
32 LIBS = $(DYNLIB) $(LINTLIB)
33 $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
34
35 SRCDIR = ../common
36
37 LDLIBS += -lsocket -lnsl -lc
38
39 C99MODE = $(C99_ENABLE)
40 CPPFLAGS += -I$(SRCDIR) -DNOT_HAVE_SA_LEN -D_XPG4_2 -D__EXTENSIONS__
41 CPPFLAGS += -DMDNS_VERSIONSTR_NODTS
42
43 .PARALLEL = $(OBJECTS)
44 .KEEP_STATE:
45
46 lint: lintcheck
47
48 all: $(LIBS)
49
50 include ../../Makefile.targ
|