37 OBJECTS= $(SLDAPOBJ)
38
39 include ../../Makefile.lib
40
41 SRCS = $(SLDAPOBJ:%.o=../common/%.c)
42 LIBS = $(DYNLIB) $(LINTLIB)
43 $(LINTLIB):= SRCS=../common/llib-lsldap
44 LDLIBS += -lnsl -lldap -lscf -lc
45
46 SRCDIR = ../common
47
48 CFLAGS += $(CCVERBOSE)
49 LOCFLAGS += -D_REENTRANT -DSUNW_OPTIONS
50 CPPFLAGS += -I../common -I$(SRC)/lib/libldap5/include/ldap \
51 -I$(ADJUNCT_PROTO)/usr/include/mps $(LOCFLAGS)
52 LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
53 LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
54
55 CERRWARN += -_gcc=-Wno-parentheses
56 CERRWARN += -_gcc=-Wno-switch
57 CERRWARN += -_gcc=-Wno-uninitialized
58
59 # not linted
60 SMATCH=off
61
62 .KEEP_STATE:
63
64 all: $(LIBS)
65
66 lint: lintcheck
67
68 include ../../Makefile.targ
|
37 OBJECTS= $(SLDAPOBJ)
38
39 include ../../Makefile.lib
40
41 SRCS = $(SLDAPOBJ:%.o=../common/%.c)
42 LIBS = $(DYNLIB) $(LINTLIB)
43 $(LINTLIB):= SRCS=../common/llib-lsldap
44 LDLIBS += -lnsl -lldap -lscf -lc
45
46 SRCDIR = ../common
47
48 CFLAGS += $(CCVERBOSE)
49 LOCFLAGS += -D_REENTRANT -DSUNW_OPTIONS
50 CPPFLAGS += -I../common -I$(SRC)/lib/libldap5/include/ldap \
51 -I$(ADJUNCT_PROTO)/usr/include/mps $(LOCFLAGS)
52 LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
53 LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
54
55 CERRWARN += -_gcc=-Wno-parentheses
56 CERRWARN += -_gcc=-Wno-switch
57 CERRWARN += $(CNOWARN_UNINIT)
58
59 # not linted
60 SMATCH=off
61
62 .KEEP_STATE:
63
64 all: $(LIBS)
65
66 lint: lintcheck
67
68 include ../../Makefile.targ
|