45
46 %.ln: ../../mdb/%.c
47 $(LINT.c) -c $<
48
49 %.ln: $(SRC)/common/dis/i386/%.c
50 $(LINT.c) -c $<
51
52 ROOT_MISC_DIR = $(ROOT)/kernel/misc
53 ROOT_MISC_DIR_64 = $(ROOT_MISC_DIR)/$(SUBDIR64)
54
55 ROOTMISC = $(ROOT_MISC_DIR)/$(PROG)
56 ROOTMISC64 = $(ROOT_MISC_DIR_64)/$(PROG)
57
58 include ../../../../Makefile.cmd
59 include ../../../../Makefile.cmd.64
60
61 include ../../Makefile.amd64
62 include ../../../Makefile.kmdb
63
64 STANDLIBS += $(ROOT)/usr/lib/amd64/libstanddisasm.so
65
66 INCDIRS += $(SRC)/uts/i86pc $(SRC)/common/dis/i386
67
68 CPPFLAGS += -DDIS_TEXT
69
70 install: all $(ROOTMISC64)
71
72 #
73 # lint rules
74 #
75
76 .PARALLEL: lintkmdb lintprom lintkctl
77
78 lint: lintkmdb lintprom lintkctl
79 $(LINT) $(ALLLINTFLAGS) $(KMDBOBJS:%.o=%.ln) $(PROMOBJS:%.o=%.ln)
80
81 lintkmdb: $(KMDBOBJS:%.o=%.ln)
82 $(LINT) $(LINTFLAGS) $(KMDBOBJS:%.o=%.ln)
83
84 lintprom: $(PROMOBJS:%.o=%.ln)
|
45
46 %.ln: ../../mdb/%.c
47 $(LINT.c) -c $<
48
49 %.ln: $(SRC)/common/dis/i386/%.c
50 $(LINT.c) -c $<
51
52 ROOT_MISC_DIR = $(ROOT)/kernel/misc
53 ROOT_MISC_DIR_64 = $(ROOT_MISC_DIR)/$(SUBDIR64)
54
55 ROOTMISC = $(ROOT_MISC_DIR)/$(PROG)
56 ROOTMISC64 = $(ROOT_MISC_DIR_64)/$(PROG)
57
58 include ../../../../Makefile.cmd
59 include ../../../../Makefile.cmd.64
60
61 include ../../Makefile.amd64
62 include ../../../Makefile.kmdb
63
64 STANDLIBS += $(ROOT)/usr/lib/amd64/libstanddisasm.so
65 STANDLIBS += $(ROOT)/usr/lib/amd64/libstandsaveargs.so
66
67 INCDIRS += $(SRC)/uts/i86pc $(SRC)/common/dis/i386
68
69 CPPFLAGS += -DDIS_TEXT
70
71 install: all $(ROOTMISC64)
72
73 #
74 # lint rules
75 #
76
77 .PARALLEL: lintkmdb lintprom lintkctl
78
79 lint: lintkmdb lintprom lintkctl
80 $(LINT) $(ALLLINTFLAGS) $(KMDBOBJS:%.o=%.ln) $(PROMOBJS:%.o=%.ln)
81
82 lintkmdb: $(KMDBOBJS:%.o=%.ln)
83 $(LINT) $(LINTFLAGS) $(KMDBOBJS:%.o=%.ln)
84
85 lintprom: $(PROMOBJS:%.o=%.ln)
|