99
100 CERRWARN += -_gcc=-Wno-uninitialized
101 CERRWARN += -_gcc=-Wno-unused-variable
102
103 CPPFLAGS += -D__EXTENSIONS__ -D_REENTRANT -DMIA \
104 -I$(SRCDIR) -I.. \
105 -I$(SRC)/uts/common \
106 -I$(SRC)/common/smbclnt
107
108 # Debugging
109 ${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
110
111 # uncomment these for dbx debugging
112 #COPTFLAG = -g
113 #CTF_FLAGS =
114 #CTFCONVERT_O=
115 #CTFMERGE_LIB=
116
117 # Filter out the less important lint.
118 # See lgrep.awk
119 LGREP = nawk -f $(SRCDIR)/lgrep.awk
120 LTAIL += 2>&1 | $(LGREP)
121
122 all: $(LIBS)
123
124 lint: lintcheck_t
125
126 include ../../Makefile.targ
127
128 lintcheck_t: $$(SRCS)
129 $(LINT.c) $(LINTCHECKFLAGS) $(SRCS) $(LDLIBS) $(LTAIL)
130
131 objs/%.o pics/%.o: $(CMNDIR)/%.c
132 $(COMPILE.c) -o $@ $<
133 $(POST_PROCESS_O)
134
135 .KEEP_STATE:
|
99
100 CERRWARN += -_gcc=-Wno-uninitialized
101 CERRWARN += -_gcc=-Wno-unused-variable
102
103 CPPFLAGS += -D__EXTENSIONS__ -D_REENTRANT -DMIA \
104 -I$(SRCDIR) -I.. \
105 -I$(SRC)/uts/common \
106 -I$(SRC)/common/smbclnt
107
108 # Debugging
109 ${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
110
111 # uncomment these for dbx debugging
112 #COPTFLAG = -g
113 #CTF_FLAGS =
114 #CTFCONVERT_O=
115 #CTFMERGE_LIB=
116
117 # Filter out the less important lint.
118 # See lgrep.awk
119 LGREP = /usr/xpg4/bin/awk -f $(SRCDIR)/lgrep.awk
120 LTAIL += 2>&1 | $(LGREP)
121
122 all: $(LIBS)
123
124 lint: lintcheck_t
125
126 include ../../Makefile.targ
127
128 lintcheck_t: $$(SRCS)
129 $(LINT.c) $(LINTCHECKFLAGS) $(SRCS) $(LDLIBS) $(LTAIL)
130
131 objs/%.o pics/%.o: $(CMNDIR)/%.c
132 $(COMPILE.c) -o $@ $<
133 $(POST_PROCESS_O)
134
135 .KEEP_STATE:
|