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


  68 
  69 # include ../../../lib/Makefile.lib
  70 include ../../Makefile.cmd
  71 
  72 
  73 ROOTDIRS32=     $(ROOTLIB)/iconv
  74 ROOTDIRS64=     $(ROOTLIB)/iconv/$(MACH64)
  75 ROOTITM32 =     $(ROOTDIRS32)/$(ITM)
  76 ROOTITM64 =     $(ROOTDIRS64)/$(ITM)
  77 
  78 # defined for some useful targets like clean,
  79 OBJS    = $(SRCSC1:%.c=%.o) $(YTABC:.c=.o) $(LEXYY:.c=.o)
  80 
  81 CHECKHDRS = $(HDRS%.h=%.check)
  82 
  83 CLOBBERFILES=   $(ITM) $(SRCYC)
  84 CLEANFILES =    $(OBJS) $(YTABC) $(YTABH) $(LEXYY) $(YOUT) \
  85                 $(POFILES) $(POFILE)
  86 
  87 CPPFLAGS        += -I. -I..
  88 CERRWARN        += -_gcc=-Wno-uninitialized
  89 CERRWARN        += -_gcc=-Wno-unused-label
  90 CERRWARN        += -_gcc=-Wno-switch
  91 CERRWARN        += -_gcc=-Wno-unused-variable
  92 CERRWARN        += -_gcc=-Wno-implicit-function-declaration
  93 YFLAGS          += -d -v
  94 CFLAGS          += -D_FILE_OFFSET_BITS=64
  95 
  96 # dump_expr() is too hairy
  97 SMATCH=off
  98 
  99 $(ITM) :=       CFLAGS += $(GSHARED) $(C_PICFLAGS) $(ZTEXT) -h$@
 100 $(ITM) :=       CPPFLAGS += -D_REENTRANT
 101 $(ITM) :=       sparc_CFLAGS += -xregs=no%appl
 102 $(ITM) :=       sparcv9_CFLAGS += -xregs=no%appl
 103 
 104 LDLIBS += -lgen
 105 
 106 MY_NATIVE_CPPFLAGS = -D_FILE_OFFSET_BITS=64 -I. -I..
 107 MY_NATIVE_LDFLAGS = $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%)
 108 MY_NATIVE_LDLIBS = -lgen




  68 
  69 # include ../../../lib/Makefile.lib
  70 include ../../Makefile.cmd
  71 
  72 
  73 ROOTDIRS32=     $(ROOTLIB)/iconv
  74 ROOTDIRS64=     $(ROOTLIB)/iconv/$(MACH64)
  75 ROOTITM32 =     $(ROOTDIRS32)/$(ITM)
  76 ROOTITM64 =     $(ROOTDIRS64)/$(ITM)
  77 
  78 # defined for some useful targets like clean,
  79 OBJS    = $(SRCSC1:%.c=%.o) $(YTABC:.c=.o) $(LEXYY:.c=.o)
  80 
  81 CHECKHDRS = $(HDRS%.h=%.check)
  82 
  83 CLOBBERFILES=   $(ITM) $(SRCYC)
  84 CLEANFILES =    $(OBJS) $(YTABC) $(YTABH) $(LEXYY) $(YOUT) \
  85                 $(POFILES) $(POFILE)
  86 
  87 CPPFLAGS        += -I. -I..
  88 CERRWARN        += $(CNOWARN_UNINIT)
  89 CERRWARN        += -_gcc=-Wno-unused-label
  90 CERRWARN        += -_gcc=-Wno-switch
  91 CERRWARN        += -_gcc=-Wno-unused-variable
  92 CERRWARN        += -_gcc=-Wno-implicit-function-declaration
  93 YFLAGS          += -d -v
  94 CFLAGS          += -D_FILE_OFFSET_BITS=64
  95 
  96 # dump_expr() is too hairy
  97 SMATCH=off
  98 
  99 $(ITM) :=       CFLAGS += $(GSHARED) $(C_PICFLAGS) $(ZTEXT) -h$@
 100 $(ITM) :=       CPPFLAGS += -D_REENTRANT
 101 $(ITM) :=       sparc_CFLAGS += -xregs=no%appl
 102 $(ITM) :=       sparcv9_CFLAGS += -xregs=no%appl
 103 
 104 LDLIBS += -lgen
 105 
 106 MY_NATIVE_CPPFLAGS = -D_FILE_OFFSET_BITS=64 -I. -I..
 107 MY_NATIVE_LDFLAGS = $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%)
 108 MY_NATIVE_LDLIBS = -lgen