71 $(L_X86_MACHOBJS32)
72 L_MACHOBJS64 = $(L_SPARC_MACHOBJS64) \
73 $(L_X86_MACHOBJS64)
74
75
76 BLTOBJ = msg.o
77 ELFCAPOBJ = elfcap.o
78
79 OBJECTS = $(BLTOBJ) $(G_MACHOBJS32) $(G_MACHOBJS64) \
80 $(L_MACHOBJS32) $(L_MACHOBJS64) \
81 $(COMOBJS) $(COMOBJS32) $(COMOBJS64) \
82 $(TOOLOBJS) $(E_TOOLOBJS) $(AVLOBJ) $(ELFCAPOBJ)
83
84 include $(SRC)/lib/Makefile.lib
85 include $(SRC)/cmd/sgs/Makefile.com
86
87 SRCDIR = ../common
88
89 CERRWARN += -_gcc=-Wno-unused-value
90 CERRWARN += -_gcc=-Wno-parentheses
91 CERRWARN += -_gcc=-Wno-uninitialized
92 CERRWARN += -_gcc=-Wno-switch
93 CERRWARN += -_gcc=-Wno-char-subscripts
94 CERRWARN += -_gcc=-Wno-type-limits
95 $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
96
97 SMOFF += no_if_block
98
99 # Location of the shared relocation engines maintained under usr/src/uts.
100 #
101 KRTLD_I386 = $(SRCBASE)/uts/$(VAR_PLAT_i386)/krtld
102 KRTLD_AMD64 = $(SRCBASE)/uts/$(VAR_PLAT_amd64)/krtld
103 KRTLD_SPARC = $(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld
104
105
106 CPPFLAGS += -DUSE_LIBLD_MALLOC -I$(SRCBASE)/lib/libc/inc \
107 -I$(SRCBASE)/uts/common/krtld -I$(SRCBASE)/uts/sparc \
108 $(VAR_LIBLD_CPPFLAGS)
109 LDLIBS += $(CONVLIBDIR) $(CONV_LIB) $(LDDBGLIBDIR) $(LDDBG_LIB) \
110 $(ELFLIBDIR) -lelf $(DLLIB) -lc
111
|
71 $(L_X86_MACHOBJS32)
72 L_MACHOBJS64 = $(L_SPARC_MACHOBJS64) \
73 $(L_X86_MACHOBJS64)
74
75
76 BLTOBJ = msg.o
77 ELFCAPOBJ = elfcap.o
78
79 OBJECTS = $(BLTOBJ) $(G_MACHOBJS32) $(G_MACHOBJS64) \
80 $(L_MACHOBJS32) $(L_MACHOBJS64) \
81 $(COMOBJS) $(COMOBJS32) $(COMOBJS64) \
82 $(TOOLOBJS) $(E_TOOLOBJS) $(AVLOBJ) $(ELFCAPOBJ)
83
84 include $(SRC)/lib/Makefile.lib
85 include $(SRC)/cmd/sgs/Makefile.com
86
87 SRCDIR = ../common
88
89 CERRWARN += -_gcc=-Wno-unused-value
90 CERRWARN += -_gcc=-Wno-parentheses
91 CERRWARN += $(CNOWARN_UNINIT)
92 CERRWARN += -_gcc=-Wno-switch
93 CERRWARN += -_gcc=-Wno-char-subscripts
94 CERRWARN += -_gcc=-Wno-type-limits
95 $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
96
97 SMOFF += no_if_block
98
99 # Location of the shared relocation engines maintained under usr/src/uts.
100 #
101 KRTLD_I386 = $(SRCBASE)/uts/$(VAR_PLAT_i386)/krtld
102 KRTLD_AMD64 = $(SRCBASE)/uts/$(VAR_PLAT_amd64)/krtld
103 KRTLD_SPARC = $(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld
104
105
106 CPPFLAGS += -DUSE_LIBLD_MALLOC -I$(SRCBASE)/lib/libc/inc \
107 -I$(SRCBASE)/uts/common/krtld -I$(SRCBASE)/uts/sparc \
108 $(VAR_LIBLD_CPPFLAGS)
109 LDLIBS += $(CONVLIBDIR) $(CONV_LIB) $(LDDBGLIBDIR) $(LDDBG_LIB) \
110 $(ELFLIBDIR) -lelf $(DLLIB) -lc
111
|