Print this page
4057 Add sfxge support
Contributed by Solarflare
Reviewed by: TBD
Approved by: TBD

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/Makefile.rules
          +++ new/usr/src/uts/common/Makefile.rules
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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  #
  23   23  # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24      -# Copyright 2013 Garrett D'Amore <garrett@damore.org>
       24 +# Copyright 2016 Garrett D'Amore <garrett@damore.org>
  25   25  # Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  26   26  # Copyright 2013 Saso Kiselkov. All rights reserved.
  27   27  #
  28   28  
  29   29  #
  30   30  # uts/common/Makefile.rules
  31   31  #
  32   32  #       This Makefile defines all the file build rules for the directory
  33   33  # uts/common and its children. These are the source files which may
  34   34  # be considered common to all SunOS systems.
↓ open down ↓ 1396 lines elided ↑ open up ↑
1431 1431          $(CTFCONVERT_O)
1432 1432  
1433 1433  $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/vr/%.c
1434 1434          $(COMPILE.c) -o $@ $<
1435 1435          $(CTFCONVERT_O)
1436 1436  
1437 1437  $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/yge/%.c
1438 1438          $(COMPILE.c) -o $@ $<
1439 1439          $(CTFCONVERT_O)
1440 1440  
     1441 +$(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/sfxge/%.c
     1442 +        $(COMPILE.c) -o $@ $<
     1443 +        $(CTFCONVERT_O)
     1444 +
     1445 +$(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/sfxge/common/%.c
     1446 +        $(COMPILE.c) -o $@ $<
     1447 +        $(CTFCONVERT_O)
     1448 +
     1449 +$(OBJS_DIR)/%.h.o:              $(UTSBASE)/common/io/sfxge/%.h
     1450 +        $(CP) $< $(@:%.o=%.c)
     1451 +        $(COMPILE.c) -o $@ $(@:%.o=%.c)
     1452 +        $(RM) $(@:%.o=%.c)
     1453 +        $(CTFCONVERT_O)
     1454 +
1441 1455  $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/skd/%.c
1442 1456          $(COMPILE.c) -o $@ $<
1443 1457          $(CTFCONVERT_O)
1444 1458  
1445 1459  $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/virtio/%.c
1446 1460          $(COMPILE.c) -o $@ $<
1447 1461          $(CTFCONVERT_O)
1448 1462  
1449 1463  $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/vioblk/%.c
1450 1464          $(COMPILE.c) -o $@ $<
↓ open down ↓ 1291 lines elided ↑ open up ↑
2742 2756  
2743 2757  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/tpm/%.s
2744 2758          @($(LHEAD) $(LINT.c) $< $(LTAIL))
2745 2759  
2746 2760  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/vr/%.c
2747 2761          @($(LHEAD) $(LINT.c) $< $(LTAIL))
2748 2762  
2749 2763  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/yge/%.c
2750 2764          @($(LHEAD) $(LINT.c) $< $(LTAIL))
2751 2765  
     2766 +$(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/sfxge/%.c
     2767 +        @($(LHEAD) $(LINT.c) $< $(LTAIL))
     2768 +
     2769 +$(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/sfxge/common/%.c
     2770 +        @($(LHEAD) $(LINT.c) $< $(LTAIL))
     2771 +
     2772 +$(LINTS_DIR)/%.h.ln:            $(UTSBASE)/common/io/sfxge/%.h
     2773 +        @$(CP) $< $(@:%.ln=%.c)
     2774 +        @($(LHEAD) $(LINT.c) $(@:%.ln=%.c) $(LTAIL))
     2775 +        @$(RM) $(@:%.ln=%.c)
     2776 +
2752 2777  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/skd/%.c
2753 2778          @($(LHEAD) $(LINT.c) $< $(LTAIL))
2754 2779  
2755 2780  $(LINTS_DIR)/%.ln:              $(COMMONBASE)/fsreparse/%.c
2756 2781          @($(LHEAD) $(LINT.c) $< $(LTAIL))
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX