33 inj_defn.c \
34 inj_err.c \
35 inj_hash.c \
36 inj_list.c \
37 inj_log.c \
38 inj_main.c \
39 inj_string.c \
40 inj_umem.c \
41 inj_util.c
42
43 PROG = fminject
44 ROOTPDIR = $(ROOT)/usr/lib/fm/fmd
45 ROOTPROG = $(ROOTPDIR)/$(PROG)
46 OBJS = $(SRCS:%.c=%.o) inj_grammar.o inj_lex.o
47 LINTFILES = $(SRCS:%.c=%.ln)
48 CLEANFILES += inj_grammar.c inj_grammar.h inj_lex.c y.tab.h y.tab.c
49
50 CPPFLAGS += -I. -I../common
51 CFLAGS += $(CCVERBOSE) $(CTF_FLAGS)
52 CERRWARN += -_gcc=-Wno-switch
53 CERRWARN += -_gcc=-Wno-uninitialized
54 CERRWARN += -_gcc=-Wno-type-limits
55 CERRWARN += -_gcc=-Wno-unused-label
56 CERRWARN += -_gcc=-Wno-unused-variable
57 LDLIBS += -L$(ROOT)/usr/lib/fm -lfmd_log -lsysevent -lnvpair -lumem
58 LDFLAGS += -R/usr/lib/fm
59 LINTFLAGS = -mnux
60 STRIPFLAG =
61
62 LFLAGS = -t -v
63 YFLAGS = -d
64
65 .PARALLEL: $(OBJS) $(LINTFILES)
66
67 all: $(PROG)
68
69 $(PROG): $(OBJS)
70 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
71 $(CTFMERGE) -L VERSION -o $@ $(OBJS)
72 $(POST_PROCESS)
73
|
33 inj_defn.c \
34 inj_err.c \
35 inj_hash.c \
36 inj_list.c \
37 inj_log.c \
38 inj_main.c \
39 inj_string.c \
40 inj_umem.c \
41 inj_util.c
42
43 PROG = fminject
44 ROOTPDIR = $(ROOT)/usr/lib/fm/fmd
45 ROOTPROG = $(ROOTPDIR)/$(PROG)
46 OBJS = $(SRCS:%.c=%.o) inj_grammar.o inj_lex.o
47 LINTFILES = $(SRCS:%.c=%.ln)
48 CLEANFILES += inj_grammar.c inj_grammar.h inj_lex.c y.tab.h y.tab.c
49
50 CPPFLAGS += -I. -I../common
51 CFLAGS += $(CCVERBOSE) $(CTF_FLAGS)
52 CERRWARN += -_gcc=-Wno-switch
53 CERRWARN += $(CNOWARN_UNINIT)
54 CERRWARN += -_gcc=-Wno-type-limits
55 CERRWARN += -_gcc=-Wno-unused-label
56 CERRWARN += -_gcc=-Wno-unused-variable
57 LDLIBS += -L$(ROOT)/usr/lib/fm -lfmd_log -lsysevent -lnvpair -lumem
58 LDFLAGS += -R/usr/lib/fm
59 LINTFLAGS = -mnux
60 STRIPFLAG =
61
62 LFLAGS = -t -v
63 YFLAGS = -d
64
65 .PARALLEL: $(OBJS) $(LINTFILES)
66
67 all: $(PROG)
68
69 $(PROG): $(OBJS)
70 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
71 $(CTFMERGE) -L VERSION -o $@ $(OBJS)
72 $(POST_PROCESS)
73
|