Print this page
4585 dladm(1m) needs a 'help' subcommand
3755 dladm show-aggr documentation
3374 usage of 'dladm' does not match to its man page


  21 #
  22 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 PROG= dladm
  27 CFGFILES= secobj.conf
  28 
  29 ROOTFS_PROG=    $(PROG)
  30 ROOTCFGDIR=     $(ROOTETC)/dladm
  31 ROOTCFGFILES=   $(CFGFILES:%=$(ROOTCFGDIR)/%)
  32 
  33 include ../Makefile.cmd
  34 
  35 XGETFLAGS += -a -x $(PROG).xcl
  36 LDLIBS += -L$(ROOT)/lib -lsocket
  37 LDLIBS += -ldladm -ldlpi -lkstat -lsecdb -lbsm -linetutil -ldevinfo
  38 LDLIBS += $(ZLAZYLOAD) -lrstp $(ZNOLAZYLOAD)
  39 
  40 CERRWARN += -_gcc=-Wno-switch
  41 CERRWARN += -_gcc=-Wno-unused-label
  42 CERRWARN += -_gcc=-Wno-uninitialized
  43 
  44 # For headers from librstp.
  45 LINTFLAGS +=    -erroff=E_TRAILING_COMMA_IN_ENUM
  46 
  47 $(ROOTCFGDIR)/secobj.conf := FILEMODE= 660
  48 
  49 lint := ZLAZYLOAD=
  50 lint := ZNOLAZYLOAD=
  51 
  52 .KEEP_STATE:
  53 
  54 all: $(ROOTFS_PROG) 
  55 
  56 install: all $(ROOTSBINPROG) $(ROOTCFGDIR) $(ROOTCFGFILES)
  57         $(RM) $(ROOTUSRSBINPROG)
  58         -$(SYMLINK) ../../sbin/$(PROG) $(ROOTUSRSBINPROG)
  59 
  60 clean:
  61 


  21 #
  22 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 PROG= dladm
  27 CFGFILES= secobj.conf
  28 
  29 ROOTFS_PROG=    $(PROG)
  30 ROOTCFGDIR=     $(ROOTETC)/dladm
  31 ROOTCFGFILES=   $(CFGFILES:%=$(ROOTCFGDIR)/%)
  32 
  33 include ../Makefile.cmd
  34 
  35 XGETFLAGS += -a -x $(PROG).xcl
  36 LDLIBS += -L$(ROOT)/lib -lsocket
  37 LDLIBS += -ldladm -ldlpi -lkstat -lsecdb -lbsm -linetutil -ldevinfo
  38 LDLIBS += $(ZLAZYLOAD) -lrstp $(ZNOLAZYLOAD)
  39 
  40 CERRWARN += -_gcc=-Wno-switch

  41 CERRWARN += -_gcc=-Wno-uninitialized
  42 
  43 # For headers from librstp.
  44 LINTFLAGS +=    -erroff=E_TRAILING_COMMA_IN_ENUM
  45 
  46 $(ROOTCFGDIR)/secobj.conf := FILEMODE= 660
  47 
  48 lint := ZLAZYLOAD=
  49 lint := ZNOLAZYLOAD=
  50 
  51 .KEEP_STATE:
  52 
  53 all: $(ROOTFS_PROG) 
  54 
  55 install: all $(ROOTSBINPROG) $(ROOTCFGDIR) $(ROOTCFGFILES)
  56         $(RM) $(ROOTUSRSBINPROG)
  57         -$(SYMLINK) ../../sbin/$(PROG) $(ROOTUSRSBINPROG)
  58 
  59 clean:
  60