33 OBJECTS = $(LIBOBJS) $(OTHOBJS)
34
35 include ../../../Makefile.lib
36
37 ROOTLIBDIR = $(ROOT)/usr/lib/fs/nfs
38 ROOTLIBDIR64 = $(ROOT)/usr/lib/fs/nfs/$(MACH64)
39
40 LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
41 # we don't want to lint the sources for OTHOBJS since they are pre-existing files
42 # that are not lint free.
43 lintcheck := SRCS = $(LIBSRCS)
44
45 LIBS = $(DYNLIB)
46 LDLIBS += -lshare -lnsl -lscf -lumem -lc -lxml2
47
48 #add nfs/lib directory as part of the include path
49 CFLAGS += $(CCVERBOSE)
50 CERRWARN += -_gcc=-Wno-parentheses
51 CERRWARN += -_gcc=-Wno-switch
52 CERRWARN += -_gcc=-Wno-unused-variable
53 CERRWARN += -_gcc=-Wno-uninitialized
54 CPPFLAGS += -D_REENTRANT -I$(NFSLIB_DIR) \
55 -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I$(SRCDIR)/../common
56
57 # not linted
58 SMATCH=off
59
60 .KEEP_STATE:
61
62 all: $(LIBS)
63
64 install: all
65
66 lint: lintcheck
67
68 pics/%.o: $(NFSLIB_DIR)/%.c
69 $(COMPILE.c) -o $@ $<
70 $(POST_PROCESS_O)
71
72 include ../../../Makefile.targ
|
33 OBJECTS = $(LIBOBJS) $(OTHOBJS)
34
35 include ../../../Makefile.lib
36
37 ROOTLIBDIR = $(ROOT)/usr/lib/fs/nfs
38 ROOTLIBDIR64 = $(ROOT)/usr/lib/fs/nfs/$(MACH64)
39
40 LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
41 # we don't want to lint the sources for OTHOBJS since they are pre-existing files
42 # that are not lint free.
43 lintcheck := SRCS = $(LIBSRCS)
44
45 LIBS = $(DYNLIB)
46 LDLIBS += -lshare -lnsl -lscf -lumem -lc -lxml2
47
48 #add nfs/lib directory as part of the include path
49 CFLAGS += $(CCVERBOSE)
50 CERRWARN += -_gcc=-Wno-parentheses
51 CERRWARN += -_gcc=-Wno-switch
52 CERRWARN += -_gcc=-Wno-unused-variable
53 CERRWARN += $(CNOWARN_UNINIT)
54 CPPFLAGS += -D_REENTRANT -I$(NFSLIB_DIR) \
55 -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I$(SRCDIR)/../common
56
57 # not linted
58 SMATCH=off
59
60 .KEEP_STATE:
61
62 all: $(LIBS)
63
64 install: all
65
66 lint: lintcheck
67
68 pics/%.o: $(NFSLIB_DIR)/%.c
69 $(COMPILE.c) -o $@ $<
70 $(POST_PROCESS_O)
71
72 include ../../../Makefile.targ
|