Print this page
4057 Add sfxge support
Contributed by: Solarflare Communications Inc.
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andrew Rybchenko <arybchenko@solarflare.com>
Approved by: TBD


   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2013 Garrett D'Amore <garrett@damore.org>
  25 # Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  26 # Copyright 2013 Saso Kiselkov. All rights reserved.
  27 #
  28 
  29 #
  30 # uts/common/Makefile.rules
  31 #
  32 #       This Makefile defines all the file build rules for the directory
  33 # uts/common and its children. These are the source files which may
  34 # be considered common to all SunOS systems.
  35 #
  36 #       The following two-level ordering must be maintained in this file.
  37 #         Lines are sorted first in order of decreasing specificity based on
  38 #         the first directory component.  That is, sun4u rules come before
  39 #         sparc rules come before common rules.
  40 #
  41 #         Lines whose initial directory components are equal are sorted
  42 #         alphabetically by the remaining components.
  43 
  44 #


1425 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/scsi/adapters/iscsi/%.c
1426         $(COMPILE.c) -o $@ $<
1427         $(CTFCONVERT_O)
1428 
1429 $(OBJS_DIR)/%.o:                $(COMMONBASE)/iscsi/%.c
1430         $(COMPILE.c) -o $@ $<
1431         $(CTFCONVERT_O)
1432 
1433 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/inet/kifconf/%.c
1434         $(COMPILE.c) -o $@ $<
1435         $(CTFCONVERT_O)
1436 
1437 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/vr/%.c
1438         $(COMPILE.c) -o $@ $<
1439         $(CTFCONVERT_O)
1440 
1441 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/yge/%.c
1442         $(COMPILE.c) -o $@ $<
1443         $(CTFCONVERT_O)
1444 








1445 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/skd/%.c
1446         $(COMPILE.c) -o $@ $<
1447         $(CTFCONVERT_O)
1448 
1449 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/virtio/%.c
1450         $(COMPILE.c) -o $@ $<
1451         $(CTFCONVERT_O)
1452 
1453 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/vioblk/%.c
1454         $(COMPILE.c) -o $@ $<
1455         $(CTFCONVERT_O)
1456 
1457 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/vioif/%.c
1458         $(COMPILE.c) -o $@ $<
1459         $(CTFCONVERT_O)
1460 #
1461 # krtld must refer to its own bzero/bcopy until the kernel is fully linked
1462 #
1463 $(OBJS_DIR)/bootrd.o            := CPPFLAGS += -DKOBJ_OVERRIDES
1464 $(OBJS_DIR)/doreloc.o           := CPPFLAGS += -DKOBJ_OVERRIDES


2739 $(LINTS_DIR)/zlib_obj.ln:       $(ZLIB_OBJS:%.o=$(LINTS_DIR)/%.ln) \
2740                                 $(UTSBASE)/common/zmod/zlib_lint.c
2741         @($(LHEAD) $(LINT.c) -C $(LINTS_DIR)/zlib_obj \
2742             $(UTSBASE)/common/zmod/zlib_lint.c $(LTAIL))
2743 
2744 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/hxge/%.c
2745         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2746 
2747 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/tpm/%.c
2748         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2749 
2750 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/tpm/%.s
2751         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2752 
2753 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/vr/%.c
2754         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2755 
2756 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/yge/%.c
2757         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2758 






2759 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/skd/%.c
2760         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2761 
2762 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/fsreparse/%.c
2763         @($(LHEAD) $(LINT.c) $< $(LTAIL))


   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2016 Garrett D'Amore <garrett@damore.org>
  25 # Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  26 # Copyright 2013 Saso Kiselkov. All rights reserved.
  27 #
  28 
  29 #
  30 # uts/common/Makefile.rules
  31 #
  32 #       This Makefile defines all the file build rules for the directory
  33 # uts/common and its children. These are the source files which may
  34 # be considered common to all SunOS systems.
  35 #
  36 #       The following two-level ordering must be maintained in this file.
  37 #         Lines are sorted first in order of decreasing specificity based on
  38 #         the first directory component.  That is, sun4u rules come before
  39 #         sparc rules come before common rules.
  40 #
  41 #         Lines whose initial directory components are equal are sorted
  42 #         alphabetically by the remaining components.
  43 
  44 #


1425 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/scsi/adapters/iscsi/%.c
1426         $(COMPILE.c) -o $@ $<
1427         $(CTFCONVERT_O)
1428 
1429 $(OBJS_DIR)/%.o:                $(COMMONBASE)/iscsi/%.c
1430         $(COMPILE.c) -o $@ $<
1431         $(CTFCONVERT_O)
1432 
1433 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/inet/kifconf/%.c
1434         $(COMPILE.c) -o $@ $<
1435         $(CTFCONVERT_O)
1436 
1437 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/vr/%.c
1438         $(COMPILE.c) -o $@ $<
1439         $(CTFCONVERT_O)
1440 
1441 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/yge/%.c
1442         $(COMPILE.c) -o $@ $<
1443         $(CTFCONVERT_O)
1444 
1445 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/sfxge/%.c
1446         $(COMPILE.c) -o $@ $<
1447         $(CTFCONVERT_O)
1448 
1449 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/sfxge/common/%.c
1450         $(COMPILE.c) -o $@ $<
1451         $(CTFCONVERT_O)
1452 
1453 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/skd/%.c
1454         $(COMPILE.c) -o $@ $<
1455         $(CTFCONVERT_O)
1456 
1457 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/virtio/%.c
1458         $(COMPILE.c) -o $@ $<
1459         $(CTFCONVERT_O)
1460 
1461 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/vioblk/%.c
1462         $(COMPILE.c) -o $@ $<
1463         $(CTFCONVERT_O)
1464 
1465 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/vioif/%.c
1466         $(COMPILE.c) -o $@ $<
1467         $(CTFCONVERT_O)
1468 #
1469 # krtld must refer to its own bzero/bcopy until the kernel is fully linked
1470 #
1471 $(OBJS_DIR)/bootrd.o            := CPPFLAGS += -DKOBJ_OVERRIDES
1472 $(OBJS_DIR)/doreloc.o           := CPPFLAGS += -DKOBJ_OVERRIDES


2747 $(LINTS_DIR)/zlib_obj.ln:       $(ZLIB_OBJS:%.o=$(LINTS_DIR)/%.ln) \
2748                                 $(UTSBASE)/common/zmod/zlib_lint.c
2749         @($(LHEAD) $(LINT.c) -C $(LINTS_DIR)/zlib_obj \
2750             $(UTSBASE)/common/zmod/zlib_lint.c $(LTAIL))
2751 
2752 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/hxge/%.c
2753         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2754 
2755 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/tpm/%.c
2756         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2757 
2758 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/tpm/%.s
2759         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2760 
2761 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/vr/%.c
2762         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2763 
2764 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/yge/%.c
2765         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2766 
2767 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/sfxge/%.c
2768         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2769 
2770 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/sfxge/common/%.c
2771         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2772 
2773 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/skd/%.c
2774         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2775 
2776 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/fsreparse/%.c
2777         @($(LHEAD) $(LINT.c) $< $(LTAIL))