25 # cmd/cmd-inet/usr.sbin/kssl/kssladm/Makefile
26 #
27
28 PROG= kssladm
29
30 include $(SRC)/cmd/Makefile.cmd
31
32 OBJS = \
33 kssladm.o \
34 kssladm_create.o \
35 kssladm_delete.o \
36 ksslutil.o
37
38 SRCS = $(OBJS:%.o=%.c)
39
40 ROOTUSRLIBPROG = $(PROG:%=$(ROOTLIB)/%)
41
42 .KEEP_STATE:
43
44 CFLAGS += $(CCVERBOSE)
45 CERRWARN += -_gcc=-Wno-uninitialized
46 CERRWARN += -_gcc=-Wno-address
47
48 LDLIBS += -lkmf -lpkcs11 -lcryptoutil -lnsl -lsocket
49
50 all: $(PROG)
51
52 $(PROG): $(OBJS)
53 $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
54 $(POST_PROCESS)
55
56 install: all $(ROOTUSRLIBPROG)
57
58 clean:
59 $(RM) $(OBJS)
60
61 check:
62 $(CSTYLE) -pP $(SRCS)
63
64 lint: lint_SRCS
65
|
25 # cmd/cmd-inet/usr.sbin/kssl/kssladm/Makefile
26 #
27
28 PROG= kssladm
29
30 include $(SRC)/cmd/Makefile.cmd
31
32 OBJS = \
33 kssladm.o \
34 kssladm_create.o \
35 kssladm_delete.o \
36 ksslutil.o
37
38 SRCS = $(OBJS:%.o=%.c)
39
40 ROOTUSRLIBPROG = $(PROG:%=$(ROOTLIB)/%)
41
42 .KEEP_STATE:
43
44 CFLAGS += $(CCVERBOSE)
45 CERRWARN += $(CNOWARN_UNINIT)
46 CERRWARN += -_gcc=-Wno-address
47
48 LDLIBS += -lkmf -lpkcs11 -lcryptoutil -lnsl -lsocket
49
50 all: $(PROG)
51
52 $(PROG): $(OBJS)
53 $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
54 $(POST_PROCESS)
55
56 install: all $(ROOTUSRLIBPROG)
57
58 clean:
59 $(RM) $(OBJS)
60
61 check:
62 $(CSTYLE) -pP $(SRCS)
63
64 lint: lint_SRCS
65
|