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


  24 #
  25 
  26 LIBRARY =       libexacct.a
  27 VERS =          .1
  28 COMMON_OBJS =   exacct_core.o
  29 LIB_OBJS =      exacct_ops.o
  30 OBJECTS =       $(COMMON_OBJS) $(LIB_OBJS)
  31 
  32 include ../../Makefile.lib
  33 
  34 SRCS=           $(COMMON_OBJS:%.o=../../../common/exacct/%.c) \
  35                 $(LIB_OBJS:%.o=../common/%.c)
  36 
  37 LIBS =          $(DYNLIB) $(LINTLIB)
  38 LDLIBS +=       -lc
  39 
  40 SRCDIR =        ../common
  41 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  42 
  43 CFLAGS +=       $(CCVERBOSE)
  44 CERRWARN +=     -_gcc=-Wno-uninitialized
  45 CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  46 
  47 debug :=        CPPFLAGS += -DLIBEXACCT_DEBUG
  48 debug :=        COPTFLAG = $(CCGDEBUG)
  49 debug :=        COPTFLAG64 = $(CCGDEBUG)
  50 
  51 .KEEP_STATE:
  52 
  53 all debug: $(LIBS)
  54 
  55 lint: lintcheck
  56 
  57 include ../../Makefile.targ
  58 
  59 objs/%.o pics/%.o: ../../../common/exacct/%.c
  60         $(COMPILE.c) -o $@ $<
  61         $(POST_PROCESS_O)


  24 #
  25 
  26 LIBRARY =       libexacct.a
  27 VERS =          .1
  28 COMMON_OBJS =   exacct_core.o
  29 LIB_OBJS =      exacct_ops.o
  30 OBJECTS =       $(COMMON_OBJS) $(LIB_OBJS)
  31 
  32 include ../../Makefile.lib
  33 
  34 SRCS=           $(COMMON_OBJS:%.o=../../../common/exacct/%.c) \
  35                 $(LIB_OBJS:%.o=../common/%.c)
  36 
  37 LIBS =          $(DYNLIB) $(LINTLIB)
  38 LDLIBS +=       -lc
  39 
  40 SRCDIR =        ../common
  41 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  42 
  43 CFLAGS +=       $(CCVERBOSE)
  44 CERRWARN +=     $(CNOWARN_UNINIT)
  45 CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  46 
  47 debug :=        CPPFLAGS += -DLIBEXACCT_DEBUG
  48 debug :=        COPTFLAG = $(CCGDEBUG)
  49 debug :=        COPTFLAG64 = $(CCGDEBUG)
  50 
  51 .KEEP_STATE:
  52 
  53 all debug: $(LIBS)
  54 
  55 lint: lintcheck
  56 
  57 include ../../Makefile.targ
  58 
  59 objs/%.o pics/%.o: ../../../common/exacct/%.c
  60         $(COMPILE.c) -o $@ $<
  61         $(POST_PROCESS_O)