51 $(ROOTSVCNETWORK)/isns_server.xml := FILEMODE = 0444
52
53 CFLAGS += $(CCVERBOSE)
54 CPPFLAGS += -I./ -I$(ADJUNCT_PROTO)/usr/include/libxml2
55 CPPFLAGS += -DTARGET_DATA_STORE=$(DATA_STORE)
56 CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS
57 LINTFLAGS += -xerroff=E_BAD_PTR_CAST_ALIGN
58 LINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2
59 LINTFLAGS += -xerroff=E_CASE_FALLTHRU
60
61 CERRWARN += -_gcc=-Wno-char-subscripts
62 CERRWARN += -_gcc=-Wno-ignored-qualifiers
63 CERRWARN += -_gcc=-Wno-uninitialized
64 CERRWARN += -_gcc=-Wno-implicit-function-declaration
65
66 CLOBBERFILES += $(DTRACE_HEADER)
67
68 obj.o := CERRWARN += -erroff=E_CONST_OBJ_SHOULD_HAVE_INITIZR
69 obj.o := CERRWARN += -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
70
71 LDLIBS += -lsecdb -lsocket -lnsl -lscf -lxml2
72
73 .KEEP_STATE:
74
75 all: $(PROG)
76
77 $(PROG): $(OBJS)
78 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
79 $(POST_PROCESS)
80
81 %.h: %.d
82 $(DTRACE) -h -s $< -o $@
83
84 %.o: %.c $(DTRACE_HEADER)
85 $(COMPILE.c) $<
86 $(POST_PROCESS_O)
87
88 %.o: %.d $(COBJS)
89 $(COMPILE.d) -s $< $(COBJS)
90 $(POST_PROCESS_O)
91
|
51 $(ROOTSVCNETWORK)/isns_server.xml := FILEMODE = 0444
52
53 CFLAGS += $(CCVERBOSE)
54 CPPFLAGS += -I./ -I$(ADJUNCT_PROTO)/usr/include/libxml2
55 CPPFLAGS += -DTARGET_DATA_STORE=$(DATA_STORE)
56 CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS
57 LINTFLAGS += -xerroff=E_BAD_PTR_CAST_ALIGN
58 LINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2
59 LINTFLAGS += -xerroff=E_CASE_FALLTHRU
60
61 CERRWARN += -_gcc=-Wno-char-subscripts
62 CERRWARN += -_gcc=-Wno-ignored-qualifiers
63 CERRWARN += -_gcc=-Wno-uninitialized
64 CERRWARN += -_gcc=-Wno-implicit-function-declaration
65
66 CLOBBERFILES += $(DTRACE_HEADER)
67
68 obj.o := CERRWARN += -erroff=E_CONST_OBJ_SHOULD_HAVE_INITIZR
69 obj.o := CERRWARN += -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
70
71 LDLIBS += -lsecdb -lsocket -lnsl -lscf
72
73 # libxml2 has no lint library, so we can only include this while building
74 $(PROG) := LDLIBS += -lxml2
75
76 .KEEP_STATE:
77
78 all: $(PROG)
79
80 $(PROG): $(OBJS)
81 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
82 $(POST_PROCESS)
83
84 %.h: %.d
85 $(DTRACE) -h -s $< -o $@
86
87 %.o: %.c $(DTRACE_HEADER)
88 $(COMPILE.c) $<
89 $(POST_PROCESS_O)
90
91 %.o: %.d $(COBJS)
92 $(COMPILE.d) -s $< $(COBJS)
93 $(POST_PROCESS_O)
94
|