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


  33 #
  34 
  35 VERS    =
  36 
  37 include $(SRC)/lib/Makefile.lib
  38 
  39 LIBS    = $(DYNLIB)
  40 LDLIBS  += -lc
  41 LIBLINKS =
  42 
  43 MAPFILES =
  44 
  45 CPPFLAGS += -DDEBUG -DFCODE_INTERNAL
  46 CPPFLAGS += -I $(SRC)/lib/efcode/include -I $(ROOT)/usr/platform/sun4u/include
  47 DYNFLAGS += -R\$$ORIGIN
  48 
  49 CERRWARN += -_gcc=-Wno-unused-variable
  50 CERRWARN += -_gcc=-Wno-unused-function
  51 CERRWARN += -_gcc=-Wno-unused-value
  52 CERRWARN += -_gcc=-Wno-parentheses
  53 CERRWARN += -_gcc=-Wno-uninitialized
  54 CERRWARN += -_gcc=-Wno-type-limits
  55 
  56 EFCODE64DIR = /usr/lib/efcode/$(MACH64)
  57 ROOTLIBDIR = $(ROOT)/usr/lib/efcode
  58 ROOTLIBDIR64 = $(ROOT)/usr/lib/efcode/$(MACH64)
  59 ROOTSYMLINKS64 = $(SYMLINKS:%=$(ROOTLIBDIR64)/%)
  60 
  61 #
  62 # Since a number of efcode shared objects depend on fcode.so, fcdriver.so, and
  63 # fcpackage.so, provide macros that expand to their full paths.
  64 #
  65 FCODE64 = $(ROOTLIBDIR64)/fcode.so
  66 FCDRIVER64 = $(ROOTLIBDIR64)/fcdriver.so
  67 FCPACKAGE64 = $(ROOTLIBDIR64)/fcpackage.so
  68 
  69 .KEEP_STATE:
  70 
  71 all: $(LIBS)
  72 
  73 lint: lintcheck


  33 #
  34 
  35 VERS    =
  36 
  37 include $(SRC)/lib/Makefile.lib
  38 
  39 LIBS    = $(DYNLIB)
  40 LDLIBS  += -lc
  41 LIBLINKS =
  42 
  43 MAPFILES =
  44 
  45 CPPFLAGS += -DDEBUG -DFCODE_INTERNAL
  46 CPPFLAGS += -I $(SRC)/lib/efcode/include -I $(ROOT)/usr/platform/sun4u/include
  47 DYNFLAGS += -R\$$ORIGIN
  48 
  49 CERRWARN += -_gcc=-Wno-unused-variable
  50 CERRWARN += -_gcc=-Wno-unused-function
  51 CERRWARN += -_gcc=-Wno-unused-value
  52 CERRWARN += -_gcc=-Wno-parentheses
  53 CERRWARN += $(CNOWARN_UNINIT)
  54 CERRWARN += -_gcc=-Wno-type-limits
  55 
  56 EFCODE64DIR = /usr/lib/efcode/$(MACH64)
  57 ROOTLIBDIR = $(ROOT)/usr/lib/efcode
  58 ROOTLIBDIR64 = $(ROOT)/usr/lib/efcode/$(MACH64)
  59 ROOTSYMLINKS64 = $(SYMLINKS:%=$(ROOTLIBDIR64)/%)
  60 
  61 #
  62 # Since a number of efcode shared objects depend on fcode.so, fcdriver.so, and
  63 # fcpackage.so, provide macros that expand to their full paths.
  64 #
  65 FCODE64 = $(ROOTLIBDIR64)/fcode.so
  66 FCDRIVER64 = $(ROOTLIBDIR64)/fcdriver.so
  67 FCPACKAGE64 = $(ROOTLIBDIR64)/fcpackage.so
  68 
  69 .KEEP_STATE:
  70 
  71 all: $(LIBS)
  72 
  73 lint: lintcheck