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


  20 #
  21 #
  22 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 FSTYP_VERS=1
  27 FSTYPE=         udfs
  28 LIBPROG=        fstyp.so.${FSTYP_VERS} 
  29 
  30 include ../../../../lib/Makefile.lib
  31 include ../../Makefile.fstype
  32 
  33 # There should be a mapfile here
  34 MAPFILES =
  35 
  36 CFLAGS +=       $(C_PICFLAGS)
  37 DYNLIB=         $(LIBPROG)
  38 
  39 CERRWARN +=     -_gcc=-Wno-unused-function
  40 CERRWARN +=     -_gcc=-Wno-uninitialized
  41 
  42 LDLIBS += -lnvpair -ladm -lc
  43 
  44 LINTFLAGS += -erroff=E_STATIC_UNUSED -erroff=E_NAME_DEF_NOT_USED2
  45 LINTFLAGS64 += -erroff=E_STATIC_UNUSED -erroff=E_NAME_DEF_NOT_USED2
  46 
  47 #
  48 # Override PMAP dependency
  49 #
  50 PMAP=
  51 
  52 # No msg catalog here.
  53 POFILE=
  54 
  55 OBJS= fstyp.o ud_lib.o
  56 
  57 SRCS= $(OBJS:%.o=%.c)
  58 
  59 CPPFLAGS +=     -DFSTYP_VERS=${FSTYP_VERS} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  60 




  20 #
  21 #
  22 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 FSTYP_VERS=1
  27 FSTYPE=         udfs
  28 LIBPROG=        fstyp.so.${FSTYP_VERS} 
  29 
  30 include ../../../../lib/Makefile.lib
  31 include ../../Makefile.fstype
  32 
  33 # There should be a mapfile here
  34 MAPFILES =
  35 
  36 CFLAGS +=       $(C_PICFLAGS)
  37 DYNLIB=         $(LIBPROG)
  38 
  39 CERRWARN +=     -_gcc=-Wno-unused-function
  40 CERRWARN +=     $(CNOWARN_UNINIT)
  41 
  42 LDLIBS += -lnvpair -ladm -lc
  43 
  44 LINTFLAGS += -erroff=E_STATIC_UNUSED -erroff=E_NAME_DEF_NOT_USED2
  45 LINTFLAGS64 += -erroff=E_STATIC_UNUSED -erroff=E_NAME_DEF_NOT_USED2
  46 
  47 #
  48 # Override PMAP dependency
  49 #
  50 PMAP=
  51 
  52 # No msg catalog here.
  53 POFILE=
  54 
  55 OBJS= fstyp.o ud_lib.o
  56 
  57 SRCS= $(OBJS:%.o=%.c)
  58 
  59 CPPFLAGS +=     -DFSTYP_VERS=${FSTYP_VERS} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  60