2 # Generated by genmk.rb, please don't edit!
4 pkglib_MODULES
+= cpuid.mod
5 cpuid_mod_SOURCES
= commands
/i386
/cpuid.c
6 CLEANFILES
+= cpuid.mod mod-cpuid.o mod-cpuid.c pre-cpuid.o cpuid_mod-commands_i386_cpuid.o und-cpuid.lst
7 ifneq ($(cpuid_mod_EXPORTS
),no
)
8 CLEANFILES
+= def-cpuid.lst
9 DEFSYMFILES
+= def-cpuid.lst
11 MOSTLYCLEANFILES
+= cpuid_mod-commands_i386_cpuid.d
12 UNDSYMFILES
+= und-cpuid.lst
14 cpuid.mod
: pre-cpuid.o mod-cpuid.o
$(TARGET_OBJ2ELF
)
16 $(TARGET_CC
) $(cpuid_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-cpuid.o mod-cpuid.o
17 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
18 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
20 pre-cpuid.o
: $(cpuid_mod_DEPENDENCIES
) cpuid_mod-commands_i386_cpuid.o
22 $(TARGET_CC
) $(cpuid_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ cpuid_mod-commands_i386_cpuid.o
24 mod-cpuid.o
: mod-cpuid.c
25 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cpuid_mod_CFLAGS
) -c
-o
$@
$<
27 mod-cpuid.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
28 sh
$(srcdir)/genmodsrc.sh
'cpuid' $< > $@ ||
(rm -f
$@
; exit
1)
30 ifneq ($(cpuid_mod_EXPORTS
),no
)
31 def-cpuid.lst
: pre-cpuid.o
32 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 cpuid/' > $@
35 und-cpuid.lst
: pre-cpuid.o
37 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
39 cpuid_mod-commands_i386_cpuid.o
: commands
/i386
/cpuid.c
$(commands
/i386
/cpuid.c_DEPENDENCIES
)
40 $(TARGET_CC
) -Icommands
/i386
-I
$(srcdir)/commands
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cpuid_mod_CFLAGS
) -MD
-c
-o
$@
$<
41 -include cpuid_mod-commands_i386_cpuid.d
43 CLEANFILES
+= cmd-cpuid_mod-commands_i386_cpuid.lst fs-cpuid_mod-commands_i386_cpuid.lst partmap-cpuid_mod-commands_i386_cpuid.lst
44 COMMANDFILES
+= cmd-cpuid_mod-commands_i386_cpuid.lst
45 FSFILES
+= fs-cpuid_mod-commands_i386_cpuid.lst
46 PARTMAPFILES
+= partmap-cpuid_mod-commands_i386_cpuid.lst
48 cmd-cpuid_mod-commands_i386_cpuid.lst
: commands
/i386
/cpuid.c
$(commands
/i386
/cpuid.c_DEPENDENCIES
) gencmdlist.sh
49 set
-e
; $(TARGET_CC
) -Icommands
/i386
-I
$(srcdir)/commands
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cpuid_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh cpuid
> $@ ||
(rm -f
$@
; exit
1)
51 fs-cpuid_mod-commands_i386_cpuid.lst
: commands
/i386
/cpuid.c
$(commands
/i386
/cpuid.c_DEPENDENCIES
) genfslist.sh
52 set
-e
; $(TARGET_CC
) -Icommands
/i386
-I
$(srcdir)/commands
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cpuid_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh cpuid
> $@ ||
(rm -f
$@
; exit
1)
54 partmap-cpuid_mod-commands_i386_cpuid.lst
: commands
/i386
/cpuid.c
$(commands
/i386
/cpuid.c_DEPENDENCIES
) genpartmaplist.sh
55 set
-e
; $(TARGET_CC
) -Icommands
/i386
-I
$(srcdir)/commands
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cpuid_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh cpuid
> $@ ||
(rm -f
$@
; exit
1)
58 cpuid_mod_CFLAGS
= $(COMMON_CFLAGS
)
59 cpuid_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
61 pkglib_MODULES
+= at_keyboard.mod
62 at_keyboard_mod_SOURCES
= term
/i386
/pc/at_keyboard.c
63 CLEANFILES
+= at_keyboard.mod mod-at_keyboard.o mod-at_keyboard.c pre-at_keyboard.o at_keyboard_mod-term_i386_pc_at_keyboard.o und-at_keyboard.lst
64 ifneq ($(at_keyboard_mod_EXPORTS
),no
)
65 CLEANFILES
+= def-at_keyboard.lst
66 DEFSYMFILES
+= def-at_keyboard.lst
68 MOSTLYCLEANFILES
+= at_keyboard_mod-term_i386_pc_at_keyboard.d
69 UNDSYMFILES
+= und-at_keyboard.lst
71 at_keyboard.mod
: pre-at_keyboard.o mod-at_keyboard.o
$(TARGET_OBJ2ELF
)
73 $(TARGET_CC
) $(at_keyboard_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-at_keyboard.o mod-at_keyboard.o
74 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
75 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
77 pre-at_keyboard.o
: $(at_keyboard_mod_DEPENDENCIES
) at_keyboard_mod-term_i386_pc_at_keyboard.o
79 $(TARGET_CC
) $(at_keyboard_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ at_keyboard_mod-term_i386_pc_at_keyboard.o
81 mod-at_keyboard.o
: mod-at_keyboard.c
82 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(at_keyboard_mod_CFLAGS
) -c
-o
$@
$<
84 mod-at_keyboard.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
85 sh
$(srcdir)/genmodsrc.sh
'at_keyboard' $< > $@ ||
(rm -f
$@
; exit
1)
87 ifneq ($(at_keyboard_mod_EXPORTS
),no
)
88 def-at_keyboard.lst
: pre-at_keyboard.o
89 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 at_keyboard/' > $@
92 und-at_keyboard.lst
: pre-at_keyboard.o
93 echo
'at_keyboard' > $@
94 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
96 at_keyboard_mod-term_i386_pc_at_keyboard.o
: term
/i386
/pc/at_keyboard.c
$(term
/i386
/pc/at_keyboard.c_DEPENDENCIES
)
97 $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(at_keyboard_mod_CFLAGS
) -MD
-c
-o
$@
$<
98 -include at_keyboard_mod-term_i386_pc_at_keyboard.d
100 CLEANFILES
+= cmd-at_keyboard_mod-term_i386_pc_at_keyboard.lst fs-at_keyboard_mod-term_i386_pc_at_keyboard.lst partmap-at_keyboard_mod-term_i386_pc_at_keyboard.lst
101 COMMANDFILES
+= cmd-at_keyboard_mod-term_i386_pc_at_keyboard.lst
102 FSFILES
+= fs-at_keyboard_mod-term_i386_pc_at_keyboard.lst
103 PARTMAPFILES
+= partmap-at_keyboard_mod-term_i386_pc_at_keyboard.lst
105 cmd-at_keyboard_mod-term_i386_pc_at_keyboard.lst
: term
/i386
/pc/at_keyboard.c
$(term
/i386
/pc/at_keyboard.c_DEPENDENCIES
) gencmdlist.sh
106 set
-e
; $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(at_keyboard_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh at_keyboard
> $@ ||
(rm -f
$@
; exit
1)
108 fs-at_keyboard_mod-term_i386_pc_at_keyboard.lst
: term
/i386
/pc/at_keyboard.c
$(term
/i386
/pc/at_keyboard.c_DEPENDENCIES
) genfslist.sh
109 set
-e
; $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(at_keyboard_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh at_keyboard
> $@ ||
(rm -f
$@
; exit
1)
111 partmap-at_keyboard_mod-term_i386_pc_at_keyboard.lst
: term
/i386
/pc/at_keyboard.c
$(term
/i386
/pc/at_keyboard.c_DEPENDENCIES
) genpartmaplist.sh
112 set
-e
; $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(at_keyboard_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh at_keyboard
> $@ ||
(rm -f
$@
; exit
1)
115 at_keyboard_mod_CFLAGS
= $(COMMON_CFLAGS
)
116 at_keyboard_mod_LDFLAGS
= $(COMMON_LDFLAGS
)