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.
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.
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]
23 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2011, 2014 by Delphix. All rights reserved.
25 # Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
26 # Copyright 2018 Nexenta Systems, Inc.
27 # Copyright 2016 Garrett D'Amore <garrett@damore.org>
28 # Copyright (c) 2017, Joyent, Inc.
29 # Copyright 2016 OmniTI Computer Consulting, Inc. All rights reserved.
30 # Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
34 # This Makefile defines all file modules for the directory uts/common
35 # and its children. These are the source files which may be considered
36 # common to all SunOS systems.
90 CORE_OBJS += $(COMMON_CORE_OBJS) $($(MACH)_CORE_OBJS)
92 ZLIB_OBJS = zutil.o zmod.o zmod_subr.o \
93 adler32.o crc32.o deflate.o inffast.o \
94 inflate.o inftrees.o trees.o
243 nvpair_alloc_system.o \
244 nvpair_alloc_fixed.o \
407 # Stubs for the stand-alone linker/loader
409 sparc_GENSTUBS_OBJS = \
414 COMMON_GENSTUBS_OBJS =
416 GENSTUBS_OBJS += $(COMMON_GENSTUBS_OBJS) $($(MACH)_GENSTUBS_OBJS)
419 # DTrace and DTrace Providers
421 DTRACE_OBJS += dtrace.o dtrace_isa.o dtrace_asm.o
423 SDT_OBJS += sdt_subr.o
425 PROFILE_OBJS += profile.o
427 SYSTRACE_OBJS += systrace.o
429 LOCKSTAT_OBJS += lockstat.o
431 FASTTRAP_OBJS += fasttrap.o fasttrap_isa.o
436 # Driver (pseudo-driver) Modules
440 AUDIO_OBJS += audio_client.o audio_ddi.o audio_engine.o \
441 audio_fltdata.o audio_format.o audio_ctrl.o \
442 audio_grc3.o audio_output.o audio_input.o \
443 audio_oss.o audio_sun.o
445 AUDIOEMU10K_OBJS += audioemu10k.o
447 AUDIOENS_OBJS += audioens.o
449 AUDIOVIA823X_OBJS += audiovia823x.o
451 AUDIO1575_OBJS += audio1575.o
453 AUDIO810_OBJS += audio810.o
455 AUDIOCMI_OBJS += audiocmi.o
457 AUDIOCMIHD_OBJS += audiocmihd.o
459 AUDIOHD_OBJS += audiohd.o
461 AUDIOIXP_OBJS += audioixp.o
463 AUDIOLS_OBJS += audiols.o
465 AUDIOP16X_OBJS += audiop16x.o
467 AUDIOPCI_OBJS += audiopci.o
469 AUDIOSOLO_OBJS += audiosolo.o
471 AUDIOTS_OBJS += audiots.o
473 AC97_OBJS += ac97.o ac97_ad.o ac97_alc.o ac97_cmi.o
475 BLKDEV_OBJS += blkdev.o
477 CONSKBD_OBJS += conskbd.o
479 CONSMS_OBJS += consms.o
481 OLDPTY_OBJS += tty_ptyconf.o
483 PTC_OBJS += tty_pty.o
485 PTSL_OBJS += tty_pts.o
491 PTY_OBJS += ptms_conf.o
495 MD4_OBJS += md4.o md4_mod.o
497 MD5_OBJS += md5.o md5_mod.o
499 SHA1_OBJS += sha1.o sha1_mod.o
501 SHA2_OBJS += sha2.o sha2_mod.o
503 SKEIN_OBJS += skein.o skein_block.o skein_iv.o skein_mod.o
505 EDONR_OBJS += edonr.o edonr_mod.o
507 IPGPC_OBJS += classifierddi.o classifier.o filters.o trie.o table.o \
510 DSCPMK_OBJS += dscpmk.o dscpmkddi.o
512 DLCOSMK_OBJS += dlcosmk.o dlcosmkddi.o
514 FLOWACCT_OBJS += flowacctddi.o flowacct.o
516 TOKENMT_OBJS += tokenmt.o tokenmtddi.o
518 TSWTCL_OBJS += tswtcl.o tswtclddi.o
522 ICMP_OBJS += icmpddi.o
524 ICMP6_OBJS += icmp6ddi.o
528 IP_ICMP_OBJS = icmp.o icmp_opt_data.o
529 IP_RTS_OBJS = rts.o rts_opt_data.o
530 IP_TCP_OBJS = tcp.o tcp_fusion.o tcp_opt_data.o tcp_sack.o tcp_stats.o \
531 tcp_misc.o tcp_timers.o tcp_time_wait.o tcp_tpi.o tcp_output.o \
532 tcp_input.o tcp_socket.o tcp_bind.o tcp_tunables.o
533 IP_UDP_OBJS = udp.o udp_opt_data.o udp_tunables.o udp_stats.o
534 IP_SCTP_OBJS = sctp.o sctp_opt_data.o sctp_output.o \
535 sctp_init.o sctp_input.o sctp_cookie.o \
536 sctp_conn.o sctp_error.o sctp_snmp.o \
537 sctp_tunables.o sctp_shutdown.o sctp_common.o \
538 sctp_timer.o sctp_heartbeat.o sctp_hash.o \
539 sctp_bind.o sctp_notify.o sctp_asconf.o \
540 sctp_addr.o ip_netinfo.o sctp_misc.o
541 IP_ILB_OBJS = ilb.o ilb_nat.o ilb_conn.o ilb_alg_hash.o ilb_alg_rr.o
543 IP_OBJS += igmp.o ipmp.o ip.o ip6.o ip6_asp.o ip6_if.o ip6_ire.o \
544 ip6_rts.o ip_if.o ip_ire.o ip_listutils.o ip_mroute.o \
545 ip_multi.o ip2mac.o ip_ndp.o ip_rts.o ip_srcid.o \
546 ipddi.o ipdrop.o mi.o nd.o tunables.o optcom.o snmpcom.o \
547 ipsec_loader.o spd.o ipclassifier.o inet_common.o ip_squeue.o \
548 squeue.o ip_sadb.o ip_ftable.o proto_set.o radix.o ip_dummy.o \
549 ip_helper_stream.o ip_tunables.o \
550 ip_output.o ip_input.o ip6_input.o ip6_output.o ip_arp.o \
551 conn_opt.o ip_attr.o ip_dce.o \
563 NETI_OBJS += neti_impl.o neti_mod.o neti_stack.o
565 KEYSOCK_OBJS += keysockddi.o keysock.o keysock_opt_data.o
567 IPNET_OBJS += ipnet.o ipnet_bpf.o
569 SPDSOCK_OBJS += spdsockddi.o spdsock.o spdsock_opt_data.o
571 IPSECESP_OBJS += ipsecespddi.o ipsecesp.o
573 IPSECAH_OBJS += ipsecahddi.o ipsecah.o sadb.o
575 SPPP_OBJS += sppp.o sppp_dlpi.o sppp_mod.o s_common.o
577 SPPPTUN_OBJS += sppptun.o sppptun_mod.o
579 SPPPASYN_OBJS += spppasyn.o spppasyn_mod.o
581 SPPPCOMP_OBJS += spppcomp.o spppcomp_mod.o deflate.o bsd-comp.o vjcompress.o \
586 TCP6_OBJS += tcp6ddi.o
588 RDS_OBJS += rdsddi.o rdssubr.o rds_opt.o rds_ioctl.o
590 RDSIB_OBJS += rdsib.o rdsib_ib.o rdsib_cm.o rdsib_ep.o rdsib_buf.o \
591 rdsib_debug.o rdsib_sc.o
593 RDSV3_OBJS += af_rds.o rdsv3_ddi.o bind.o loop.o threads.o connection.o \
594 transport.o cong.o sysctl.o message.o rds_recv.o send.o \
595 stats.o info.o page.o rdma_transport.o ib_ring.o ib_rdma.o \
596 ib_recv.o ib.o ib_send.o ib_sysctl.o ib_stats.o ib_cm.o \
597 rdsv3_sc.o rdsv3_debug.o rdsv3_impl.o rdma.o rdsv3_af_thr.o
599 ISER_OBJS += iser.o iser_cm.o iser_cq.o iser_ib.o iser_idm.o \
600 iser_resource.o iser_xfer.o
604 UDP6_OBJS += udp6ddi.o
610 TCOO_OBJS += ticotsord.o
618 BPF_OBJS += bpf.o bpf_filter.o bpf_mod.o bpf_dlt.o bpf_mac.o
620 CLONE_OBJS += clone.o
624 DLD_OBJS += dld_drv.o dld_proto.o dld_str.o dld_flow.o
626 DLS_OBJS += dls.o dls_link.o dls_mod.o dls_stat.o dls_mgmt.o
628 GLD_OBJS += gld.o gldutil.o
630 MAC_OBJS += mac.o mac_bcast.o mac_client.o mac_datapath_setup.o mac_flow.o \
631 mac_hio.o mac_mod.o mac_ndd.o mac_provider.o mac_sched.o \
632 mac_protect.o mac_soft_ring.o mac_stat.o mac_util.o
634 MAC_6TO4_OBJS += mac_6to4.o
636 MAC_ETHER_OBJS += mac_ether.o
638 MAC_IPV4_OBJS += mac_ipv4.o
640 MAC_IPV6_OBJS += mac_ipv6.o
642 MAC_WIFI_OBJS += mac_wifi.o
644 MAC_IB_OBJS += mac_ib.o
646 IPTUN_OBJS += iptun_dev.o iptun_ctl.o iptun.o
648 AGGR_OBJS += aggr_dev.o aggr_ctl.o aggr_grp.o aggr_port.o \
649 aggr_send.o aggr_recv.o aggr_lacp.o
651 SOFTMAC_OBJS += softmac_main.o softmac_ctl.o softmac_capab.o \
652 softmac_dev.o softmac_stat.o softmac_pkt.o softmac_fp.o
654 VNIC_OBJS += vnic_ctl.o vnic_dev.o
656 SIMNET_OBJS += simnet.o
658 IB_OBJS += ibnex.o ibnex_ioctl.o ibnex_hca.o
660 IBCM_OBJS += ibcm_impl.o ibcm_sm.o ibcm_ti.o ibcm_utils.o ibcm_path.o \
661 ibcm_arp.o ibcm_arp_link.o
665 IBDMA_OBJS += ibdma.o
667 IBMF_OBJS += ibmf.o ibmf_impl.o ibmf_dr.o ibmf_wqe.o ibmf_ud_dest.o ibmf_mod.o \
668 ibmf_send.o ibmf_recv.o ibmf_handlers.o ibmf_trans.o \
669 ibmf_timers.o ibmf_msg.o ibmf_utils.o ibmf_rmpp.o \
670 ibmf_saa.o ibmf_saa_impl.o ibmf_saa_utils.o ibmf_saa_events.o
672 IBTL_OBJS += ibtl_impl.o ibtl_util.o ibtl_mem.o ibtl_handlers.o ibtl_qp.o \
673 ibtl_cq.o ibtl_wr.o ibtl_hca.o ibtl_chan.o ibtl_cm.o \
674 ibtl_mcg.o ibtl_ibnex.o ibtl_srq.o ibtl_part.o
676 TAVOR_OBJS += tavor.o tavor_agents.o tavor_cfg.o tavor_ci.o tavor_cmd.o \
677 tavor_cq.o tavor_event.o tavor_ioctl.o tavor_misc.o \
678 tavor_mr.o tavor_qp.o tavor_qpmod.o tavor_rsrc.o \
679 tavor_srq.o tavor_stats.o tavor_umap.o tavor_wr.o
681 HERMON_OBJS += hermon.o hermon_agents.o hermon_cfg.o hermon_ci.o hermon_cmd.o \
682 hermon_cq.o hermon_event.o hermon_ioctl.o hermon_misc.o \
683 hermon_mr.o hermon_qp.o hermon_qpmod.o hermon_rsrc.o \
684 hermon_srq.o hermon_stats.o hermon_umap.o hermon_wr.o \
685 hermon_fcoib.o hermon_fm.o
687 DAPLT_OBJS += daplt.o
689 SOL_OFS_OBJS += sol_cma.o sol_ib_cma.o sol_uobj.o \
690 sol_ofs_debug_util.o sol_ofs_gen_util.o \
693 SOL_UCMA_OBJS += sol_ucma.o
695 SOL_UVERBS_OBJS += sol_uverbs.o sol_uverbs_comp.o sol_uverbs_event.o \
696 sol_uverbs_hca.o sol_uverbs_qp.o
698 SOL_UMAD_OBJS += sol_umad.o
700 KSTAT_OBJS += kstat.o
702 KSYMS_OBJS += ksyms.o
704 INSTANCE_OBJS += inst_sync.o
706 IWSCN_OBJS += iwscons.o
708 FSSNAP_OBJS += fssnap.o
710 FSSNAPIF_OBJS += fssnap_if.o
714 OPTIONS_OBJS += options.o
716 WINLOCK_OBJS += winlockio.o
721 PSEUDO_OBJS += pseudonex.o
725 USBKBM_OBJS += usbkbm.o
727 USBWCM_OBJS += usbwcm.o
733 USBSKEL_OBJS += usbskel.o
735 USBVC_OBJS += usbvc.o usbvc_v4l2.o
737 HIDPARSER_OBJS += hidparser.o
739 USB_AC_OBJS += usb_ac.o
741 USB_AS_OBJS += usb_as.o
743 USB_AH_OBJS += usb_ah.o
745 USBMS_OBJS += usbms.o
747 USBPRN_OBJS += usbprn.o
751 USBSER_OBJS += usbser.o usbser_rseq.o
753 USBSACM_OBJS += usbsacm.o
755 USBSER_KEYSPAN_OBJS += usbser_keyspan.o keyspan_dsd.o keyspan_pipe.o
757 USBS49_FW_OBJS += keyspan_49fw.o
759 USBSPRL_OBJS += usbser_pl2303.o pl2303_dsd.o
761 USBFTDI_OBJS += usbser_uftdi.o uftdi_dsd.o
763 USBECM_OBJS += usbecm.o
765 WC_OBJS += wscons.o vcons.o
767 VCONS_CONF_OBJS += vcons_conf.o
769 SCSI_OBJS += scsi_capabilities.o scsi_confsubr.o scsi_control.o \
770 scsi_data.o scsi_fm.o scsi_hba.o scsi_reset_notify.o \
771 scsi_resource.o scsi_subr.o scsi_transport.o scsi_watch.o \
774 SCSI_VHCI_OBJS += scsi_vhci.o mpapi_impl.o scsi_vhci_tpgs.o
776 SCSI_VHCI_F_SYM_OBJS += sym.o
778 SCSI_VHCI_F_TPGS_OBJS += tpgs.o
780 SCSI_VHCI_F_ASYM_SUN_OBJS += asym_sun.o
782 SCSI_VHCI_F_SYM_HDS_OBJS += sym_hds.o
784 SCSI_VHCI_F_TAPE_OBJS += tape.o
786 SCSI_VHCI_F_TPGS_TAPE_OBJS += tpgs_tape.o
794 USBA_OBJS += hcdi.o usba.o usbai.o hubdi.o parser.o genconsole.o \
795 usbai_pipe_mgmt.o usbai_req.o usbai_util.o usbai_register.o \
796 usba_devdb.o usba10_calls.o usba_ugen.o
798 USBA10_OBJS += usba10.o
800 RSM_OBJS += rsm.o rsmka_pathmanager.o rsmka_util.o
802 RSMOPS_OBJS += rsmops.o
804 S1394_OBJS += t1394.o t1394_errmsg.o s1394.o s1394_addr.o s1394_asynch.o \
805 s1394_bus_reset.o s1394_cmp.o s1394_csr.o s1394_dev_disc.o \
806 s1394_fa.o s1394_fcp.o \
807 s1394_hotplug.o s1394_isoch.o s1394_misc.o h1394.o nx1394.o
809 HCI1394_OBJS += hci1394.o hci1394_async.o hci1394_attach.o hci1394_buf.o \
810 hci1394_csr.o hci1394_detach.o hci1394_extern.o \
811 hci1394_ioctl.o hci1394_isoch.o hci1394_isr.o \
812 hci1394_ixl_comp.o hci1394_ixl_isr.o hci1394_ixl_misc.o \
813 hci1394_ixl_update.o hci1394_misc.o hci1394_ohci.o \
814 hci1394_q.o hci1394_s1394if.o hci1394_tlabel.o \
815 hci1394_tlist.o hci1394_vendor.o
817 AV1394_OBJS += av1394.o av1394_as.o av1394_async.o av1394_cfgrom.o \
818 av1394_cmp.o av1394_fcp.o av1394_isoch.o av1394_isoch_chan.o \
819 av1394_isoch_recv.o av1394_isoch_xmit.o av1394_list.o \
822 DCAM1394_OBJS += dcam.o dcam_frame.o dcam_param.o dcam_reg.o \
825 SCSA1394_OBJS += hba.o sbp2_driver.o sbp2_bus.o
827 SBP2_OBJS += cfgrom.o sbp2.o
829 PMODEM_OBJS += pmodem.o pmodem_cis.o cis.o cis_callout.o cis_handlers.o cis_params.o
831 PMCS_OBJS += pmcs_attach.o pmcs_ds.o pmcs_intr.o pmcs_nvram.o pmcs_sata.o \
832 pmcs_scsa.o pmcs_smhba.o pmcs_subr.o pmcs_fwlog.o
834 PMCS8001FW_C_OBJS += pmcs_fw_hdr.o
835 PMCS8001FW_OBJS += $(PMCS8001FW_C_OBJS) SPCBoot.o ila.o firmware.o
838 # Build up defines and paths.
840 ST_OBJS += st.o st_conf.o
842 EMLXS_OBJS += emlxs_clock.o emlxs_dfc.o emlxs_dhchap.o emlxs_diag.o \
843 emlxs_download.o emlxs_dump.o emlxs_els.o emlxs_event.o \
844 emlxs_fcf.o emlxs_fcp.o emlxs_fct.o emlxs_hba.o emlxs_ip.o \
845 emlxs_mbox.o emlxs_mem.o emlxs_msg.o emlxs_node.o \
846 emlxs_pkt.o emlxs_sli3.o emlxs_sli4.o emlxs_solaris.o \
849 EMLXS_FW_OBJS += emlxs_fw.o
851 OCE_OBJS += oce_buf.o oce_fm.o oce_gld.o oce_hw.o oce_intr.o oce_main.o \
852 oce_mbx.o oce_mq.o oce_queue.o oce_rx.o oce_stat.o oce_tx.o \
855 FCOE_OBJS += fcoe.o fcoe_eth.o fcoe_fc.o
857 FCOEI_OBJS += fcoei.o fcoei_eth.o fcoei_lv.o
859 SYSMSG_OBJS += sysmsg.o
861 SES_OBJS += ses.o ses_sen.o ses_safte.o ses_ses.o
863 TNF_OBJS += tnf_buf.o tnf_trace.o tnf_writer.o trace_init.o \
864 trace_funcs.o tnf_probe.o tnf.o
866 LOGINDMUX_OBJS += logindmux.o
868 DEVINFO_OBJS += devinfo.o
870 DEVPOLL_OBJS += devpoll.o
872 DEVPOOL_OBJS += devpool.o
874 EVENTFD_OBJS += eventfd.o
876 SIGNALFD_OBJS += signalfd.o
878 I8042_OBJS += i8042.o
885 MOUSE8042_OBJS += mouse8042.o
893 VUIDM3P_OBJS += vuidmice.o vuidm3p.o
895 VUIDM4P_OBJS += vuidmice.o vuidm4p.o
897 VUIDM5P_OBJS += vuidmice.o vuidm5p.o
899 VUIDPS2_OBJS += vuidmice.o vuidps2.o
901 HPCSVC_OBJS += hpcsvc.o
903 PCIE_MISC_OBJS += pcie.o pcie_fault.o pcie_hp.o pciehpc.o pcishpc.o pcie_pwr.o pciev.o
905 PCIHPNEXUS_OBJS += pcihp.o
907 OPENEEPR_OBJS += openprom.o
909 PSHOT_OBJS += pshot.o
911 GEN_DRV_OBJS += gen_drv.o
913 TCLIENT_OBJS += tclient.o
915 TIMERFD_OBJS += timerfd.o
917 TPHCI_OBJS += tphci.o
919 TVHCI_OBJS += tvhci.o
921 EMUL64_OBJS += emul64.o emul64_bsd.o
933 QLC_OBJS += ql_api.o ql_debug.o ql_hba_fru.o ql_init.o ql_iocb.o ql_ioctl.o \
934 ql_isr.o ql_mbx.o ql_nx.o ql_xioctl.o ql_fw_table.o
936 QLC_FW_2200_OBJS += ql_fw_2200.o
938 QLC_FW_2300_OBJS += ql_fw_2300.o
940 QLC_FW_2400_OBJS += ql_fw_2400.o
942 QLC_FW_2500_OBJS += ql_fw_2500.o
944 QLC_FW_6322_OBJS += ql_fw_6322.o
946 QLC_FW_8100_OBJS += ql_fw_8100.o
948 QLGE_OBJS += qlge.o qlge_dbg.o qlge_flash.o qlge_fm.o qlge_gld.o qlge_mpi.o
950 ZCONS_OBJS += zcons.o
952 NV_SATA_OBJS += nv_sata.o
954 SI3124_OBJS += si3124.o
958 PCIIDE_OBJS += pci-ide.o
960 PCEPP_OBJS += pcepp.o
964 CPUID_OBJS += cpuid_drv.o
966 SYSEVENT_OBJS += sysevent.o
970 DRM_OBJS += drm_sunmod.o drm_kstat.o drm_agpsupport.o \
971 drm_auth.o drm_bufs.o drm_context.o drm_dma.o \
972 drm_drawable.o drm_drv.o drm_fops.o drm_ioctl.o drm_irq.o \
973 drm_lock.o drm_memory.o drm_msg.o drm_pci.o drm_scatter.o \
974 drm_cache.o drm_gem.o drm_mm.o ati_pcigart.o
976 FM_OBJS += devfm.o devfm_machdep.o
983 ELFEXEC_OBJS += elf.o elf_notes.o old_notes.o
985 INTPEXEC_OBJS +=intp.o
987 JAVAEXEC_OBJS +=java.o
990 # file system modules
994 NFSSRV_OBJS += nfs_server.o nfs_srv.o nfs3_srv.o \
995 nfs_acl_srv.o nfs_auth.o nfs_auth_xdr.o \
996 nfs_export.o nfs_log.o nfs_log_xdr.o \
997 nfs4_srv.o nfs4_state.o nfs4_srv_attr.o \
998 nfs4_srv_ns.o nfs4_db.o nfs4_srv_deleg.o \
999 nfs4_deleg_ops.o nfs4_srv_readdir.o nfs4_dispatch.o
1001 SMBSRV_SHARED_OBJS += \
1007 smb_netbios_util.o \
1010 smb_status2winerr.o \
1017 SMBSRV_OBJS += $(SMBSRV_SHARED_OBJS) \
1020 smb_authenticate.o \
1025 smb_common_transact.o \
1045 smb_lock_byte_range.o \
1046 smb_locking_andx.o \
1049 smb_mbuf_marshaling.o \
1056 smb_nt_create_andx.o \
1057 smb_nt_transact_create.o \
1058 smb_nt_transact_ioctl.o \
1059 smb_nt_transact_notify_change.o \
1060 smb_nt_transact_quota.o \
1061 smb_nt_transact_security.o \
1069 smb_process_exit.o \
1070 smb_query_fileinfo.o \
1078 smb_session_setup_andx.o \
1079 smb_set_fileinfo.o \
1084 smb_trans2_create_directory.o \
1087 smb_tree_connect.o \
1088 smb_unlock_byte_range.o \
1097 smb2_change_notify.o \
1111 smb2_qinfo_quota.o \
1115 smb2_session_setup.o \
1117 smb2_setinfo_file.o \
1119 smb2_setinfo_quota.o \
1120 smb2_setinfo_sec.o \
1122 smb2_tree_connect.o \
1123 smb2_tree_disconn.o \
1126 PROC_OBJS += prcontrol.o prioctl.o prsubr.o prusrio.o \
1127 prvfsops.o prvnops.o
1129 SHAREFS_OBJS += sharetab.o sharefs_vfsops.o sharefs_vnops.o
1131 VSCAN_OBJS += vscan_drv.o vscan_svc.o vscan_door.o
1133 NSMB_OBJS += smb_conn.o smb_dev.o smb_iod.o smb_pass.o \
1134 smb_rq.o smb_sign.o smb_smb.o smb_subrs.o \
1135 smb_time.o smb_tran.o smb_trantcp.o smb_usr.o \
1138 SMBFS_COMMON_OBJS += smbfs_ntacl.o
1139 SMBFS_OBJS += smbfs_vfsops.o smbfs_vnops.o smbfs_node.o \
1140 smbfs_acl.o smbfs_client.o smbfs_smb.o \
1141 smbfs_subr.o smbfs_subr2.o \
1142 smbfs_rwlock.o smbfs_xattr.o \
1143 $(SMBFS_COMMON_OBJS)
1174 ZFS_COMMON_OBJS += \
1236 vdev_indirect_births.o \
1237 vdev_indirect_mapping.o \
1269 ZFS_SHARED_OBJS += \
1285 BUFMOD_OBJS += bufmod.o
1287 CONNLD_OBJS += connld.o
1289 DEDUMP_OBJS += dedump.o
1291 DRCOMPAT_OBJS += drcompat.o
1293 LDLINUX_OBJS += ldlinux.o
1295 LDTERM_OBJS += ldterm.o uwidth.o
1299 PFMOD_OBJS += pfmod.o
1303 REDIRMOD_OBJS += strredirm.o
1305 TIMOD_OBJS += timod.o
1307 TIRDWR_OBJS += tirdwr.o
1309 TTCOMPAT_OBJS +=ttcompat.o
1313 PIPEMOD_OBJS += pipemod.o
1315 RPCMOD_OBJS += rpcmod.o clnt_cots.o clnt_clts.o \
1316 clnt_gen.o clnt_perr.o mt_rpcinit.o rpc_calmsg.o \
1317 rpc_prot.o rpc_sztypes.o rpc_subr.o rpcb_prot.o \
1318 svc.o svc_clts.o svc_gen.o svc_cots.o \
1319 rpcsys.o xdr_sizeof.o clnt_rdma.o svc_rdma.o \
1320 xdr_rdma.o rdma_subr.o xdrrdma_sizeof.o
1322 KLMMOD_OBJS += klmmod.o \
1337 KLMOPS_OBJS += klmops.o
1339 TLIMOD_OBJS += tlimod.o t_kalloc.o t_kbind.o t_kclose.o \
1340 t_kconnect.o t_kfree.o t_kgtstate.o t_kopen.o \
1341 t_koptmgmt.o t_krcvudat.o t_ksndudat.o t_kspoll.o \
1342 t_kunbind.o t_kutil.o
1344 RLMOD_OBJS += rlmod.o
1346 TELMOD_OBJS += telmod.o
1348 CRYPTMOD_OBJS += cryptmod.o
1350 KB_OBJS += kbd.o keytables.o
1355 IDMAP_OBJS += idmap_mod.o idmap_kapi.o idmap_xdr.o idmap_cache.o
1358 # Inter-Process Communication (IPC) modules
1362 IPCMSG_OBJS += msg.o
1364 IPCSEM_OBJS += sem.o
1366 IPCSHM_OBJS += shm.o
1371 COMMON_BIGNUM_OBJS += bignum_mod.o bignumimpl.o
1373 BIGNUM_OBJS += $(COMMON_BIGNUM_OBJS) $(BIGNUM_PSR_OBJS)
1376 # kernel cryptographic framework
1378 KCF_OBJS += kcf.o kcf_callprov.o kcf_cbufcall.o kcf_cipher.o kcf_crypto.o \
1379 kcf_cryptoadm.o kcf_ctxops.o kcf_digest.o kcf_dual.o \
1380 kcf_keys.o kcf_mac.o kcf_mech_tabs.o kcf_miscapi.o \
1381 kcf_object.o kcf_policy.o kcf_prov_lib.o kcf_prov_tabs.o \
1382 kcf_sched.o kcf_session.o kcf_sign.o kcf_spi.o kcf_verify.o \
1383 kcf_random.o modes.o ecb.o cbc.o ctr.o ccm.o gcm.o \
1386 CRYPTOADM_OBJS += cryptoadm.o
1388 CRYPTO_OBJS += crypto.o
1390 DPROV_OBJS += dprov.o
1392 DCA_OBJS += dca.o dca_3des.o dca_debug.o dca_dsa.o dca_kstat.o dca_rng.o \
1395 AESPROV_OBJS += aes.o aes_impl.o aes_modes.o
1397 ARCFOURPROV_OBJS += arcfour.o arcfour_crypt.o
1399 BLOWFISHPROV_OBJS += blowfish.o blowfish_impl.o
1401 ECCPROV_OBJS += ecc.o ec.o ec2_163.o ec2_mont.o ecdecode.o ecl_mult.o \
1402 ecp_384.o ecp_jac.o ec2_193.o ecl.o ecp_192.o ecp_521.o \
1403 ecp_jm.o ec2_233.o ecl_curve.o ecp_224.o ecp_aff.o \
1404 ecp_mont.o ec2_aff.o ec_naf.o ecl_gf.o ecp_256.o mp_gf2m.o \
1405 mpi.o mplogic.o mpmontg.o mpprime.o oid.o \
1406 secitem.o ec2_test.o ecp_test.o
1408 RSAPROV_OBJS += rsa.o rsa_impl.o pkcs1.o
1410 SWRANDPROV_OBJS += swrand.o
1416 RPCSEC_OBJS += secmod.o sec_clnt.o sec_svc.o sec_gen.o \
1417 auth_des.o auth_kern.o auth_none.o auth_loopb.o\
1418 authdesprt.o authdesubr.o authu_prot.o \
1419 key_call.o key_prot.o svc_authu.o svcauthdes.o
1421 RPCSEC_GSS_OBJS += rpcsec_gssmod.o rpcsec_gss.o rpcsec_gss_misc.o \
1422 rpcsec_gss_utils.o svc_rpcsec_gss.o
1424 CONSCONFIG_OBJS += consconfig.o
1426 CONSCONFIG_DACF_OBJS += consconfig_dacf.o consplat.o
1428 TEM_OBJS += tem.o tem_safe.o
1431 # Font data for generated 8x16 font
1434 VGATEXT_FONT_SRC= 8859-1
1435 VGATEXT_FONT_DIR= $(SRCTOP)/kernel/font
1436 FONT_OBJS += font.o 6x10.o 7x14.o 8x16.o 12x22.o
1440 kbtrans_keytables.o \
1445 KGSSD_OBJS += gssd_clnt_stubs.o gssd_handle.o gssd_prot.o \
1446 gss_display_name.o gss_release_name.o gss_import_name.o \
1447 gss_release_buffer.o gss_release_oid_set.o gen_oids.o gssdmod.o
1449 KGSSD_DERIVED_OBJS = gssd_xdr.o
1451 KGSS_DUMMY_OBJS += dmech.o
1453 KSOCKET_OBJS += ksocket.o ksocket_mod.o
1455 CRYPTO= cksumtypes.o decrypt.o encrypt.o encrypt_length.o etypes.o \
1456 nfold.o verify_checksum.o prng.o block_size.o make_checksum.o\
1457 checksum_length.o hmac.o default_state.o mandatory_sumtype.o
1460 CRYPTO_DES= f_cbc.o f_cksum.o f_parity.o weak_key.o d3_cbc.o ef_crypto.o
1462 CRYPTO_DK= checksum.o derive.o dk_decrypt.o dk_encrypt.o
1464 CRYPTO_ARCFOUR= k5_arcfour.o
1466 # crypto/enc_provider
1467 CRYPTO_ENC= des.o des3.o arcfour_provider.o aes_provider.o
1469 # crypto/hash_provider
1470 CRYPTO_HASH= hash_kef_generic.o hash_kmd5.o hash_crc32.o hash_ksha1.o
1472 # crypto/keyhash_provider
1473 CRYPTO_KEYHASH= descbc.o k5_kmd5des.o k_hmac_md5.o
1476 CRYPTO_CRC32= crc32.o
1479 CRYPTO_OLD= old_decrypt.o old_encrypt.o
1482 CRYPTO_RAW= raw_decrypt.o raw_encrypt.o
1484 K5_KRB= kfree.o copy_key.o \
1485 parse.o init_ctx.o \
1486 ser_adata.o ser_addr.o \
1487 ser_auth.o ser_cksum.o \
1488 ser_key.o ser_princ.o \
1489 serialize.o unparse.o \
1492 K5_OS= timeofday.o toffset.o \
1493 init_os_ctx.o c_ustime.o
1495 SEAL= seal.o unseal.o
1497 MECH= delete_sec_context.o \
1498 import_sec_context.o \
1500 k5seal.o k5unseal.o k5sealv3.o \
1504 util_validate.o util_ordering.o \
1505 util_seqnum.o util_set.o util_seed.o \
1506 wrap_size_limit.o verify.o
1510 MECH_GEN= util_token.o
1513 KGSS_KRB5_OBJS += krb5mech.o \
1514 $(MECH) $(SEAL) $(MECH_GEN) \
1515 $(CRYPTO) $(CRYPTO_DES) $(CRYPTO_DK) $(CRYPTO_ARCFOUR) \
1516 $(CRYPTO_ENC) $(CRYPTO_HASH) \
1517 $(CRYPTO_KEYHASH) $(CRYPTO_CRC32) \
1519 $(CRYPTO_RAW) $(K5_KRB) $(K5_OS)
1521 DES_OBJS += des_crypt.o des_impl.o des_ks.o des_soft.o
1523 DLBOOT_OBJS += bootparam_xdr.o nfs_dlinet.o scan.o
1525 KRTLD_OBJS += kobj_bootflags.o getoptstr.o \
1526 kobj.o kobj_kdi.o kobj_lm.o kobj_subr.o
1528 MOD_OBJS += modctl.o modsubr.o modsysfile.o modconf.o modhash.o
1530 STRPLUMB_OBJS += strplumb.o
1532 CPR_OBJS += cpr_driver.o cpr_dump.o \
1533 cpr_main.o cpr_misc.o cpr_mod.o cpr_stat.o \
1538 SE_OBJS += se_driver.o
1540 SYSACCT_OBJS += acct.o
1542 ACCTCTL_OBJS += acctctl.o
1544 EXACCTSYS_OBJS += exacctsys.o
1548 BUSRA_OBJS += busra.o
1552 OHCI_OBJS += ohci.o ohci_hub.o ohci_polled.o
1554 UHCI_OBJS += uhci.o uhciutil.o uhcitgt.o uhcihub.o uhcipolled.o
1556 EHCI_OBJS += ehci.o ehci_hub.o ehci_xfer.o ehci_intr.o ehci_util.o ehci_polled.o ehci_isoch.o ehci_isoch_util.o
1558 XHCI_OBJS += xhci.o xhci_quirks.o xhci_dma.o xhci_context.o xhci_intr.o \
1559 xhci_ring.o xhci_command.o xhci_event.o xhci_usba.o \
1560 xhci_endpoint.o xhci_hub.o
1564 USB_MID_OBJS += usb_mid.o
1566 USB_IA_OBJS += usb_ia.o
1568 SCSA2USB_OBJS += scsa2usb.o usb_ms_bulkonly.o usb_ms_cbi.o
1570 IPF_OBJS += ip_fil_solaris.o fil.o solaris.o ip_state.o ip_frag.o ip_nat.o \
1571 ip_proxy.o ip_auth.o ip_pool.o ip_htable.o ip_lookup.o \
1572 ip_log.o misc.o ip_compat.o ip_nat6.o drand48.o
1576 IBD_OBJS += ibd.o ibd_cm.o
1578 EIBNX_OBJS += enx_main.o enx_hdlrs.o enx_ibt.o enx_log.o enx_fip.o \
1579 enx_misc.o enx_q.o enx_ctl.o
1581 EOIB_OBJS += eib_adm.o eib_chan.o eib_cmn.o eib_ctl.o eib_data.o \
1582 eib_fip.o eib_ibt.o eib_log.o eib_mac.o eib_main.o \
1583 eib_rsrc.o eib_svc.o eib_vnic.o
1585 DLPISTUB_OBJS += dlpistub.o
1587 SDP_OBJS += sdpddi.o
1589 TRILL_OBJS += trill.o
1591 SMBIOS_OBJS += smbios_error.o smbios_info.o smbios_open.o smbios_subr.o smbios_dev.o
1593 RPCIB_OBJS += rpcib.o
1599 DMFE_OBJS += dmfe_log.o dmfe_main.o dmfe_mii.o
1607 IXGB_OBJS += ixgb.o ixgb_atomic.o ixgb_chip.o ixgb_gld.o ixgb_kstats.o \
1608 ixgb_log.o ixgb_ndd.o ixgb_rx.o ixgb_tx.o ixgb_xmii.o
1612 RGE_OBJS += rge_main.o rge_chip.o rge_ndd.o rge_kstats.o rge_log.o rge_rxtx.o
1614 IPW_OBJS += ipw2100_hw.o ipw2100.o
1616 MWLFW_OBJS += mwlfw_mode.o
1618 UATHFW_OBJS += uathfw_mod.o
1622 MPTSAS_OBJS += mptsas.o mptsas_hash.o mptsas_impl.o mptsas_init.o \
1623 mptsas_raid.o mptsas_smhba.o
1627 BRIDGE_OBJS += bridge.o
1629 IDM_SHARED_OBJS += base64.o
1631 IDM_OBJS += $(IDM_SHARED_OBJS) \
1632 idm.o idm_impl.o idm_text.o idm_conn_sm.o idm_so.o
1634 ATGE_OBJS += atge_main.o atge_l1e.o atge_mii.o atge_l1.o atge_l1c.o
1641 # This duality can be removed when the native and target compilers
1642 # are the same (or at least recognize the same command line syntax!)
1643 # It is a bug in the current compilation system that the assember
1644 # can't process the -Y I, flag.
1646 NATIVE_INC_PATH += $(INC_PATH) $(CCYFLAG) -I$(UTSBASE)/common
1647 AS_INC_PATH += $(INC_PATH) $(CCYFLAG) -I$(UTSBASE)/common
1648 INCLUDE_PATH += $(INC_PATH) $(CCYFLAG) -I$(UTSBASE)/common
1650 PCIEB_OBJS += pcieb.o
1653 # Chelsio Terminator 4 10G NIC nexus driver module
1655 CXGBE_FW_OBJS = t4_fw.o t4_cfg.o t5_cfg.o t5_fw.o t6_cfg.o t6_fw.o
1656 CXGBE_COM_OBJS = t4_hw.o
1657 CXGBE_NEX_OBJS = t4_nexus.o t4_sge.o t4_mac.o t4_ioctl.o shared.o \
1661 # Chelsio Terminator 4 10G NIC driver module
1663 CXGBE_OBJS = cxgbe.o
1668 PCI_STRING_OBJS = pci_strings.o
1670 NET_DACF_OBJS += net_dacf.o
1673 # Xframe 10G NIC driver module
1675 XGE_OBJS = xge.o xgell.o
1677 XGE_HAL_OBJS = xgehal-channel.o xgehal-fifo.o xgehal-ring.o xgehal-config.o \
1678 xgehal-driver.o xgehal-mm.o xgehal-stats.o xgehal-device.o \
1679 xge-queue.o xgehal-mgmt.o xgehal-mgmtaux.o
1682 # Intel Pro/100 NIC driver module
1690 # Virtio block driver
1691 VIOBLK_OBJS = vioblk.o
1696 KICONV_EMEA_OBJS += kiconv_emea.o
1698 KICONV_JA_OBJS += kiconv_ja.o
1700 KICONV_KO_OBJS += kiconv_cck_common.o kiconv_ko.o
1702 KICONV_SC_OBJS += kiconv_cck_common.o kiconv_sc.o
1704 KICONV_TC_OBJS += kiconv_cck_common.o kiconv_tc.o
1709 AAC_OBJS = aac.o aac_ioctl.o
1714 SDA_OBJS = sda_cmd.o sda_host.o sda_init.o sda_mem.o sda_mod.o sda_slot.o
1715 SDHOST_OBJS = sdhost.o
1718 # ISCSI_INITIATOR module
1720 ISCSI_INITIATOR_OBJS = chap.o iscsi_io.o iscsi_thread.o \
1721 iscsi_ioctl.o iscsid.o iscsi.o \
1722 iscsi_login.o isns_client.o iscsiAuthClient.o \
1723 iscsi_lun.o iscsiAuthClientGlue.o \
1724 iscsi_net.o nvfile.o iscsi_cmd.o \
1725 iscsi_queue.o persistent.o iscsi_conn.o \
1726 iscsi_sess.o radius_auth.o iscsi_crc.o \
1727 iscsi_stats.o radius_packet.o iscsi_doorclt.o \
1728 iscsi_targetparam.o utils.o kifconf.o
1731 # ntxn 10Gb/1Gb NIC driver module
1733 NTXN_OBJS = unm_nic_init.o unm_gem.o unm_nic_hw.o unm_ndd.o \
1734 unm_nic_main.o unm_nic_isr.o unm_nic_ctx.o niu.o
1738 NULLDRIVER_OBJS = nulldriver.o
1741 # USB Fast ethernet drivers
1743 USBGEM_OBJS = usbgem.o
1744 AXF_OBJS = axf_usbgem.o
1745 UDMF_OBJS = udmf_usbgem.o
1746 URF_OBJS = urf_usbgem.o
1747 UPF_OBJS = upf_usbgem.o
1750 # The QEDE_EN_OBJS list are general objects that are shared across
1751 # multiple different operating systems. QEDE_OBJS are illumos-specific
1754 QEDE_OBJS += qede_cfg.o qede_dbg.o qede_fp.o qede_gld.o \
1755 qede_kstat.o qede_main.o qede_misc.o qede_osal.o
1756 QEDE_GEN_OBJS += ecore_hw.o ecore_cxt.o ecore_selftest.o ecore_init_ops.o \
1757 ecore_init_fw_funcs.o ecore_sp_commands.o ecore_dcbx.o \
1758 ecore_dbg_fw_funcs.o ecore_mcp.o ecore_spq.o ecore_phy.o \
1759 ecore_dev.o ecore_l2.o ecore_int.o