Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  40 
  41 i386_ASMOBJS    = _setjmp.o samuldiv64.o
  42 sparc_ASMOBJS   = _setjmp.o
  43 ASMOBJS         = $($(MACH)_ASMOBJS)
  44 
  45 OBJECTS         = $(LOCOBJS) $(CMNOBJS) $(CMNUTILOBJS) $(MACHOBJS) $(ASMOBJS)
  46 
  47 include ../Makefile.com
  48 
  49 CMNDIR          = ../fs/common
  50 CMNUTILDIR      = $(TOPDIR)/common/util
  51 SRCS            = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(CMNOBJS:%.o=$(CMNDIR)/%.c) \
  52                   $(CMNUTILOBJS:%.o=$(CMNUTILDIR)/%.c) \
  53                   $($(MACH)_ASMOBJS:%.o=$(MACH)/%.s) \
  54                   $($(MACH)_OBJS:%.o=$(MACH)/%.c)
  55 
  56 LDLIBS += -lsock
  57 CPPFLAGS += $(SOCKCPPFLAGS)
  58 
  59 CERRWARN += -_gcc=-Wno-parentheses
  60 CERRWARN += -_gcc=-Wno-uninitialized
  61 
  62 objs/%.o: $(MACH)/%.s
  63           $(COMPILE.s) -o $@ $<
  64           $(POST_PROCESS_O)
  65 
  66 objs/%.o: $(MACH)/%.c
  67           $(COMPILE.c) -o $@ $<
  68           $(POST_PROCESS_O)
  69 
  70 objs/%.o: $(CMNUTILDIR)/%.c
  71           $(COMPILE.c) -o $@ $<
  72           $(POST_PROCESS_O)
  73 
  74 include ../Makefile.targ


  40 
  41 i386_ASMOBJS    = _setjmp.o samuldiv64.o
  42 sparc_ASMOBJS   = _setjmp.o
  43 ASMOBJS         = $($(MACH)_ASMOBJS)
  44 
  45 OBJECTS         = $(LOCOBJS) $(CMNOBJS) $(CMNUTILOBJS) $(MACHOBJS) $(ASMOBJS)
  46 
  47 include ../Makefile.com
  48 
  49 CMNDIR          = ../fs/common
  50 CMNUTILDIR      = $(TOPDIR)/common/util
  51 SRCS            = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(CMNOBJS:%.o=$(CMNDIR)/%.c) \
  52                   $(CMNUTILOBJS:%.o=$(CMNUTILDIR)/%.c) \
  53                   $($(MACH)_ASMOBJS:%.o=$(MACH)/%.s) \
  54                   $($(MACH)_OBJS:%.o=$(MACH)/%.c)
  55 
  56 LDLIBS += -lsock
  57 CPPFLAGS += $(SOCKCPPFLAGS)
  58 
  59 CERRWARN += -_gcc=-Wno-parentheses
  60 CERRWARN += $(CNOWARN_UNINIT)
  61 
  62 objs/%.o: $(MACH)/%.s
  63           $(COMPILE.s) -o $@ $<
  64           $(POST_PROCESS_O)
  65 
  66 objs/%.o: $(MACH)/%.c
  67           $(COMPILE.c) -o $@ $<
  68           $(POST_PROCESS_O)
  69 
  70 objs/%.o: $(CMNUTILDIR)/%.c
  71           $(COMPILE.c) -o $@ $<
  72           $(POST_PROCESS_O)
  73 
  74 include ../Makefile.targ