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


  30 OBJECTS = $(ASOBJS) $(MACHCOBJS) $(COBJS) $(V1_OBJS)
  31 
  32 include ../../Makefile.lib
  33 
  34 SRCS =  $(ASOBJS:%.o=../$(MACH)/%.s)    \
  35         $(MACHCOBJS:%.o=../$(MACH)/%.c) \
  36         $(V1_OBJS:%.o=../common/%.c)    \
  37         $(COBJS:%.o=../common/%.c)
  38 
  39 LIBS =          $(DYNLIB) $(LINTLIB)
  40 $(LINTLIB) :=   SRCS = ../common/llib-lcpc
  41 LDLIBS +=       -lpctx -lnvpair -lc
  42 
  43 SRCDIR =        ../common
  44 
  45 ASFLAGS +=      -P -D_ASM -I../common
  46 CPPFLAGS +=     -D_REENTRANT -I../common
  47 CFLAGS +=       $(CCVERBOSE)
  48 
  49 CERRWARN +=     -_gcc=-Wno-switch
  50 CERRWARN +=     -_gcc=-Wno-uninitialized
  51 
  52 # not linted
  53 SMATCH=off
  54 
  55 .KEEP_STATE:
  56 
  57 all: $(LIBS)
  58 
  59 lint: lintcheck
  60 
  61 include ../../Makefile.targ
  62 
  63 pics/%.o: ../$(MACH)/%.c
  64         $(COMPILE.c) -o $@ $<
  65         $(POST_PROCESS_O)
  66 
  67 pics/%.o: ../$(MACH)/%.s
  68         $(COMPILE.s) -o $@ $<
  69         $(POST_PROCESS_S_O)


  30 OBJECTS = $(ASOBJS) $(MACHCOBJS) $(COBJS) $(V1_OBJS)
  31 
  32 include ../../Makefile.lib
  33 
  34 SRCS =  $(ASOBJS:%.o=../$(MACH)/%.s)    \
  35         $(MACHCOBJS:%.o=../$(MACH)/%.c) \
  36         $(V1_OBJS:%.o=../common/%.c)    \
  37         $(COBJS:%.o=../common/%.c)
  38 
  39 LIBS =          $(DYNLIB) $(LINTLIB)
  40 $(LINTLIB) :=   SRCS = ../common/llib-lcpc
  41 LDLIBS +=       -lpctx -lnvpair -lc
  42 
  43 SRCDIR =        ../common
  44 
  45 ASFLAGS +=      -P -D_ASM -I../common
  46 CPPFLAGS +=     -D_REENTRANT -I../common
  47 CFLAGS +=       $(CCVERBOSE)
  48 
  49 CERRWARN +=     -_gcc=-Wno-switch
  50 CERRWARN +=     $(CNOWARN_UNINIT)
  51 
  52 # not linted
  53 SMATCH=off
  54 
  55 .KEEP_STATE:
  56 
  57 all: $(LIBS)
  58 
  59 lint: lintcheck
  60 
  61 include ../../Makefile.targ
  62 
  63 pics/%.o: ../$(MACH)/%.c
  64         $(COMPILE.c) -o $@ $<
  65         $(POST_PROCESS_O)
  66 
  67 pics/%.o: ../$(MACH)/%.s
  68         $(COMPILE.s) -o $@ $<
  69         $(POST_PROCESS_S_O)