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


  24 #
  25 
  26 LIBRARY=        libdbm.a
  27 VERS=           .1
  28 
  29 OBJECTS= dbm.o
  30 
  31 # include library definitions
  32 include $(SRC)/lib/Makefile.lib
  33 
  34 ROOTLIBDIR=     $(ROOT)/usr/ucblib
  35 ROOTLIBDIR64=   $(ROOT)/usr/ucblib/$(MACH64)
  36 
  37 LIBS = $(DYNLIB)
  38 
  39 CFLAGS  +=      $(CCVERBOSE)
  40 LDLIBS +=       -lc
  41 
  42 CPPFLAGS = -I$(SRC)/ucbhead $(CPPFLAGS.master)
  43 
  44 CERRWARN += -_gcc=-Wno-uninitialized
  45 
  46 .KEEP_STATE:
  47 
  48 all: $(LIBS)
  49 
  50 lint: lintcheck
  51 
  52 #
  53 # Include library targets
  54 #
  55 include $(SRC)/lib/Makefile.targ
  56 
  57 objs/%.o pics/%.o: ../%.c
  58         $(COMPILE.c) -o $@ $<
  59         $(POST_PROCESS_O)


  24 #
  25 
  26 LIBRARY=        libdbm.a
  27 VERS=           .1
  28 
  29 OBJECTS= dbm.o
  30 
  31 # include library definitions
  32 include $(SRC)/lib/Makefile.lib
  33 
  34 ROOTLIBDIR=     $(ROOT)/usr/ucblib
  35 ROOTLIBDIR64=   $(ROOT)/usr/ucblib/$(MACH64)
  36 
  37 LIBS = $(DYNLIB)
  38 
  39 CFLAGS  +=      $(CCVERBOSE)
  40 LDLIBS +=       -lc
  41 
  42 CPPFLAGS = -I$(SRC)/ucbhead $(CPPFLAGS.master)
  43 
  44 CERRWARN += $(CNOWARN_UNINIT)
  45 
  46 .KEEP_STATE:
  47 
  48 all: $(LIBS)
  49 
  50 lint: lintcheck
  51 
  52 #
  53 # Include library targets
  54 #
  55 include $(SRC)/lib/Makefile.targ
  56 
  57 objs/%.o pics/%.o: ../%.c
  58         $(COMPILE.c) -o $@ $<
  59         $(POST_PROCESS_O)