29 LIBRARY = libadutils.a
30 VERS = .1
31 OBJECTS = adutils.o addisc.o adutils_threadfuncs.o \
32 ldap_ping.o srv_query.o
33
34 include ../../Makefile.lib
35
36 CSTD= $(CSTD_GNU99)
37 C99LMODE= -Xc99=%all
38
39 LIBS = $(DYNLIB) $(LINTLIB)
40 LDLIBS += -lldap -lresolv -lsocket -lnsl -lc
41 SRCDIR = ../common
42 $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
43
44 CFLAGS += $(CCVERBOSE)
45 CPPFLAGS += -D_REENTRANT -I$(SRCDIR)
46 CPPFLAGS += -I$(SRC)/lib/libldap5/include/ldap
47
48 CERRWARN += -_gcc=-Wno-type-limits
49 CERRWARN += -_gcc=-Wno-uninitialized
50
51 # not linted
52 SMATCH=off
53
54 .KEEP_STATE:
55
56 all: $(LIBS)
57
58 lint: lintcheck
59
60 LINTFLAGS += -erroff=E_CONSTANT_CONDITION
61 LINTFLAGS64 += -erroff=E_CONSTANT_CONDITION
62
63 include ../../Makefile.targ
|
29 LIBRARY = libadutils.a
30 VERS = .1
31 OBJECTS = adutils.o addisc.o adutils_threadfuncs.o \
32 ldap_ping.o srv_query.o
33
34 include ../../Makefile.lib
35
36 CSTD= $(CSTD_GNU99)
37 C99LMODE= -Xc99=%all
38
39 LIBS = $(DYNLIB) $(LINTLIB)
40 LDLIBS += -lldap -lresolv -lsocket -lnsl -lc
41 SRCDIR = ../common
42 $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
43
44 CFLAGS += $(CCVERBOSE)
45 CPPFLAGS += -D_REENTRANT -I$(SRCDIR)
46 CPPFLAGS += -I$(SRC)/lib/libldap5/include/ldap
47
48 CERRWARN += -_gcc=-Wno-type-limits
49 CERRWARN += $(CNOWARN_UNINIT)
50
51 # not linted
52 SMATCH=off
53
54 .KEEP_STATE:
55
56 all: $(LIBS)
57
58 lint: lintcheck
59
60 LINTFLAGS += -erroff=E_CONSTANT_CONDITION
61 LINTFLAGS64 += -erroff=E_CONSTANT_CONDITION
62
63 include ../../Makefile.targ
|