4 bin_UTILITIES += grub-mkelfimage
5 grub_mkelfimage_SOURCES = util/elf/grub-mkimage.c util/misc.c \
7 util/elf/grub-mkimage.c_DEPENDENCIES = Makefile
10 sbin_UTILITIES += grub-probe
11 util/grub-probe.c_DEPENDENCIES = grub_probe_init.h
12 grub_probe_SOURCES = util/grub-probe.c \
13 util/hostdisk.c util/misc.c util/getroot.c \
14 kern/device.c kern/disk.c kern/err.c kern/misc.c \
15 kern/parser.c kern/partition.c kern/file.c \
17 fs/affs.c fs/cpio.c fs/fat.c fs/ext2.c fs/hfs.c \
18 fs/hfsplus.c fs/iso9660.c fs/udf.c fs/jfs.c fs/minix.c \
19 fs/ntfs.c fs/ntfscomp.c fs/reiserfs.c fs/sfs.c \
20 fs/ufs.c fs/xfs.c fs/afs.c fs/tar.c \
22 partmap/pc.c partmap/apple.c partmap/sun.c partmap/gpt.c\
23 kern/fs.c kern/env.c fs/fshelp.c \
24 disk/raid.c disk/mdraid_linux.c disk/lvm.c grub_probe_init.c
26 ifeq ($(enable_grub_fstest), yes)
27 bin_UTILITIES += grub-fstest
31 util/grub-fstest.c_DEPENDENCIES = grub_fstest_init.h
32 grub_fstest_SOURCES = util/grub-fstest.c util/hostfs.c util/misc.c \
33 kern/file.c kern/device.c kern/disk.c kern/err.c kern/misc.c \
34 disk/host.c disk/loopback.c kern/list.c kern/command.c \
35 lib/arg.c commands/extcmd.c normal/datetime.c normal/misc.c \
36 lib/hexdump.c lib/crc.c commands/blocklist.c commands/ls.c \
38 fs/affs.c fs/cpio.c fs/fat.c fs/ext2.c fs/hfs.c \
39 fs/hfsplus.c fs/iso9660.c fs/udf.c fs/jfs.c fs/minix.c \
40 fs/ntfs.c fs/ntfscomp.c fs/reiserfs.c fs/sfs.c \
41 fs/ufs.c fs/xfs.c fs/afs.c fs/tar.c \
43 kern/partition.c partmap/pc.c partmap/apple.c partmap/sun.c \
45 kern/fs.c kern/env.c fs/fshelp.c disk/raid.c \
46 disk/raid5_recover.c disk/raid6_recover.c \
47 disk/mdraid_linux.c disk/dmraid_nvidia.c disk/lvm.c \
51 ifeq ($(enable_grub_mkfont), yes)
52 bin_UTILITIES += grub-mkfont
53 grub_mkfont_SOURCES = util/grub-mkfont.c util/misc.c
54 grub_mkfont_CFLAGS = $(freetype_cflags)
55 grub_mkfont_LDFLAGS = $(freetype_libs)
59 grub_script.tab.c grub_script.tab.h: script/sh/parser.y
60 $(YACC) -d -p grub_script_yy -b grub_script $(srcdir)/script/sh/parser.y
61 DISTCLEANFILES += grub_script.tab.c grub_script.tab.h
64 grub_emu_init.lst: geninit.sh $(filter-out grub_emu_init.c,$(grub_emu_SOURCES))
65 rm -f $@; grep GRUB_MOD_INIT $(filter %.c,$^) /dev/null > $@
66 DISTCLEANFILES += grub_emu_init.lst
68 grub_emu_init.h: grub_emu_init.lst $(filter-out grub_emu_init.c,$(grub_emu_SOURCES)) geninitheader.sh
69 rm -f $@; sh $(srcdir)/geninitheader.sh $< > $@
70 DISTCLEANFILES += grub_emu_init.h
72 grub_emu_init.c: grub_emu_init.lst $(filter-out grub_emu_init.c,$(grub_emu_SOURCES)) geninit.sh grub_emu_init.h
73 rm -f $@; sh $(srcdir)/geninit.sh $< $(filter %.c,$^) > $@
74 DISTCLEANFILES += grub_emu_init.c
77 grub_probe_init.lst: geninit.sh $(filter-out grub_probe_init.c,$(grub_probe_SOURCES))
78 rm -f $@; grep GRUB_MOD_INIT $(filter %.c,$^) /dev/null > $@
79 DISTCLEANFILES += grub_probe_init.lst
81 grub_probe_init.h: grub_probe_init.lst $(filter-out grub_probe_init.c,$(grub_probe_SOURCES)) geninitheader.sh
82 rm -f $@; sh $(srcdir)/geninitheader.sh $< > $@
83 DISTCLEANFILES += grub_probe_init.h
85 grub_probe_init.c: grub_probe_init.lst $(filter-out grub_probe_init.c,$(grub_probe_SOURCES)) geninit.sh grub_probe_init.h
86 rm -f $@; sh $(srcdir)/geninit.sh $< $(filter %.c,$^) > $@
87 DISTCLEANFILES += grub_probe_init.c
90 grub_setup_init.lst: geninit.sh $(filter-out grub_setup_init.c,$(grub_setup_SOURCES))
91 rm -f $@; grep GRUB_MOD_INIT $(filter %.c,$^) /dev/null > $@
92 DISTCLEANFILES += grub_setup_init.lst
94 grub_setup_init.h: grub_setup_init.lst $(filter-out grub_setup_init.c,$(grub_setup_SOURCES)) geninitheader.sh
95 rm -f $@; sh $(srcdir)/geninitheader.sh $< > $@
96 DISTCLEANFILES += grub_setup_init.h
98 grub_setup_init.c: grub_setup_init.lst $(filter-out grub_setup_init.c,$(grub_setup_SOURCES)) geninit.sh grub_setup_init.h
99 rm -f $@; sh $(srcdir)/geninit.sh $< $(filter %.c,$^) > $@
100 DISTCLEANFILES += grub_setup_init.c
103 grub_fstest_init.lst: geninit.sh $(filter-out grub_fstest_init.c,$(grub_fstest_SOURCES))
104 rm -f $@; grep GRUB_MOD_INIT $(filter %.c,$^) /dev/null > $@
105 DISTCLEANFILES += grub_fstest_init.lst
107 grub_fstest_init.h: grub_fstest_init.lst $(filter-out grub_fstest_init.c,$(grub_fstest_SOURCES)) geninitheader.sh
108 rm -f $@; sh $(srcdir)/geninitheader.sh $< > $@
109 DISTCLEANFILES += grub_fstest_init.h
111 grub_fstest_init.c: grub_fstest_init.lst $(filter-out grub_fstest_init.c,$(grub_fstest_SOURCES)) geninit.sh grub_fstest_init.h
112 rm -f $@; sh $(srcdir)/geninit.sh $< $(filter %.c,$^) > $@
113 DISTCLEANFILES += grub_fstest_init.c
116 bin_UTILITIES += grub-editenv
117 grub_editenv_SOURCES = util/grub-editenv.c lib/envblk.c util/misc.c kern/misc.c kern/err.c
118 CLEANFILES += grub-editenv
121 ifeq ($(enable_grub_pe2elf), yes)
122 bin_UTILITIES += grub-pe2elf
125 grub_pe2elf_SOURCES = util/grub-pe2elf.c util/misc.c
126 CLEANFILES += grub-pe2elf
128 # grub_macho2img assumes a lot about source file.
129 # So installing it definitively is useless
130 # But adding to bin_UTILITIES is needed for
133 bin_UTILITIES += grub-macho2img
135 grub_macho2img_SOURCES = util/grub-macho2img.c
136 CLEANFILES += grub-macho2img
139 grub-mkconfig: util/grub-mkconfig.in config.status
140 ./config.status --file=$@:$<
142 sbin_SCRIPTS += grub-mkconfig
143 CLEANFILES += grub-mkconfig
145 grub-mkconfig_lib: util/grub-mkconfig_lib.in config.status
146 ./config.status --file=$@:$<
148 lib_DATA += grub-mkconfig_lib
149 CLEANFILES += grub-mkconfig_lib
151 update-grub_lib: util/update-grub_lib.in config.status
152 ./config.status --file=$@:$<
154 lib_DATA += update-grub_lib
155 CLEANFILES += update-grub_lib
157 %: util/grub.d/%.in config.status
158 ./config.status --file=$@:$<
160 grub-mkconfig_SCRIPTS = 00_header 30_os-prober 40_custom
161 ifneq (, $(host_kernel))
162 grub-mkconfig_SCRIPTS += 10_$(host_kernel)
165 CLEANFILES += $(grub-mkconfig_SCRIPTS)
167 grub-mkconfig_DATA += util/grub.d/README
170 grub-dumpbios: util/grub-dumpbios.in config.status
171 ./config.status --file=$@:$<
173 sbin_SCRIPTS += grub-dumpbios
174 CLEANFILES += grub-dumpbios
177 pkglib_MODULES += fshelp.mod fat.mod ufs.mod ext2.mod ntfs.mod \
178 ntfscomp.mod minix.mod hfs.mod jfs.mod iso9660.mod xfs.mod \
179 affs.mod sfs.mod hfsplus.mod reiserfs.mod cpio.mod tar.mod \
183 fshelp_mod_SOURCES = fs/fshelp.c
184 fshelp_mod_CFLAGS = $(COMMON_CFLAGS)
185 fshelp_mod_LDFLAGS = $(COMMON_LDFLAGS)
188 fat_mod_SOURCES = fs/fat.c
189 fat_mod_CFLAGS = $(COMMON_CFLAGS)
190 fat_mod_LDFLAGS = $(COMMON_LDFLAGS)
193 ufs_mod_SOURCES = fs/ufs.c
194 ufs_mod_CFLAGS = $(COMMON_CFLAGS)
195 ufs_mod_LDFLAGS = $(COMMON_LDFLAGS)
198 ext2_mod_SOURCES = fs/ext2.c
199 ext2_mod_CFLAGS = $(COMMON_CFLAGS)
200 ext2_mod_LDFLAGS = $(COMMON_LDFLAGS)
203 ntfs_mod_SOURCES = fs/ntfs.c
204 ntfs_mod_CFLAGS = $(COMMON_CFLAGS)
205 ntfs_mod_LDFLAGS = $(COMMON_LDFLAGS)
208 ntfscomp_mod_SOURCES = fs/ntfscomp.c
209 ntfscomp_mod_CFLAGS = $(COMMON_CFLAGS)
210 ntfscomp_mod_LDFLAGS = $(COMMON_LDFLAGS)
213 minix_mod_SOURCES = fs/minix.c
214 minix_mod_CFLAGS = $(COMMON_CFLAGS)
215 minix_mod_LDFLAGS = $(COMMON_LDFLAGS)
218 hfs_mod_SOURCES = fs/hfs.c
219 hfs_mod_CFLAGS = $(COMMON_CFLAGS)
220 hfs_mod_LDFLAGS = $(COMMON_LDFLAGS)
223 jfs_mod_SOURCES = fs/jfs.c
224 jfs_mod_CFLAGS = $(COMMON_CFLAGS)
225 jfs_mod_LDFLAGS = $(COMMON_LDFLAGS)
228 iso9660_mod_SOURCES = fs/iso9660.c
229 iso9660_mod_CFLAGS = $(COMMON_CFLAGS)
230 iso9660_mod_LDFLAGS = $(COMMON_LDFLAGS)
233 xfs_mod_SOURCES = fs/xfs.c
234 xfs_mod_CFLAGS = $(COMMON_CFLAGS)
235 xfs_mod_LDFLAGS = $(COMMON_LDFLAGS)
238 affs_mod_SOURCES = fs/affs.c
239 affs_mod_CFLAGS = $(COMMON_CFLAGS)
240 affs_mod_LDFLAGS = $(COMMON_LDFLAGS)
243 sfs_mod_SOURCES = fs/sfs.c
244 sfs_mod_CFLAGS = $(COMMON_CFLAGS)
245 sfs_mod_LDFLAGS = $(COMMON_LDFLAGS)
248 hfsplus_mod_SOURCES = fs/hfsplus.c
249 hfsplus_mod_CFLAGS = $(COMMON_CFLAGS)
250 hfsplus_mod_LDFLAGS = $(COMMON_LDFLAGS)
253 reiserfs_mod_SOURCES = fs/reiserfs.c
254 reiserfs_mod_CFLAGS = $(COMMON_CFLAGS)
255 reiserfs_mod_LDFLAGS = $(COMMON_LDFLAGS)
258 cpio_mod_SOURCES = fs/cpio.c
259 cpio_mod_CFLAGS = $(COMMON_CFLAGS)
260 cpio_mod_LDFLAGS = $(COMMON_LDFLAGS)
263 tar_mod_SOURCES = fs/cpio.c
264 tar_mod_CFLAGS = $(COMMON_CFLAGS) -DMODE_USTAR
265 tar_mod_LDFLAGS = $(COMMON_LDFLAGS)
268 udf_mod_SOURCES = fs/udf.c
269 udf_mod_CFLAGS = $(COMMON_CFLAGS)
270 udf_mod_LDFLAGS = $(COMMON_LDFLAGS)
273 afs_mod_SOURCES = fs/afs.c
274 afs_mod_CFLAGS = $(COMMON_CFLAGS)
275 afs_mod_LDFLAGS = $(COMMON_LDFLAGS)
278 pkglib_MODULES += amiga.mod apple.mod pc.mod sun.mod acorn.mod gpt.mod
281 amiga_mod_SOURCES = partmap/amiga.c
282 amiga_mod_CFLAGS = $(COMMON_CFLAGS)
283 amiga_mod_LDFLAGS = $(COMMON_LDFLAGS)
286 apple_mod_SOURCES = partmap/apple.c
287 apple_mod_CFLAGS = $(COMMON_CFLAGS)
288 apple_mod_LDFLAGS = $(COMMON_LDFLAGS)
291 pc_mod_SOURCES = partmap/pc.c
292 pc_mod_CFLAGS = $(COMMON_CFLAGS)
293 pc_mod_LDFLAGS = $(COMMON_LDFLAGS)
296 sun_mod_SOURCES = partmap/sun.c
297 sun_mod_CFLAGS = $(COMMON_CFLAGS)
298 sun_mod_LDFLAGS = $(COMMON_LDFLAGS)
301 acorn_mod_SOURCES = partmap/acorn.c
302 acorn_mod_CFLAGS = $(COMMON_CFLAGS)
303 acorn_mod_LDFLAGS = $(COMMON_LDFLAGS)
306 gpt_mod_SOURCES = partmap/gpt.c
307 gpt_mod_CFLAGS = $(COMMON_CFLAGS)
308 gpt_mod_LDFLAGS = $(COMMON_LDFLAGS)
310 # Special disk structures and generic drivers
312 pkglib_MODULES += raid.mod raid5rec.mod raid6rec.mod mdraid.mod dm_nv.mod \
316 raid_mod_SOURCES = disk/raid.c
317 raid_mod_CFLAGS = $(COMMON_CFLAGS)
318 raid_mod_LDFLAGS = $(COMMON_LDFLAGS)
321 raid5rec_mod_SOURCES = disk/raid5_recover.c
322 raid5rec_mod_CFLAGS = $(COMMON_CFLAGS)
323 raid5rec_mod_LDFLAGS = $(COMMON_LDFLAGS)
326 raid6rec_mod_SOURCES = disk/raid6_recover.c
327 raid6rec_mod_CFLAGS = $(COMMON_CFLAGS)
328 raid6rec_mod_LDFLAGS = $(COMMON_LDFLAGS)
331 mdraid_mod_SOURCES = disk/mdraid_linux.c
332 mdraid_mod_CFLAGS = $(COMMON_CFLAGS)
333 mdraid_mod_LDFLAGS = $(COMMON_LDFLAGS)
336 dm_nv_mod_SOURCES = disk/dmraid_nvidia.c
337 dm_nv_mod_CFLAGS = $(COMMON_CFLAGS)
338 dm_nv_mod_LDFLAGS = $(COMMON_LDFLAGS)
341 lvm_mod_SOURCES = disk/lvm.c
342 lvm_mod_CFLAGS = $(COMMON_CFLAGS)
343 lvm_mod_LDFLAGS = $(COMMON_LDFLAGS)
346 scsi_mod_SOURCES = disk/scsi.c
347 scsi_mod_CFLAGS = $(COMMON_CFLAGS)
348 scsi_mod_LDFLAGS = $(COMMON_LDFLAGS)
351 pkglib_MODULES += minicmd.mod extcmd.mod hello.mod handler.mod \
352 ls.mod cmp.mod cat.mod help.mod search.mod \
353 loopback.mod fs_uuid.mod configfile.mod echo.mod \
354 terminfo.mod test.mod blocklist.mod hexdump.mod \
355 read.mod sleep.mod loadenv.mod crc.mod parttool.mod \
356 pcpart.mod memrw.mod boot.mod normal.mod sh.mod lua.mod \
360 gptsync_mod_SOURCES = commands/gptsync.c
361 gptsync_mod_CFLAGS = $(COMMON_CFLAGS)
362 gptsync_mod_LDFLAGS = $(COMMON_LDFLAGS)
365 boot_mod_SOURCES = commands/boot.c
366 boot_mod_CFLAGS = $(COMMON_CFLAGS)
367 boot_mod_LDFLAGS = $(COMMON_LDFLAGS)
370 minicmd_mod_SOURCES = commands/minicmd.c
371 minicmd_mod_CFLAGS = $(COMMON_CFLAGS)
372 minicmd_mod_LDFLAGS = $(COMMON_LDFLAGS)
375 extcmd_mod_SOURCES = commands/extcmd.c lib/arg.c
376 extcmd_mod_CFLAGS = $(COMMON_CFLAGS)
377 extcmd_mod_LDFLAGS = $(COMMON_LDFLAGS)
380 hello_mod_SOURCES = hello/hello.c
381 hello_mod_CFLAGS = $(COMMON_CFLAGS)
382 hello_mod_LDFLAGS = $(COMMON_LDFLAGS)
385 parttool_mod_SOURCES = commands/parttool.c
386 parttool_mod_CFLAGS = $(COMMON_CFLAGS)
387 parttool_mod_LDFLAGS = $(COMMON_LDFLAGS)
390 pcpart_mod_SOURCES = parttool/pcpart.c
391 pcpart_mod_CFLAGS = $(COMMON_CFLAGS)
392 pcpart_mod_LDFLAGS = $(COMMON_LDFLAGS)
395 handler_mod_SOURCES = commands/handler.c
396 handler_mod_CFLAGS = $(COMMON_CFLAGS)
397 handler_mod_LDFLAGS = $(COMMON_LDFLAGS)
400 ls_mod_SOURCES = commands/ls.c
401 ls_mod_CFLAGS = $(COMMON_CFLAGS)
402 ls_mod_LDFLAGS = $(COMMON_LDFLAGS)
405 cmp_mod_SOURCES = commands/cmp.c
406 cmp_mod_CFLAGS = $(COMMON_CFLAGS)
407 cmp_mod_LDFLAGS = $(COMMON_LDFLAGS)
410 cat_mod_SOURCES = commands/cat.c
411 cat_mod_CFLAGS = $(COMMON_CFLAGS)
412 cat_mod_LDFLAGS = $(COMMON_LDFLAGS)
415 echo_mod_SOURCES = commands/echo.c
416 echo_mod_CFLAGS = $(COMMON_CFLAGS)
417 echo_mod_LDFLAGS = $(COMMON_LDFLAGS)
420 help_mod_SOURCES = commands/help.c
421 help_mod_CFLAGS = $(COMMON_CFLAGS)
422 help_mod_LDFLAGS = $(COMMON_LDFLAGS)
425 search_mod_SOURCES = commands/search.c
426 search_mod_CFLAGS = $(COMMON_CFLAGS)
427 search_mod_LDFLAGS = $(COMMON_LDFLAGS)
430 test_mod_SOURCES = commands/test.c
431 test_mod_CFLAGS = $(COMMON_CFLAGS)
432 test_mod_LDFLAGS = $(COMMON_LDFLAGS)
435 loopback_mod_SOURCES = disk/loopback.c
436 loopback_mod_CFLAGS = $(COMMON_CFLAGS)
437 loopback_mod_LDFLAGS = $(COMMON_LDFLAGS)
440 fs_uuid_mod_SOURCES = disk/fs_uuid.c
441 fs_uuid_mod_CFLAGS = $(COMMON_CFLAGS)
442 fs_uuid_mod_LDFLAGS = $(COMMON_LDFLAGS)
445 configfile_mod_SOURCES = commands/configfile.c
446 configfile_mod_CFLAGS = $(COMMON_CFLAGS)
447 configfile_mod_LDFLAGS = $(COMMON_LDFLAGS)
450 terminfo_mod_SOURCES = term/terminfo.c term/tparm.c
451 terminfo_mod_CFLAGS = $(COMMON_CFLAGS)
452 terminfo_mod_LDFLAGS = $(COMMON_LDFLAGS)
455 blocklist_mod_SOURCES = commands/blocklist.c
456 blocklist_mod_CFLAGS = $(COMMON_CFLAGS)
457 blocklist_mod_LDFLAGS = $(COMMON_LDFLAGS)
460 hexdump_mod_SOURCES = commands/hexdump.c lib/hexdump.c
461 hexdump_mod_CFLAGS = $(COMMON_CFLAGS)
462 hexdump_mod_LDFLAGS = $(COMMON_LDFLAGS)
465 read_mod_SOURCES = commands/read.c
466 read_mod_CFLAGS = $(COMMON_CFLAGS)
467 read_mod_LDFLAGS = $(COMMON_LDFLAGS)
470 sleep_mod_SOURCES = commands/sleep.c
471 sleep_mod_CFLAGS = $(COMMON_CFLAGS)
472 sleep_mod_LDFLAGS = $(COMMON_LDFLAGS)
475 loadenv_mod_SOURCES = commands/loadenv.c lib/envblk.c
476 loadenv_mod_CFLAGS = $(COMMON_CFLAGS)
477 loadenv_mod_LDFLAGS = $(COMMON_LDFLAGS)
480 crc_mod_SOURCES = commands/crc.c lib/crc.c
481 crc_mod_CFLAGS = $(COMMON_CFLAGS)
482 crc_mod_LDFLAGS = $(COMMON_LDFLAGS)
485 memrw_mod_SOURCES = commands/memrw.c
486 memrw_mod_CFLAGS = $(COMMON_CFLAGS)
487 memrw_mod_LDFLAGS = $(COMMON_LDFLAGS)
490 true_mod_SOURCES = commands/true.c
491 true_mod_CFLAGS = $(COMMON_CFLAGS)
492 true_mod_LDFLAGS = $(COMMON_LDFLAGS)
495 normal_mod_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c \
496 normal/autofs.c normal/handler.c \
497 normal/color.c normal/completion.c normal/datetime.c normal/menu.c \
498 normal/menu_entry.c normal/menu_text.c normal/menu_viewer.c \
500 normal_mod_CFLAGS = $(COMMON_CFLAGS)
501 normal_mod_LDFLAGS = $(COMMON_LDFLAGS)
504 sh_mod_SOURCES = script/sh/main.c script/sh/script.c script/sh/execute.c \
505 script/sh/function.c script/sh/lexer.c grub_script.tab.c
506 sh_mod_CFLAGS = $(COMMON_CFLAGS)
507 sh_mod_LDFLAGS = $(COMMON_LDFLAGS)
510 lua_mod_SOURCES = script/lua/lapi.c script/lua/lcode.c script/lua/ldebug.c \
511 script/lua/ldo.c script/lua/ldump.c script/lua/lfunc.c \
512 script/lua/lgc.c script/lua/llex.c script/lua/lmem.c \
513 script/lua/lobject.c script/lua/lopcodes.c script/lua/lparser.c \
514 script/lua/lstate.c script/lua/lstring.c script/lua/ltable.c \
515 script/lua/ltm.c script/lua/lundump.c script/lua/lvm.c \
516 script/lua/lzio.c script/lua/lauxlib.c script/lua/lbaselib.c \
517 script/lua/linit.c script/lua/ltablib.c \
518 script/lua/grub_main.c script/lua/grub_lib.c
519 lua_mod_CFLAGS = $(COMMON_CFLAGS)
520 lua_mod_LDFLAGS = $(COMMON_LDFLAGS)
522 # Extra libraries for lua
523 # script/lua/lmathlib.c script/lua/loslib.c script/lua/liolib.c
524 # script/lua/lstrlib.c script/lua/ldblib.c script/lua/ltablib.c
525 # script/lua/loadlib.c
527 # Common Video Subsystem specific modules.
528 pkglib_MODULES += video.mod videotest.mod bitmap.mod tga.mod jpeg.mod \
529 png.mod font.mod gfxterm.mod
532 video_mod_SOURCES = video/video.c
533 video_mod_CFLAGS = $(COMMON_CFLAGS)
534 video_mod_LDFLAGS = $(COMMON_LDFLAGS)
537 videotest_mod_SOURCES = commands/videotest.c
538 videotest_mod_CFLAGS = $(COMMON_CFLAGS)
539 videotest_mod_LDFLAGS = $(COMMON_LDFLAGS)
542 bitmap_mod_SOURCES = video/bitmap.c
543 bitmap_mod_CFLAGS = $(COMMON_CFLAGS)
544 bitmap_mod_LDFLAGS = $(COMMON_LDFLAGS)
547 tga_mod_SOURCES = video/readers/tga.c
548 tga_mod_CFLAGS = $(COMMON_CFLAGS)
549 tga_mod_LDFLAGS = $(COMMON_LDFLAGS)
552 jpeg_mod_SOURCES = video/readers/jpeg.c
553 jpeg_mod_CFLAGS = $(COMMON_CFLAGS)
554 jpeg_mod_LDFLAGS = $(COMMON_LDFLAGS)
557 png_mod_SOURCES = video/readers/png.c
558 png_mod_CFLAGS = $(COMMON_CFLAGS)
559 png_mod_LDFLAGS = $(COMMON_LDFLAGS)
562 font_mod_SOURCES = font/font_cmd.c font/font.c
563 font_mod_CFLAGS = $(COMMON_CFLAGS)
564 font_mod_LDFLAGS = $(COMMON_LDFLAGS)
567 gfxterm_mod_SOURCES = term/gfxterm.c
568 gfxterm_mod_CFLAGS = $(COMMON_CFLAGS)
569 gfxterm_mod_LDFLAGS = $(COMMON_LDFLAGS)
572 pkglib_MODULES += gzio.mod bufio.mod elf.mod
575 elf_mod_SOURCES = kern/elf.c
576 elf_mod_CFLAGS = $(COMMON_CFLAGS)
577 elf_mod_LDFLAGS = $(COMMON_LDFLAGS)
580 gzio_mod_SOURCES = io/gzio.c
581 gzio_mod_CFLAGS = $(COMMON_CFLAGS)
582 gzio_mod_LDFLAGS = $(COMMON_LDFLAGS)
585 bufio_mod_SOURCES = io/bufio.c
586 bufio_mod_CFLAGS = $(COMMON_CFLAGS)
587 bufio_mod_LDFLAGS = $(COMMON_LDFLAGS)