37
38 COMOBJ64 = elfdump64.o fake_shdr64.o
39
40 TOOLOBJ = leb128.o
41
42 BLTOBJ = msg.o
43
44 OBJS= $(BLTOBJ) $(COMOBJ) $(COMOBJ32) $(COMOBJ64) $(TOOLOBJ)
45
46 MAPFILE= $(MAPFILE.NGB)
47 MAPOPT= $(MAPFILE:%=-M%)
48
49 CPPFLAGS= -I. -I../common -I../../include -I../../include/$(MACH) \
50 -I$(SRCBASE)/lib/libc/inc -I$(SRCBASE)/uts/$(ARCH)/sys \
51 $(CPPFLAGS.master) -I$(ELFCAP)
52 LLDFLAGS = $(VAR_ELFDUMP_LLDFLAGS)
53 LLDFLAGS64 = $(VAR_ELFDUMP_LLDFLAGS64)
54 LDFLAGS += $(VERSREF) $(CC_USE_PROTO) $(MAPOPT) $(LLDFLAGS)
55 LDLIBS += $(ELFLIBDIR) -lelf $(LDDBGLIBDIR) $(LDDBG_LIB) \
56 $(CONVLIBDIR) $(CONV_LIB)
57
58 LINTFLAGS += -x
59 LINTFLAGS64 += -x
60
61 CERRWARN += -_gcc=-Wno-uninitialized
62
63 BLTDEFS = msg.h
64 BLTDATA = msg.c
65 BLTMESG = $(SGSMSGDIR)/elfdump
66
67 BLTFILES = $(BLTDEFS) $(BLTDATA) $(BLTMESG)
68
69 SGSMSGCOM = ../common/elfdump.msg
70 SGSMSGTARG = $(SGSMSGCOM)
71 SGSMSGALL = $(SGSMSGCOM)
72 SGSMSGFLAGS += -h $(BLTDEFS) -d $(BLTDATA) -m $(BLTMESG) -n elfdump_msg
73
74 SRCS = $(COMOBJ:%.o=../common/%.c) \
75 $(COMOBJ32:%32.o=../common/%.c) \
76 $(TOOLOBJ:%.o=../../tools/common/%.c) $(BLTDATA)
|
37
38 COMOBJ64 = elfdump64.o fake_shdr64.o
39
40 TOOLOBJ = leb128.o
41
42 BLTOBJ = msg.o
43
44 OBJS= $(BLTOBJ) $(COMOBJ) $(COMOBJ32) $(COMOBJ64) $(TOOLOBJ)
45
46 MAPFILE= $(MAPFILE.NGB)
47 MAPOPT= $(MAPFILE:%=-M%)
48
49 CPPFLAGS= -I. -I../common -I../../include -I../../include/$(MACH) \
50 -I$(SRCBASE)/lib/libc/inc -I$(SRCBASE)/uts/$(ARCH)/sys \
51 $(CPPFLAGS.master) -I$(ELFCAP)
52 LLDFLAGS = $(VAR_ELFDUMP_LLDFLAGS)
53 LLDFLAGS64 = $(VAR_ELFDUMP_LLDFLAGS64)
54 LDFLAGS += $(VERSREF) $(CC_USE_PROTO) $(MAPOPT) $(LLDFLAGS)
55 LDLIBS += $(ELFLIBDIR) -lelf $(LDDBGLIBDIR) $(LDDBG_LIB) \
56 $(CONVLIBDIR) $(CONV_LIB)
57
58 NATIVE_LDFLAGS = $(LDCHECKS) -Bdirect -zassert-deflib=libc.so
59
60 LINTFLAGS += -x
61 LINTFLAGS64 += -x
62
63 CERRWARN += -_gcc=-Wno-uninitialized
64
65 BLTDEFS = msg.h
66 BLTDATA = msg.c
67 BLTMESG = $(SGSMSGDIR)/elfdump
68
69 BLTFILES = $(BLTDEFS) $(BLTDATA) $(BLTMESG)
70
71 SGSMSGCOM = ../common/elfdump.msg
72 SGSMSGTARG = $(SGSMSGCOM)
73 SGSMSGALL = $(SGSMSGCOM)
74 SGSMSGFLAGS += -h $(BLTDEFS) -d $(BLTDATA) -m $(BLTMESG) -n elfdump_msg
75
76 SRCS = $(COMOBJ:%.o=../common/%.c) \
77 $(COMOBJ32:%32.o=../common/%.c) \
78 $(TOOLOBJ:%.o=../../tools/common/%.c) $(BLTDATA)
|