Print this page
NEX-3558 KRRP Integration
re #13842 make clobber leaves trash

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/devfsadm/Makefile.com
          +++ new/usr/src/cmd/devfsadm/Makefile.com
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24  
  25   25  # This target builds both a command (daemon) and various shared objects.  This
  26   26  # isn't a typical target, and the inclusion of both library and command
  27   27  # Makefiles were probably not in their original design.  However, there doesn't
  28   28  # presently seem to be a clash of any required definitions.
  29   29  include ../../../lib/Makefile.lib
  30   30  include ../../Makefile.cmd
  31   31  
  32   32  COMMON = ..
  33   33  UTSBASE = $(COMMON)/../../uts
       34 +KRRPBASE = $(COMMON)/../../common
  34   35  
  35   36  DEVFSADM_MOD = devfsadm
  36   37  
  37   38  DEVALLOCSRC =   devalloc.c
  38   39  
  39   40  PLCYSRC = devpolicy.c plcysubr.c
  40   41  
  41   42  MODLOADDIR = $(COMMON)/../modload
  42   43  
  43   44  DEVFSADM_SRC = $(COMMON)/$(DEVFSADM_MOD:%=%.c) \
↓ open down ↓ 18 lines elided ↑ open up ↑
  62   63          audio_link.o            \
  63   64          cfg_link.o              \
  64   65          misc_link.o             \
  65   66          lofi_link.o             \
  66   67          ramdisk_link.o          \
  67   68          fssnap_link.o           \
  68   69          sgen_link.o             \
  69   70          smp_link.o              \
  70   71          dtrace_link.o           \
  71   72          vscan_link.o            \
       73 +        krrp_link.o             \
  72   74          zfs_link.o              \
  73   75          zut_link.o
  74   76  
  75   77  LINK_OBJS =     $(LINK_OBJS_CMN) \
  76   78                  $(LINK_OBJS_$(MACH))
  77   79  
  78   80  LINK_SRCS =     $(LINK_OBJS_CMN:%.o=$(COMMON)/%.c) \
  79   81                  $(LINK_OBJS_$(MACH):%.o=%.c)
  80   82  
  81   83  LINT_MODULES = $(LINK_SRCS:%.c=%.ln)
  82   84  
  83   85  LINK_MODS =     $(LINK_OBJS:%.o=SUNW_%.so)
  84   86  
  85   87  DEVLINKTAB = devlink.tab
  86   88  DEVLINKTAB_SRC = $(COMMON)/$(DEVLINKTAB).sh
  87   89  
  88   90  COMPAT_LINKS = disks tapes ports audlinks devlinks drvconfig
  89   91  
  90   92  CPPFLAGS +=     -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT \
  91      -                -I$(COMMON) -I$(UTSBASE)/common -I$(MODLOADDIR)
       93 +                -I$(COMMON) -I$(UTSBASE)/common -I$(MODLOADDIR) -I$(KRRPBASE)
  92   94  CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
  93   95  
  94   96  LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
  95   97  LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
  96   98  LINTFLAGS += -erroff=E_NAME_MULTIPLY_DEF2
  97   99  
  98  100  CERRWARN += -_gcc=-Wno-uninitialized
  99  101  CERRWARN += -_gcc=-Wno-char-subscripts
 100  102  CERRWARN += -_gcc=-Wno-parentheses
 101  103  
↓ open down ↓ 121 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX