Makefile (84659b24a533984de271059abf9a1092835d15a9) | Makefile (aee33e58f237f0d3cfeab24295f491937f0f7c79) |
---|---|
1# 2# This file and its contents are supplied under the terms of the 3# Common Development and Distribution License ("CDDL"), version 1.0. 4# You may only use this file in accordance with the terms of version 5# 1.0 of the CDDL. 6# 7# A full copy of the text of the CDDL should have accompanied this 8# source. A copy of the CDDL is also available via the Internet at --- 12 unchanged lines hidden (view full) --- 21include ../Makefile.ctf 22 23SUBDIRS = test 24 25all := TARGET = all 26install := TARGET = install 27clean := TARGET = clean 28clobber := TARGET = clobber | 1# 2# This file and its contents are supplied under the terms of the 3# Common Development and Distribution License ("CDDL"), version 1.0. 4# You may only use this file in accordance with the terms of version 5# 1.0 of the CDDL. 6# 7# A full copy of the text of the CDDL should have accompanied this 8# source. A copy of the CDDL is also available via the Internet at --- 12 unchanged lines hidden (view full) --- 21include ../Makefile.ctf 22 23SUBDIRS = test 24 25all := TARGET = all 26install := TARGET = install 27clean := TARGET = clean 28clobber := TARGET = clobber |
29lint := TARGET = lint | |
30 31SRCS = acpi.c \ 32 atkbdc.c \ 33 bhyvegc.c \ 34 bhyverun.c \ 35 block_if.c \ 36 bootrom.c \ 37 console.c \ --- 86 unchanged lines hidden (view full) --- 124 125pci_nvme.o := CERRWARN += -_gcc=-Wno-pointer-sign 126 127SMOFF += all_func_returns,leaks,no_if_block 128 129# Force c99 for everything 130CSTD= $(CSTD_GNU99) 131C99MODE= -xc99=%all | 29 30SRCS = acpi.c \ 31 atkbdc.c \ 32 bhyvegc.c \ 33 bhyverun.c \ 34 block_if.c \ 35 bootrom.c \ 36 console.c \ --- 86 unchanged lines hidden (view full) --- 123 124pci_nvme.o := CERRWARN += -_gcc=-Wno-pointer-sign 125 126SMOFF += all_func_returns,leaks,no_if_block 127 128# Force c99 for everything 129CSTD= $(CSTD_GNU99) 130C99MODE= -xc99=%all |
132C99LMODE= -Xc99=%all | |
133 134$(PROG) := LDLIBS += -lsocket -lnsl -ldlpi -ldladm -lmd -luuid -lvmmapi -lz 135$(MEVENT_TEST_PROG) := LDLIBS += -lsocket 136 137.KEEP_STATE: 138 139all: $(PROG) $(MEVENT_TEST_PROG) $(SUBDIRS) 140 --- 7 unchanged lines hidden (view full) --- 148install: all $(ROOTUSRSBINPROG) $(SUBDIRS) 149 150clean: $(SUBDIRS) 151 $(RM) $(OBJS) $(CLEANFILES) 152 153clobber: clean $(SUBDIRS) 154 $(RM) $(CLOBBERFILES) 155 | 131 132$(PROG) := LDLIBS += -lsocket -lnsl -ldlpi -ldladm -lmd -luuid -lvmmapi -lz 133$(MEVENT_TEST_PROG) := LDLIBS += -lsocket 134 135.KEEP_STATE: 136 137all: $(PROG) $(MEVENT_TEST_PROG) $(SUBDIRS) 138 --- 7 unchanged lines hidden (view full) --- 146install: all $(ROOTUSRSBINPROG) $(SUBDIRS) 147 148clean: $(SUBDIRS) 149 $(RM) $(OBJS) $(CLEANFILES) 150 151clobber: clean $(SUBDIRS) 152 $(RM) $(CLOBBERFILES) 153 |
156lint: lint_SRCS $(SUBDIRS) 157 | |
158$(SUBDIRS): FRC 159 @cd $@; pwd; $(MAKE) $(TARGET) 160 161FRC: 162 163%.o: $(SRC)/uts/i86pc/io/vmm/%.c 164 $(COMPILE.c) $< 165 $(POST_PROCESS_O) | 154$(SUBDIRS): FRC 155 @cd $@; pwd; $(MAKE) $(TARGET) 156 157FRC: 158 159%.o: $(SRC)/uts/i86pc/io/vmm/%.c 160 $(COMPILE.c) $< 161 $(POST_PROCESS_O) |