Print this page
1575 untangle libmlrpc ... (smbsrv)

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/smbsrv/Makefile.targ
          +++ new/usr/src/lib/smbsrv/Makefile.targ
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -#ident  "%Z%%M% %I%     %E% SMI"
       25 +# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
       26 +#
  26   27  
  27   28  #
  28   29  # Common targets for smbsrv Makefiles
  29   30  #
  30   31  
  31   32  %_ndr.c: $(NDLDIR)/%.ndl
  32      -        $(NDRGEN) -Y $(CC) $<
       33 +        $(NDRGEN) -Y $(ANSI_CPP) $(CPPFLAGS) $<
  33   34  
  34   35  pics/%.o:       $(SRC)/common/smbsrv/%.c
  35   36          $(COMPILE.c) -o $@ $<
  36   37          $(POST_PROCESS_O)
  37   38  
       39 +pics/%.o := CPPFLAGS += -I$(ROOTSMBHDRDIR)/ndl
       40 +
  38   41  .KEEP_STATE:
  39   42  
  40   43  all: $(LIBS)
  41   44  
  42   45  lint: lintcheck
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX