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


  28 LIBRARY =       libads.a
  29 VERS =          .1
  30 LINT_OBJECTS =  dsgetdc.o poke.o
  31 OBJECTS =       $(LINT_OBJECTS) adspriv_xdr.o
  32 
  33 include ../../Makefile.lib
  34 
  35 CSTD=   $(CSTD_GNU99)
  36 C99LMODE=       -Xc99=%all
  37 
  38 LIBS =          $(DYNLIB) $(LINTLIB)
  39 LDLIBS +=       -lnsl -lc
  40 SRCDIR =        ../common
  41 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  42 
  43 CFLAGS +=       $(CCVERBOSE)
  44 CPPFLAGS +=     -D_REENTRANT -I$(SRCDIR) -I..
  45 # CPPFLAGS +=   -I$(SRC)/lib/libldap5/include/ldap
  46 
  47 CERRWARN +=     -_gcc=-Wno-type-limits
  48 CERRWARN +=     -_gcc=-Wno-uninitialized
  49 CERRWARN +=     -_gcc=-Wno-unused-variable
  50 
  51 .KEEP_STATE:
  52 
  53 all: $(LIBS)
  54 
  55 lint := OBJECTS = $(LINT_OBJECTS)
  56 
  57 lint: lintcheck
  58 
  59 #LINTFLAGS += -erroff=E_CONSTANT_CONDITION
  60 #LINTFLAGS64 += -erroff=E_CONSTANT_CONDITION
  61 
  62 include ../../Makefile.targ


  28 LIBRARY =       libads.a
  29 VERS =          .1
  30 LINT_OBJECTS =  dsgetdc.o poke.o
  31 OBJECTS =       $(LINT_OBJECTS) adspriv_xdr.o
  32 
  33 include ../../Makefile.lib
  34 
  35 CSTD=   $(CSTD_GNU99)
  36 C99LMODE=       -Xc99=%all
  37 
  38 LIBS =          $(DYNLIB) $(LINTLIB)
  39 LDLIBS +=       -lnsl -lc
  40 SRCDIR =        ../common
  41 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  42 
  43 CFLAGS +=       $(CCVERBOSE)
  44 CPPFLAGS +=     -D_REENTRANT -I$(SRCDIR) -I..
  45 # CPPFLAGS +=   -I$(SRC)/lib/libldap5/include/ldap
  46 
  47 CERRWARN +=     -_gcc=-Wno-type-limits
  48 CERRWARN +=     $(CNOWARN_UNINIT)
  49 CERRWARN +=     -_gcc=-Wno-unused-variable
  50 
  51 .KEEP_STATE:
  52 
  53 all: $(LIBS)
  54 
  55 lint := OBJECTS = $(LINT_OBJECTS)
  56 
  57 lint: lintcheck
  58 
  59 #LINTFLAGS += -erroff=E_CONSTANT_CONDITION
  60 #LINTFLAGS64 += -erroff=E_CONSTANT_CONDITION
  61 
  62 include ../../Makefile.targ