27 FSTYPE = nfs
28 TYPEPROG = lockd
29 ATTMK = $(TYPEPROG)
30
31 include ../../Makefile.fstype
32
33 LOCAL = lockd.o
34 OBJS = $(LOCAL) daemon.o nfs_tbind.o smfcfg.o thrpool.o
35
36 POFILE = lockd.po
37
38 SRCS = $(LOCAL:%.o=%.c) ../lib/daemon.c ../lib/nfs_tbind.c \
39 ../lib/smfcfg.c ../lib/thrpool.c
40 LDLIBS += -lnsl -lscf
41 CPPFLAGS += -I../lib
42 CSTD = $(CSTD_GNU99)
43
44 CERRWARN += -_gcc=-Wno-parentheses
45 CERRWARN += -_gcc=-Wno-switch
46 CERRWARN += -_gcc=-Wno-unused-variable
47 CERRWARN += -_gcc=-Wno-uninitialized
48
49 # not linted
50 SMATCH=off
51
52
53 $(TYPEPROG): $(OBJS)
54 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
55 $(POST_PROCESS)
56
57 lockd.o: lockd.c
58 $(COMPILE.c) lockd.c
59
60 nfs_tbind.o: ../lib/nfs_tbind.c
61 $(COMPILE.c) ../lib/nfs_tbind.c
62
63 thrpool.o: ../lib/thrpool.c
64 $(COMPILE.c) ../lib/thrpool.c
65
66 daemon.o: ../lib/daemon.c
67 $(COMPILE.c) ../lib/daemon.c
|
27 FSTYPE = nfs
28 TYPEPROG = lockd
29 ATTMK = $(TYPEPROG)
30
31 include ../../Makefile.fstype
32
33 LOCAL = lockd.o
34 OBJS = $(LOCAL) daemon.o nfs_tbind.o smfcfg.o thrpool.o
35
36 POFILE = lockd.po
37
38 SRCS = $(LOCAL:%.o=%.c) ../lib/daemon.c ../lib/nfs_tbind.c \
39 ../lib/smfcfg.c ../lib/thrpool.c
40 LDLIBS += -lnsl -lscf
41 CPPFLAGS += -I../lib
42 CSTD = $(CSTD_GNU99)
43
44 CERRWARN += -_gcc=-Wno-parentheses
45 CERRWARN += -_gcc=-Wno-switch
46 CERRWARN += -_gcc=-Wno-unused-variable
47 CERRWARN += $(CNOWARN_UNINIT)
48
49 # not linted
50 SMATCH=off
51
52
53 $(TYPEPROG): $(OBJS)
54 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
55 $(POST_PROCESS)
56
57 lockd.o: lockd.c
58 $(COMPILE.c) lockd.c
59
60 nfs_tbind.o: ../lib/nfs_tbind.c
61 $(COMPILE.c) ../lib/nfs_tbind.c
62
63 thrpool.o: ../lib/thrpool.c
64 $(COMPILE.c) ../lib/thrpool.c
65
66 daemon.o: ../lib/daemon.c
67 $(COMPILE.c) ../lib/daemon.c
|