17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5fb9f9b97Skupfer# Common Development and Distribution License (the "License"). 6fb9f9b97Skupfer# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 217c478bd9Sstevel@tonic-gate# 2284d8c05bSMike Kupfer# Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved. 23cd277642SGarrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org> 24f73e0305SHans Rosenfeld# Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> 2545a4b79dSSebastien Roy# Copyright (c) 2017 by Delphix. All rights reserved. 264c87aefeSPatrick Mooney# Copyright 2019 Joyent, Inc. 277c478bd9Sstevel@tonic-gate# 287c478bd9Sstevel@tonic-gate# This Makefiles contains the common targets and definitions for 297c478bd9Sstevel@tonic-gate# all kernels. It is to be included in the Makefiles for specific 307c478bd9Sstevel@tonic-gate# implementation architectures and processor architecture dependent 317c478bd9Sstevel@tonic-gate# modules: i.e.: all driving kernel Makefiles. 327c478bd9Sstevel@tonic-gate# 337c478bd9Sstevel@tonic-gate 347c478bd9Sstevel@tonic-gate# 357c478bd9Sstevel@tonic-gate# Partially link .o files to generate the kmod. The fake dependency 367c478bd9Sstevel@tonic-gate# on modstubs simplifies things... 377c478bd9Sstevel@tonic-gate# 384c87aefeSPatrick Mooney$(BINARY): $(OBJECTS) $(DTRACE_MAPFILE) $(MAPFILE) 3982d0151aSRichard Lowe $(LD) -ztype=kmod $(LDFLAGS) -o $@ $(OBJECTS) 407c478bd9Sstevel@tonic-gate $(CTFMERGE_UNIQUIFY_AGAINST_GENUNIX) 417c478bd9Sstevel@tonic-gate $(POST_PROCESS) 427c478bd9Sstevel@tonic-gate 437c478bd9Sstevel@tonic-gate# 440aaef2f5SRichard Lowe# Since assym.h is a derived file, the dependency must be explicit for all 450aaef2f5SRichard Lowe# files including this file. The actual lists are defined in 460aaef2f5SRichard Lowe# */Makefile.files. 477c478bd9Sstevel@tonic-gate# 487c478bd9Sstevel@tonic-gate$(ASSYM_DEPS:%=$(OBJS_DIR)/%): $(DSF_DIR)/$(OBJS_DIR)/assym.h 497c478bd9Sstevel@tonic-gate 507c478bd9Sstevel@tonic-gate# 517c478bd9Sstevel@tonic-gate# Build the source file which contains the kernel's utsname, 527c478bd9Sstevel@tonic-gate# with release, version and machine set as follows: 537c478bd9Sstevel@tonic-gate# 547c478bd9Sstevel@tonic-gate# release: contents of $(RELEASE) (Spaces replaced by '_') 55*fc910014SRichard Lowe# version: contents of $(VERSION) (Spaces replaced by '_') 56ae115bc7Smrj# machine: contents of $(UNAME_M) 577c478bd9Sstevel@tonic-gate# 587c478bd9Sstevel@tonic-gate# Build environment information is only contained in the comment section. 597c478bd9Sstevel@tonic-gate# 607c478bd9Sstevel@tonic-gate 617c478bd9Sstevel@tonic-gate$(OBJS_DIR)/vers.o: $(OBJECTS) 627c478bd9Sstevel@tonic-gate $(COMPILE.c) -DUTS_RELEASE=\"`$(ECHO) $(RELEASE) | sed -e 's/ /_/g'`\" \ 63*fc910014SRichard Lowe -DUTS_VERSION=\"`$(ECHO) $(VERSION) | sed -e 's/ /_/g'`\" \ 64ae115bc7Smrj -DUTS_PLATFORM=\"$(UNAME_M)\" -o $@ $(SRC)/uts/common/os/vers.c 657c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 667c478bd9Sstevel@tonic-gate $(POST_PROCESS_O) 677c478bd9Sstevel@tonic-gate 687c478bd9Sstevel@tonic-gate# 697c478bd9Sstevel@tonic-gate# Installation targets and rules: 707c478bd9Sstevel@tonic-gate# 717c478bd9Sstevel@tonic-gate$(ROOT_MOD_DIR) $(USR_MOD_DIR): 7248bc00d6Sjmcp -$(INS.dir) 737c478bd9Sstevel@tonic-gate 747c478bd9Sstevel@tonic-gate$(ROOT_MOD_DIRS_32): $(ROOT_MOD_DIR) 7548bc00d6Sjmcp -$(INS.dir) 767c478bd9Sstevel@tonic-gate 777c478bd9Sstevel@tonic-gate$(USR_MOD_DIRS_32): $(USR_MOD_DIR) 7848bc00d6Sjmcp -$(INS.dir) 797c478bd9Sstevel@tonic-gate 807c478bd9Sstevel@tonic-gate$(ROOT_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_MOD_DIR) FRC 817c478bd9Sstevel@tonic-gate $(INS.file) 827c478bd9Sstevel@tonic-gate 837aec1d6eScindi$(ROOT_CPU_DIR)/%: $(OBJS_DIR)/% $(ROOT_CPU_DIR) FRC 847aec1d6eScindi $(INS.file) 857aec1d6eScindi 867c478bd9Sstevel@tonic-gate$(ROOT_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_DRV_DIR) FRC 877c478bd9Sstevel@tonic-gate $(INS.file) 887c478bd9Sstevel@tonic-gate 897c478bd9Sstevel@tonic-gate$(ROOT_DTRACE_DIR)/%: $(OBJS_DIR)/% $(ROOT_DTRACE_DIR) FRC 907c478bd9Sstevel@tonic-gate $(INS.file) 917c478bd9Sstevel@tonic-gate 927c478bd9Sstevel@tonic-gate$(ROOT_EXEC_DIR)/%: $(OBJS_DIR)/% $(ROOT_EXEC_DIR) FRC 937c478bd9Sstevel@tonic-gate $(INS.file) 947c478bd9Sstevel@tonic-gate 957c478bd9Sstevel@tonic-gate$(ROOT_FS_DIR)/%: $(OBJS_DIR)/% $(ROOT_FS_DIR) FRC 967c478bd9Sstevel@tonic-gate $(INS.file) 977c478bd9Sstevel@tonic-gate 987c478bd9Sstevel@tonic-gate$(ROOT_SCHED_DIR)/%: $(OBJS_DIR)/% $(ROOT_SCHED_DIR) FRC 997c478bd9Sstevel@tonic-gate $(INS.file) 1007c478bd9Sstevel@tonic-gate 1010f1702c5SYu Xiangning$(ROOT_SOCK_DIR)/%: $(OBJS_DIR)/% $(ROOT_SOCK_DIR) FRC 1020f1702c5SYu Xiangning $(INS.file) 1030f1702c5SYu Xiangning 1047c478bd9Sstevel@tonic-gate$(ROOT_STRMOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_STRMOD_DIR) FRC 1057c478bd9Sstevel@tonic-gate $(INS.file) 1067c478bd9Sstevel@tonic-gate 1077c478bd9Sstevel@tonic-gate$(ROOT_IPP_DIR)/%: $(OBJS_DIR)/% $(ROOT_IPP_DIR) FRC 1087c478bd9Sstevel@tonic-gate $(INS.file) 1097c478bd9Sstevel@tonic-gate 1107c478bd9Sstevel@tonic-gate$(ROOT_SYS_DIR)/%: $(OBJS_DIR)/% $(ROOT_SYS_DIR) FRC 1117c478bd9Sstevel@tonic-gate $(INS.file) 1127c478bd9Sstevel@tonic-gate 1137c478bd9Sstevel@tonic-gate$(ROOT_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_MISC_DIR) FRC 1147c478bd9Sstevel@tonic-gate $(INS.file) 1157c478bd9Sstevel@tonic-gate 1167c478bd9Sstevel@tonic-gate$(ROOT_DACF_DIR)/%: $(OBJS_DIR)/% $(ROOT_DACF_DIR) FRC 1177c478bd9Sstevel@tonic-gate $(INS.file) 1187c478bd9Sstevel@tonic-gate 1199acbbeafSnn$(ROOT_BRAND_DIR)/%: $(OBJS_DIR)/% $(ROOT_BRAND_DIR) FRC 1209acbbeafSnn $(INS.file) 1219acbbeafSnn 12245a4b79dSSebastien Roy$(ROOT_CC_DIR)/%: $(OBJS_DIR)/% $(ROOT_MOD_DIR) $(ROOT_CC_DIR) FRC 12345a4b79dSSebastien Roy $(INS.file) 12445a4b79dSSebastien Roy 1257c478bd9Sstevel@tonic-gate$(ROOT_CRYPTO_DIR)/%: $(OBJS_DIR)/% $(ROOT_CRYPTO_DIR) FRC 1267c478bd9Sstevel@tonic-gate $(INS.file) 1277c478bd9Sstevel@tonic-gate 1287c478bd9Sstevel@tonic-gate$(ROOT_KGSS_DIR)/%: $(OBJS_DIR)/% $(ROOT_KGSS_DIR) FRC 1297c478bd9Sstevel@tonic-gate $(INS.file) 1307c478bd9Sstevel@tonic-gate 1311e1ddd6cScth$(ROOT_SCSI_VHCI_DIR)/%: $(OBJS_DIR)/% $(ROOT_SCSI_VHCI_DIR) FRC 1321e1ddd6cScth $(INS.file) 1331e1ddd6cScth 1344c06356bSdh$(ROOT_PMCS_FW_DIR)/%: $(OBJS_DIR)/% $(ROOT_PMCS_FW_DIR) FRC 1354c06356bSdh $(INS.file) 1364c06356bSdh 137fcf3ce44SJohn Forte$(ROOT_QLC_FW_DIR)/%: $(OBJS_DIR)/% $(ROOT_QLC_FW_DIR) FRC 138fcf3ce44SJohn Forte $(INS.file) 139fcf3ce44SJohn Forte 140291a2b48SSukumar Swaminathan$(ROOT_EMLXS_FW_DIR)/%: $(OBJS_DIR)/% $(ROOT_EMLXS_FW_DIR) FRC 141291a2b48SSukumar Swaminathan $(INS.file) 142291a2b48SSukumar Swaminathan 1437c478bd9Sstevel@tonic-gate$(ROOT_MACH_DIR)/%: $(OBJS_DIR)/% $(ROOT_MACH_DIR) FRC 1447c478bd9Sstevel@tonic-gate $(INS.file) 1457c478bd9Sstevel@tonic-gate 1467c478bd9Sstevel@tonic-gate$(ROOT_FONT_DIR)/%: $(OBJS_DIR)/% $(ROOT_MOD_DIR) $(ROOT_FONT_DIR) FRC 1477c478bd9Sstevel@tonic-gate $(INS.file) 1487c478bd9Sstevel@tonic-gate 149ba2e4443Sseb$(ROOT_MAC_DIR)/%: $(OBJS_DIR)/% $(ROOT_MOD_DIR) $(ROOT_MAC_DIR) FRC 150ba2e4443Sseb $(INS.file) 151ba2e4443Sseb 15236589d6bSRobert Mustacchi$(ROOT_OVERLAY_DIR)/%: $(OBJS_DIR)/% $(ROOT_MOD_DIR) $(ROOT_OVERLAY_DIR) FRC 15336589d6bSRobert Mustacchi $(INS.file) 15436589d6bSRobert Mustacchi 1557c478bd9Sstevel@tonic-gate$(USR_DRV_DIR)/%: $(OBJS_DIR)/% $(USR_DRV_DIR) FRC 1567c478bd9Sstevel@tonic-gate $(INS.file) 1577c478bd9Sstevel@tonic-gate 1587c478bd9Sstevel@tonic-gate$(USR_EXEC_DIR)/%: $(OBJS_DIR)/% $(USR_EXEC_DIR) FRC 1597c478bd9Sstevel@tonic-gate $(INS.file) 1607c478bd9Sstevel@tonic-gate 1617c478bd9Sstevel@tonic-gate$(USR_FS_DIR)/%: $(OBJS_DIR)/% $(USR_FS_DIR) FRC 1627c478bd9Sstevel@tonic-gate $(INS.file) 1637c478bd9Sstevel@tonic-gate 1647c478bd9Sstevel@tonic-gate$(USR_SCHED_DIR)/%: $(OBJS_DIR)/% $(USR_SCHED_DIR) FRC 1657c478bd9Sstevel@tonic-gate $(INS.file) 1667c478bd9Sstevel@tonic-gate 1670a0e9771SDarren Reed$(USR_SOCK_DIR)/%: $(OBJS_DIR)/% $(USR_SOCK_DIR) FRC 1680a0e9771SDarren Reed $(INS.file) 1690a0e9771SDarren Reed 1707c478bd9Sstevel@tonic-gate$(USR_STRMOD_DIR)/%: $(OBJS_DIR)/% $(USR_STRMOD_DIR) FRC 1717c478bd9Sstevel@tonic-gate $(INS.file) 1727c478bd9Sstevel@tonic-gate 1737c478bd9Sstevel@tonic-gate$(USR_SYS_DIR)/%: $(OBJS_DIR)/% $(USR_SYS_DIR) FRC 1747c478bd9Sstevel@tonic-gate $(INS.file) 1757c478bd9Sstevel@tonic-gate 1767c478bd9Sstevel@tonic-gate$(USR_MISC_DIR)/%: $(OBJS_DIR)/% $(USR_MISC_DIR) FRC 1777c478bd9Sstevel@tonic-gate $(INS.file) 1787c478bd9Sstevel@tonic-gate 1797c478bd9Sstevel@tonic-gate$(USR_DACF_DIR)/%: $(OBJS_DIR)/% $(USR_DACF_DIR) FRC 1807c478bd9Sstevel@tonic-gate $(INS.file) 1817c478bd9Sstevel@tonic-gate 1827c478bd9Sstevel@tonic-gate$(USR_PCBE_DIR)/%: $(OBJS_DIR)/% $(USR_PCBE_DIR) FRC 1837c478bd9Sstevel@tonic-gate $(INS.file) 1847c478bd9Sstevel@tonic-gate 1859a9ae70fSjv$(USR_DTRACE_DIR)/%: $(OBJS_DIR)/% $(USR_DTRACE_DIR) FRC 1869a9ae70fSjv $(INS.file) 1879a9ae70fSjv 1889a9ae70fSjv$(USR_BRAND_DIR)/%: $(OBJS_DIR)/% $(USR_BRAND_DIR) FRC 1899a9ae70fSjv $(INS.file) 1909a9ae70fSjv 191d14d7d31Sis$(ROOT_KICONV_DIR)/%: $(OBJS_DIR)/% $(ROOT_KICONV_DIR) FRC 192d14d7d31Sis $(INS.file) 193d14d7d31Sis 194f73e0305SHans Rosenfeld$(ROOT_FIRMWARE_DIR)/$(MODULE): 195f73e0305SHans Rosenfeld $(INS.dir) 196f73e0305SHans Rosenfeld 197f73e0305SHans Rosenfeld$(ROOT_FIRMWARE_DIR)/$(MODULE)/%:= FILEMODE = $(CFILEMODE) 198f73e0305SHans Rosenfeld 199f73e0305SHans Rosenfeld$(ROOT_FIRMWARE_DIR)/$(MODULE)/%: $(ROOT_FIRMWARE_DIR)/$(MODULE) $(FWDIR)/% 200f73e0305SHans Rosenfeld $(INS.file) 201f73e0305SHans Rosenfeld 2027c478bd9Sstevel@tonic-gateinclude $(SRC)/Makefile.psm.targ 2037c478bd9Sstevel@tonic-gate 2047c478bd9Sstevel@tonic-gate# 2057c478bd9Sstevel@tonic-gate# Target for 64b modules 2067c478bd9Sstevel@tonic-gate# 2077c478bd9Sstevel@tonic-gate$(ROOT_KERN_DIR_64): 20848bc00d6Sjmcp -$(INS.dir) 2097c478bd9Sstevel@tonic-gate 2107c478bd9Sstevel@tonic-gate$(ROOT_KERN_DIR_64)/%: $(OBJS_DIR)/% $(ROOT_KERN_DIR_64) FRC 2117c478bd9Sstevel@tonic-gate $(INS.file) 2127c478bd9Sstevel@tonic-gate 2137c478bd9Sstevel@tonic-gate%/$(SUBDIR64): % 21448bc00d6Sjmcp -$(INS.dir) 2157c478bd9Sstevel@tonic-gate 2167c478bd9Sstevel@tonic-gate# 2177c478bd9Sstevel@tonic-gate# Targets for '.conf' file installation. 2187c478bd9Sstevel@tonic-gate# 2197c478bd9Sstevel@tonic-gate$(ROOT_CONFFILE): $(SRC_CONFFILE) $(ROOT_CONFFILE:%/$(CONFFILE)=%) 2207c478bd9Sstevel@tonic-gate $(INS.conffile) 2217c478bd9Sstevel@tonic-gate 2227c478bd9Sstevel@tonic-gate# 2237c478bd9Sstevel@tonic-gate# Targets for creating links between common platforms. ROOT_PLAT_LINKS 2247c478bd9Sstevel@tonic-gate# are are the /platform level while ROOT_PLAT_LINKS_2 are one level 2257c478bd9Sstevel@tonic-gate# down (/platform/`uname -i`/{lib|sbin|kernel}. 2267c478bd9Sstevel@tonic-gate# 2277c478bd9Sstevel@tonic-gate$(ROOT_PLAT_LINKS): 2287c478bd9Sstevel@tonic-gate $(INS.slink1) 2297c478bd9Sstevel@tonic-gate 2307c478bd9Sstevel@tonic-gate$(ROOT_PLAT_LINKS_2): 2317c478bd9Sstevel@tonic-gate $(INS.slink2) 2327c478bd9Sstevel@tonic-gate 2337c478bd9Sstevel@tonic-gate$(USR_PLAT_LINKS): 2347c478bd9Sstevel@tonic-gate $(INS.slink1) 2357c478bd9Sstevel@tonic-gate 2367c478bd9Sstevel@tonic-gate$(USR_PLAT_LINKS_2): 2377c478bd9Sstevel@tonic-gate $(INS.slink2) 2387c478bd9Sstevel@tonic-gate 2397c478bd9Sstevel@tonic-gate# 2407c478bd9Sstevel@tonic-gate# multiple builds support 2417c478bd9Sstevel@tonic-gate# 2427c478bd9Sstevel@tonic-gatedef $(DEF_DEPS) := TARGET = def 2437c478bd9Sstevel@tonic-gateall $(ALL_DEPS) := TARGET = all 2447c478bd9Sstevel@tonic-gateclean $(CLEAN_DEPS) := TARGET = clean 2457c478bd9Sstevel@tonic-gateclobber $(CLOBBER_DEPS) := TARGET = clobber 2467c478bd9Sstevel@tonic-gateinstall $(INSTALL_DEPS) := TARGET = install 2477c478bd9Sstevel@tonic-gatesymcheck $(SYM_DEPS) := TARGET = symcheck 2487c478bd9Sstevel@tonic-gate 2490aaef2f5SRichard LoweALL_TARGS = def all clean clobber install symcheck 2507c478bd9Sstevel@tonic-gate 251bbbed746SGordon RossALL_OBJ32 = $(ALL_TARGS:%=%.obj32) 252bbbed746SGordon Ross 253bbbed746SGordon Ross$(ALL_OBJ32): FRC 254bbbed746SGordon Ross @BUILD_TYPE=OBJ32 VERSION='$(VERSION)' $(MAKE) $(NO_STATE) $(TARGET).targ 255bbbed746SGordon Ross 256bbbed746SGordon RossALL_DEBUG32 = $(ALL_TARGS:%=%.debug32) 257bbbed746SGordon Ross 258bbbed746SGordon Ross$(ALL_DEBUG32): FRC 259bbbed746SGordon Ross @BUILD_TYPE=DBG32 VERSION='$(VERSION)' $(MAKE) $(NO_STATE) $(TARGET).targ 260bbbed746SGordon Ross 2617c478bd9Sstevel@tonic-gateALL_OBJ64 = $(ALL_TARGS:%=%.obj64) 2627c478bd9Sstevel@tonic-gate 2637c478bd9Sstevel@tonic-gate$(ALL_OBJ64): FRC 264fb9f9b97Skupfer @BUILD_TYPE=OBJ64 VERSION='$(VERSION)' $(MAKE) $(NO_STATE) $(TARGET).targ 2657c478bd9Sstevel@tonic-gate 2667c478bd9Sstevel@tonic-gateALL_DEBUG64 = $(ALL_TARGS:%=%.debug64) 2677c478bd9Sstevel@tonic-gate 2687c478bd9Sstevel@tonic-gate$(ALL_DEBUG64): FRC 269fb9f9b97Skupfer @BUILD_TYPE=DBG64 VERSION='$(VERSION)' $(MAKE) $(NO_STATE) $(TARGET).targ 2707c478bd9Sstevel@tonic-gate 271112f9fc1Syz# 272112f9fc1Syz# Currently only the IP module needs symbol checking on obj64. 273112f9fc1Syz# Other modules have the same global-objs nm output for debug64 and obj64. 274112f9fc1Syz# 275112f9fc1Syz$(SISCHECK_DEPS): $(DEF_DEPS) 276112f9fc1Syz @TARG=`$(ECHO) $@ | $(CUT) -d'.' -f2`; \ 277112f9fc1Syz MODSYMS=$(MODULE).symbols.$$TARG; \ 278112f9fc1Syz if [ -f "$(MODULE).global-objs.$$TARG" ]; then \ 279112f9fc1Syz $(GREP) -v '#' $(MODULE).global-objs.$$TARG |$(GREP) . | \ 280112f9fc1Syz $(SORT) -u > $$MODSYMS.tmp; \ 281112f9fc1Syz $(NM) $$TARG/$(MODULE) |$(GREP) OBJT |$(GREP) -v UNDEF | \ 282756e192dSyz $(CUT) -d'|' -f8 |$(GREP) -v '^___const_' | \ 283756e192dSyz $(GREP) -v '\.[0-9]*$$' |$(SORT) -u \ 284112f9fc1Syz > $$MODSYMS.tmp.new; \ 285112f9fc1Syz $(DIFF) $$MODSYMS.tmp $$MODSYMS.tmp.new > $$MODSYMS.diff || \ 286112f9fc1Syz ($(ECHO) "warning: $(MODULE) symbol checking:" \ 287112f9fc1Syz "global variable(s) introduced and/or removed."; \ 288112f9fc1Syz $(CAT) $$MODSYMS.diff; exit 1) \ 289112f9fc1Syz fi 290112f9fc1Syz 291112f9fc1Syz$(SISCLEAN_DEPS): 292112f9fc1Syz -TARG=`$(ECHO) $@ | $(CUT) -d'.' -f2`; \ 293112f9fc1Syz MODSYMS=$(MODULE).symbols.$$TARG; \ 294112f9fc1Syz $(RM) $$MODSYMS.tmp $$MODSYMS.tmp.new $$MODSYMS.diff Nothing_to_remove 295112f9fc1Syz 2967c478bd9Sstevel@tonic-gate 2977c478bd9Sstevel@tonic-gate$(OBJS_DIR): 2987c478bd9Sstevel@tonic-gate -@mkdir -p $@ 2> /dev/null 2997c478bd9Sstevel@tonic-gate 3007c478bd9Sstevel@tonic-gatedef.targ: $(OBJS_DIR) $(ALL_TARGET) 3017c478bd9Sstevel@tonic-gate 3027c478bd9Sstevel@tonic-gateall.targ: $(OBJS_DIR) $(ALL_TARGET) 3037c478bd9Sstevel@tonic-gate 3047c478bd9Sstevel@tonic-gateinstall.targ: $(OBJS_DIR) $(INSTALL_TARGET) 3057c478bd9Sstevel@tonic-gate 3067c478bd9Sstevel@tonic-gate# 3077c478bd9Sstevel@tonic-gate# Cleanliness is next to ... 3087c478bd9Sstevel@tonic-gate# 3097c478bd9Sstevel@tonic-gateclean.targ: 3107c478bd9Sstevel@tonic-gate -$(RM) $(CLEANFILES) Nothing_to_remove 3117c478bd9Sstevel@tonic-gate 3127c478bd9Sstevel@tonic-gateclobber.targ: 3137c478bd9Sstevel@tonic-gate -$(RM) $(CLOBBERFILES) Nothing_to_remove 3147c478bd9Sstevel@tonic-gate 3157c478bd9Sstevel@tonic-gateFRC: 316