78
79 SHAREOBJS= $(SHARESRCS:%.c=%.o)
80
81 UNSHAREOBJS= $(UNSHARESRCS:%.c=%.o)
82
83 POFILE= autofs.po
84 GREP= egrep
85 SED= sed
86
87 $(AUTO) := LDLIBS += -lnsl -lsldap -lscf
88 $(MOUNT):= LDLIBS += -lscf
89 $(TYPEPROG) := LDLIBS += -lrpcsvc -lsocket -lnsl -lsldap -lkstat -lscf
90
91 CFLAGS += $(CCVERBOSE) -D_FILE_OFFSET_BITS=64
92 CPPFLAGS= -I. -I.. -I../nfs/lib $(CPPFLAGS.master) -D_REENTRANT \
93 $(MALLOC_DEBUG)
94
95 CERRWARN += -_gcc=-Wno-parentheses
96 CERRWARN += -_gcc=-Wno-unused-variable
97 CERRWARN += -_gcc=-Wno-switch
98 CERRWARN += -_gcc=-Wno-uninitialized
99 CERRWARN += -_gcc=-Wno-unused-label
100 CERRWARN += -_gcc=-Wno-unused-function
101
102 # not linted
103 SMATCH=off
104
105 OBJS= $(AUTOOBJS) $(MOUNTOBJS) $(TYPEOBJS) \
106 $(SHAREOBJS) $(UNSHAREOBJS)
107
108 AUTOSRCS= automount.c $(COMMON:%.o=%.c) $(FSLIBSRC)
109 MOUNTSRCS= mount.c $(FSLIBSRC)
110 TYPESRCS= $(LOCAL:%.o=%.c) $(COMMON:%.o=%.c) \
111 ../nfs/lib/replica.c ../nfs/lib/nfs_sec.c \
112 ../nfs/lib/nfs_subr.c $(FSLIBSRC) ../nfs/lib/selfcheck.c \
113 ../nfs/lib/nfs_resolve.c ../nfs/lib/smfcfg.c
114 SHARESRCS= $(SHARE:%=%.c)
115 UNSHARESRCS= $(UNSHARE:%=%.c)
116 DFSHARESSRCS= $(DFSHARES:%=%.sh)
117 SRCS= $(OBJS:%.o=%.c)
118
|
78
79 SHAREOBJS= $(SHARESRCS:%.c=%.o)
80
81 UNSHAREOBJS= $(UNSHARESRCS:%.c=%.o)
82
83 POFILE= autofs.po
84 GREP= egrep
85 SED= sed
86
87 $(AUTO) := LDLIBS += -lnsl -lsldap -lscf
88 $(MOUNT):= LDLIBS += -lscf
89 $(TYPEPROG) := LDLIBS += -lrpcsvc -lsocket -lnsl -lsldap -lkstat -lscf
90
91 CFLAGS += $(CCVERBOSE) -D_FILE_OFFSET_BITS=64
92 CPPFLAGS= -I. -I.. -I../nfs/lib $(CPPFLAGS.master) -D_REENTRANT \
93 $(MALLOC_DEBUG)
94
95 CERRWARN += -_gcc=-Wno-parentheses
96 CERRWARN += -_gcc=-Wno-unused-variable
97 CERRWARN += -_gcc=-Wno-switch
98 CERRWARN += $(CNOWARN_UNINIT)
99 CERRWARN += -_gcc=-Wno-unused-label
100 CERRWARN += -_gcc=-Wno-unused-function
101
102 # not linted
103 SMATCH=off
104
105 OBJS= $(AUTOOBJS) $(MOUNTOBJS) $(TYPEOBJS) \
106 $(SHAREOBJS) $(UNSHAREOBJS)
107
108 AUTOSRCS= automount.c $(COMMON:%.o=%.c) $(FSLIBSRC)
109 MOUNTSRCS= mount.c $(FSLIBSRC)
110 TYPESRCS= $(LOCAL:%.o=%.c) $(COMMON:%.o=%.c) \
111 ../nfs/lib/replica.c ../nfs/lib/nfs_sec.c \
112 ../nfs/lib/nfs_subr.c $(FSLIBSRC) ../nfs/lib/selfcheck.c \
113 ../nfs/lib/nfs_resolve.c ../nfs/lib/smfcfg.c
114 SHARESRCS= $(SHARE:%=%.c)
115 UNSHARESRCS= $(UNSHARE:%=%.c)
116 DFSHARESSRCS= $(DFSHARES:%=%.sh)
117 SRCS= $(OBJS:%.o=%.c)
118
|