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


  71 
  72 # include library definitions
  73 include $(SRC)/lib/Makefile.lib
  74 
  75 ROOTLIBDIR=     $(ROOT)/usr/ucblib
  76 ROOTLIBDIR64=   $(ROOT)/usr/ucblib/$(MACH64)
  77 
  78 LIBS = $(DYNLIB)
  79 
  80 CFLAGS  +=      $(CCVERBOSE)
  81 CFLAGS64 +=     $(CCVERBOSE)
  82 DYNFLAGS +=     $(ZINTERPOSE)
  83 DYNFLAGS32 =    -R/usr/ucblib
  84 DYNFLAGS64 =    -R/usr/ucblib/$(MACH64)
  85 LDLIBS +=       -ltermcap -lucb -lc
  86 
  87 CPPFLAGS = -I$(SRC)/ucbhead -I../../../lib/libc/inc $(CPPFLAGS.master)
  88 
  89 CERRWARN +=     -_gcc=-Wno-parentheses
  90 CERRWARN +=     -_gcc=-Wno-unused-variable
  91 CERRWARN +=     -_gcc=-Wno-uninitialized
  92 
  93 # not linted
  94 SMATCH=off
  95 
  96 .KEEP_STATE:
  97 
  98 all: $(LIBS)
  99 
 100 lint: lintcheck
 101 
 102 #
 103 # Include library targets
 104 #
 105 include $(SRC)/lib/Makefile.targ
 106 
 107 objs/%.o pics/%.o: ../%.c
 108         $(COMPILE.c) -o $@ $<
 109         $(POST_PROCESS_O)


  71 
  72 # include library definitions
  73 include $(SRC)/lib/Makefile.lib
  74 
  75 ROOTLIBDIR=     $(ROOT)/usr/ucblib
  76 ROOTLIBDIR64=   $(ROOT)/usr/ucblib/$(MACH64)
  77 
  78 LIBS = $(DYNLIB)
  79 
  80 CFLAGS  +=      $(CCVERBOSE)
  81 CFLAGS64 +=     $(CCVERBOSE)
  82 DYNFLAGS +=     $(ZINTERPOSE)
  83 DYNFLAGS32 =    -R/usr/ucblib
  84 DYNFLAGS64 =    -R/usr/ucblib/$(MACH64)
  85 LDLIBS +=       -ltermcap -lucb -lc
  86 
  87 CPPFLAGS = -I$(SRC)/ucbhead -I../../../lib/libc/inc $(CPPFLAGS.master)
  88 
  89 CERRWARN +=     -_gcc=-Wno-parentheses
  90 CERRWARN +=     -_gcc=-Wno-unused-variable
  91 CERRWARN +=     $(CNOWARN_UNINIT)
  92 
  93 # not linted
  94 SMATCH=off
  95 
  96 .KEEP_STATE:
  97 
  98 all: $(LIBS)
  99 
 100 lint: lintcheck
 101 
 102 #
 103 # Include library targets
 104 #
 105 include $(SRC)/lib/Makefile.targ
 106 
 107 objs/%.o pics/%.o: ../%.c
 108         $(COMPILE.c) -o $@ $<
 109         $(POST_PROCESS_O)