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


  42 DSP_HNAMES      = emu10k_gpr.h emu10k1_dsp.h emu10k2_dsp.h
  43 DSP_HDRS        = $(DSP_HNAMES:%=$(OBJS_DIR)/%)
  44 DSP_SNAMES      = emu10k.dsp emu10k1.mac emu10k2.mac
  45 DSP_SRCS        = $(DSP_SNAMES:%=$(DSP_SRCDIR)/%)
  46 ASM10K          = $(OBJS_DIR)/asm10k
  47 
  48 #
  49 #       Include common rules.
  50 #
  51 include $(UTSBASE)/intel/Makefile.intel
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 LDFLAGS         += -dy -Ndrv/audio -Nmisc/ac97
  61 
  62 CERRWARN        += -_gcc=-Wno-uninitialized
  63 
  64 # needs work
  65 SMOFF += all_func_returns
  66 
  67 $(OBJS_DIR)/%.o                 := CPPFLAGS += -I$(OBJS_DIR)
  68 $(OBJS_DIR)/%.ln                := CPPFLAGS += -I$(OBJS_DIR)
  69 $(OBJS_DIR)/emu10k_gpr.h        := ASM10KFLAGS = -v -0 -P gpr
  70 $(OBJS_DIR)/emu10k1_dsp.h       := ASM10KFLAGS = -v -1 -P emu10k1
  71 $(OBJS_DIR)/emu10k2_dsp.h       := MODEL10K = SBLIVE
  72 $(OBJS_DIR)/emu10k2_dsp.h       := ASM10KFLAGS = -v -2 -P emu10k2
  73 $(OBJS_DIR)/emu10k2_dsp.h       := MODEL10K = AUDIGY
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)




  42 DSP_HNAMES      = emu10k_gpr.h emu10k1_dsp.h emu10k2_dsp.h
  43 DSP_HDRS        = $(DSP_HNAMES:%=$(OBJS_DIR)/%)
  44 DSP_SNAMES      = emu10k.dsp emu10k1.mac emu10k2.mac
  45 DSP_SRCS        = $(DSP_SNAMES:%=$(DSP_SRCDIR)/%)
  46 ASM10K          = $(OBJS_DIR)/asm10k
  47 
  48 #
  49 #       Include common rules.
  50 #
  51 include $(UTSBASE)/intel/Makefile.intel
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 LDFLAGS         += -dy -Ndrv/audio -Nmisc/ac97
  61 
  62 CERRWARN        += $(CNOWARN_UNINIT)
  63 
  64 # needs work
  65 SMOFF += all_func_returns
  66 
  67 $(OBJS_DIR)/%.o                 := CPPFLAGS += -I$(OBJS_DIR)
  68 $(OBJS_DIR)/%.ln                := CPPFLAGS += -I$(OBJS_DIR)
  69 $(OBJS_DIR)/emu10k_gpr.h        := ASM10KFLAGS = -v -0 -P gpr
  70 $(OBJS_DIR)/emu10k1_dsp.h       := ASM10KFLAGS = -v -1 -P emu10k1
  71 $(OBJS_DIR)/emu10k2_dsp.h       := MODEL10K = SBLIVE
  72 $(OBJS_DIR)/emu10k2_dsp.h       := ASM10KFLAGS = -v -2 -P emu10k2
  73 $(OBJS_DIR)/emu10k2_dsp.h       := MODEL10K = AUDIGY
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)