97 LINTSRC= $(LINTLIB:%.ln=%)
98 ROOTLINTDIR= $(ROOTLIBDIR)
99 ROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
100
101
102 CLEANFILES += $(LINTOUT) $(LINTLIB)
103
104 # Local Libldap definitions
105 LOCFLAGS += $(XSTRCONST) -D_REENTRANT
106
107 # Following values defined in Makefile.master are overwritten here.
108 #sparc_C_PICFLAGS = $(sparc_C_BIGPICFLAGS)
109 sparcv9_C_PICFLAGS = $(sparcv9_C_BIGPICFLAGS)
110 #i386_C_PICFLAGS = $(i386_C_BIGPICFLAGS)
111 #amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
112
113 CFLAGS += $(CCVERBOSE) $(LOCFLAGS)
114 CFLAGS64 += $(LOCFLAGS)
115
116 CERRWARN += -_gcc=-Wno-parentheses
117 CERRWARN += -_gcc=-Wno-uninitialized
118 CERRWARN += -_gcc=-Wno-type-limits
119 CERRWARN += -_gcc=-Wno-unused-function
120 CERRWARN += -_gcc=-Wno-unused-variable
121 CERRWARN += -_gcc=-Wno-unused-value
122 CERRWARN += -_gcc=-Wno-address
123
124 # not linted
125 SMATCH=off
126
127 LDLIBS += -lsasl -lsocket -lnsl -lmd -lc
128
129 .KEEP_STATE:
130
131 # include library targets
132 include ../../Makefile.targ
133
134 pics/%.o: ../sources/ldap/ber/%.c
135 $(COMPILE.c) $(LDAP_FLAGS) $(COM_INC) -o $@ $<
136 $(POST_PROCESS_O)
137
|
97 LINTSRC= $(LINTLIB:%.ln=%)
98 ROOTLINTDIR= $(ROOTLIBDIR)
99 ROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
100
101
102 CLEANFILES += $(LINTOUT) $(LINTLIB)
103
104 # Local Libldap definitions
105 LOCFLAGS += $(XSTRCONST) -D_REENTRANT
106
107 # Following values defined in Makefile.master are overwritten here.
108 #sparc_C_PICFLAGS = $(sparc_C_BIGPICFLAGS)
109 sparcv9_C_PICFLAGS = $(sparcv9_C_BIGPICFLAGS)
110 #i386_C_PICFLAGS = $(i386_C_BIGPICFLAGS)
111 #amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
112
113 CFLAGS += $(CCVERBOSE) $(LOCFLAGS)
114 CFLAGS64 += $(LOCFLAGS)
115
116 CERRWARN += -_gcc=-Wno-parentheses
117 CERRWARN += $(CNOWARN_UNINIT)
118 CERRWARN += -_gcc=-Wno-type-limits
119 CERRWARN += -_gcc=-Wno-unused-function
120 CERRWARN += -_gcc=-Wno-unused-variable
121 CERRWARN += -_gcc=-Wno-unused-value
122 CERRWARN += -_gcc=-Wno-address
123
124 # not linted
125 SMATCH=off
126
127 LDLIBS += -lsasl -lsocket -lnsl -lmd -lc
128
129 .KEEP_STATE:
130
131 # include library targets
132 include ../../Makefile.targ
133
134 pics/%.o: ../sources/ldap/ber/%.c
135 $(COMPILE.c) $(LDAP_FLAGS) $(COM_INC) -o $@ $<
136 $(POST_PROCESS_O)
137
|