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


  29 LOCOBJS =       dhcp_inittab.o dhcp_symbol.o dhcpmsg.o
  30 COMDIR =        $(SRC)/common/net/dhcp
  31 COMOBJS =       scan.o
  32 OBJECTS =       $(LOCOBJS) $(COMOBJS)
  33 
  34 include ../../Makefile.lib
  35 
  36 # install this library in the root filesystem
  37 include ../../Makefile.rootfs
  38 
  39 LIBS =          $(DYNLIB) $(LINTLIB)
  40 
  41 LDLIBS +=       -lc -lgen -linetutil -ldlpi
  42 
  43 SRCDIR =        ../common
  44 SRCS =          $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(COMOBJS:%.o=$(COMDIR)/%.c)
  45 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  46 
  47 CFLAGS +=       $(CCVERBOSE)
  48 CERRWARN +=     -_gcc=-Wno-switch
  49 CERRWARN +=     -_gcc=-Wno-uninitialized
  50 CPPFLAGS +=     -I$(COMDIR)
  51 
  52 # not linted
  53 SMATCH=off
  54 
  55 .KEEP_STATE:
  56 
  57 all: $(LIBS)
  58 
  59 lint: lintcheck
  60 
  61 pics/%.o: $(COMDIR)/%.c
  62         $(COMPILE.c) -o $@ $<
  63         $(POST_PROCESS_O)
  64 
  65 include ../../Makefile.targ


  29 LOCOBJS =       dhcp_inittab.o dhcp_symbol.o dhcpmsg.o
  30 COMDIR =        $(SRC)/common/net/dhcp
  31 COMOBJS =       scan.o
  32 OBJECTS =       $(LOCOBJS) $(COMOBJS)
  33 
  34 include ../../Makefile.lib
  35 
  36 # install this library in the root filesystem
  37 include ../../Makefile.rootfs
  38 
  39 LIBS =          $(DYNLIB) $(LINTLIB)
  40 
  41 LDLIBS +=       -lc -lgen -linetutil -ldlpi
  42 
  43 SRCDIR =        ../common
  44 SRCS =          $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(COMOBJS:%.o=$(COMDIR)/%.c)
  45 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  46 
  47 CFLAGS +=       $(CCVERBOSE)
  48 CERRWARN +=     -_gcc=-Wno-switch
  49 CERRWARN +=     $(CNOWARN_UNINIT)
  50 CPPFLAGS +=     -I$(COMDIR)
  51 
  52 # not linted
  53 SMATCH=off
  54 
  55 .KEEP_STATE:
  56 
  57 all: $(LIBS)
  58 
  59 lint: lintcheck
  60 
  61 pics/%.o: $(COMDIR)/%.c
  62         $(COMPILE.c) -o $@ $<
  63         $(POST_PROCESS_O)
  64 
  65 include ../../Makefile.targ