-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.util.am
1586 lines (1338 loc) · 71.5 KB
/
Makefile.util.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
libgrubkern_a_SOURCES =
nodist_libgrubkern_a_SOURCES =
libgrubkern_a_CFLAGS =
libgrubkern_a_CPPFLAGS =
libgrubkern_a_CCASFLAGS =
libgrubmods_a_SOURCES =
nodist_libgrubmods_a_SOURCES =
libgrubmods_a_CFLAGS =
libgrubmods_a_CPPFLAGS =
libgrubmods_a_CCASFLAGS =
libgrubgcry_a_SOURCES =
nodist_libgrubgcry_a_SOURCES =
libgrubgcry_a_CFLAGS =
libgrubgcry_a_CPPFLAGS =
libgrubgcry_a_CCASFLAGS =
noinst_LIBRARIES += libgrubkern.a
libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/lib/disk.c util/getroot.c grub-core/osdep/unix/getroot.c grub-core/osdep/getroot.c grub-core/osdep/devmapper/getroot.c grub-core/osdep/relpath.c grub-core/kern/emu/hostdisk.c grub-core/osdep/devmapper/hostdisk.c grub-core/osdep/hostdisk.c grub-core/osdep/unix/hostdisk.c grub-core/osdep/exec.c grub-core/osdep/sleep.c grub-core/osdep/password.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c grub-core/lib/crypto.c grub-core/disk/luks.c grub-core/disk/geli.c grub-core/disk/cryptodisk.c grub-core/disk/AFSplitter.c grub-core/lib/pbkdf2.c grub-core/commands/extcmd.c grub-core/lib/arg.c grub-core/disk/ldm.c grub-core/disk/diskfilter.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/fs/proc.c grub-core/fs/archelp.c
nodist_libgrubkern_a_SOURCES +=
libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB)
libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB)
libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY)
dist_noinst_DATA += grub-core/kern/disk_common.c grub-core/osdep/unix/relpath.c grub-core/osdep/aros/relpath.c grub-core/osdep/windows/relpath.c
BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES)
CLEANFILES += $(nodist_libgrubkern_a_SOURCES)
noinst_LIBRARIES += libgrubmods.a
libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/macbless.c grub-core/commands/xnu_uuid.c grub-core/commands/testload.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid_linux_be.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/font/font.c grub-core/gfxmenu/font.c grub-core/normal/charset.c grub-core/video/fb/fbblit.c grub-core/video/fb/fbutil.c grub-core/video/fb/fbfill.c grub-core/video/fb/video_fb.c grub-core/video/video.c grub-core/video/capture.c grub-core/video/colors.c grub-core/unidata.c grub-core/io/bufio.c grub-core/fs/affs.c grub-core/fs/afs.c grub-core/fs/bfs.c grub-core/fs/btrfs.c grub-core/fs/cbfs.c grub-core/fs/cpio.c grub-core/fs/cpio_be.c grub-core/fs/odc.c grub-core/fs/newc.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/exfat.c grub-core/fs/f2fs.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/hfspluscomp.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/minix3.c grub-core/fs/minix_be.c grub-core/fs/minix2_be.c grub-core/fs/minix3_be.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/romfs.c grub-core/fs/sfs.c grub-core/fs/squash4.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/ufs_be.c grub-core/fs/xfs.c grub-core/fs/zfs/zfscrypt.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfsinfo.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_lz4.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/crc.c grub-core/lib/adler32.c grub-core/lib/crc64.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/sun.c grub-core/partmap/plan.c grub-core/partmap/dvh.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/partmap/dfly.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c grub-core/io/xzio.c grub-core/io/lzopio.c grub-core/kern/ia64/dl_helper.c grub-core/kern/arm/dl_helper.c grub-core/kern/arm64/dl_helper.c grub-core/lib/minilzo/minilzo.c grub-core/lib/xzembed/xz_dec_bcj.c grub-core/lib/xzembed/xz_dec_lzma2.c grub-core/lib/xzembed/xz_dec_stream.c grub-core/lib/zstd/debug.c grub-core/lib/zstd/entropy_common.c grub-core/lib/zstd/error_private.c grub-core/lib/zstd/fse_decompress.c grub-core/lib/zstd/huf_decompress.c grub-core/lib/zstd/module.c grub-core/lib/zstd/xxhash.c grub-core/lib/zstd/zstd_common.c grub-core/lib/zstd/zstd_decompress.c
nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h
libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) -fno-builtin -Wno-undef
libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) -I$(srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -I$(srcdir)/grub-core/lib/zstd -DMINILZO_HAVE_CONFIG_H
libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES)
CLEANFILES += $(nodist_libgrubmods_a_SOURCES)
noinst_LIBRARIES += libgrubgcry.a
libgrubgcry_a_SOURCES += grub-core/lib/libgcrypt-grub/cipher/arcfour.c grub-core/lib/libgcrypt-grub/cipher/blowfish.c grub-core/lib/libgcrypt-grub/cipher/camellia-glue.c grub-core/lib/libgcrypt-grub/cipher/camellia.c grub-core/lib/libgcrypt-grub/cipher/cast5.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/libgcrypt-grub/cipher/des.c grub-core/lib/libgcrypt-grub/cipher/idea.c grub-core/lib/libgcrypt-grub/cipher/md4.c grub-core/lib/libgcrypt-grub/cipher/md5.c grub-core/lib/libgcrypt-grub/cipher/rfc2268.c grub-core/lib/libgcrypt-grub/cipher/rijndael.c grub-core/lib/libgcrypt-grub/cipher/rmd160.c grub-core/lib/libgcrypt-grub/cipher/seed.c grub-core/lib/libgcrypt-grub/cipher/serpent.c grub-core/lib/libgcrypt-grub/cipher/sha1.c grub-core/lib/libgcrypt-grub/cipher/sha256.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/tiger.c grub-core/lib/libgcrypt-grub/cipher/twofish.c grub-core/lib/libgcrypt-grub/cipher/whirlpool.c grub-core/lib/libgcrypt-grub/cipher/init.c
nodist_libgrubgcry_a_SOURCES +=
libgrubgcry_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY)
libgrubgcry_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY)
libgrubgcry_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY)
dist_noinst_DATA += grub-core/lib/libgcrypt-grub/cipher/ChangeLog
BUILT_SOURCES += $(nodist_libgrubgcry_a_SOURCES)
CLEANFILES += $(nodist_libgrubgcry_a_SOURCES)
bin_PROGRAMS += grub-mkimage
if COND_MAN_PAGES
man_MANS += grub-mkimage.1
grub-mkimage.1: grub-mkimage
chmod a+x grub-mkimage
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage
CLEANFILES += grub-mkimage.1
endif
grub_mkimage_SOURCES = util/grub-mkimage.c util/mkimage.c util/grub-mkimage32.c util/grub-mkimage64.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c grub-core/osdep/config.c util/config.c
nodist_grub_mkimage_SOURCES =
grub_mkimage_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBDIR=\"$(pkglibdir)\"
grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA += grub-core/osdep/aros/config.c grub-core/osdep/windows/config.c grub-core/osdep/unix/config.c util/grub-mkimagexx.c
BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES)
CLEANFILES += $(nodist_grub_mkimage_SOURCES)
bin_PROGRAMS += grub-mkrelpath
if COND_MAN_PAGES
man_MANS += grub-mkrelpath.1
grub-mkrelpath.1: grub-mkrelpath
chmod a+x grub-mkrelpath
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath
CLEANFILES += grub-mkrelpath.1
endif
grub_mkrelpath_SOURCES = util/grub-mkrelpath.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
nodist_grub_mkrelpath_SOURCES =
grub_mkrelpath_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES)
CLEANFILES += $(nodist_grub_mkrelpath_SOURCES)
bin_PROGRAMS += grub-script-check
if COND_MAN_PAGES
man_MANS += grub-script-check.1
grub-script-check.1: grub-script-check
chmod a+x grub-script-check
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check
CLEANFILES += grub-script-check.1
endif
grub_script_check_SOURCES = util/grub-script-check.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
nodist_grub_script_check_SOURCES =
grub_script_check_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_script_check_SOURCES)
CLEANFILES += $(nodist_grub_script_check_SOURCES)
bin_PROGRAMS += grub-editenv
if COND_MAN_PAGES
man_MANS += grub-editenv.1
grub-editenv.1: grub-editenv
chmod a+x grub-editenv
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv
CLEANFILES += grub-editenv.1
endif
grub_editenv_SOURCES = util/grub-editenv.c util/editenv.c grub-core/osdep/init.c
nodist_grub_editenv_SOURCES =
grub_editenv_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_editenv_SOURCES)
CLEANFILES += $(nodist_grub_editenv_SOURCES)
bin_PROGRAMS += grub-mkpasswd-pbkdf2
if COND_MAN_PAGES
man_MANS += grub-mkpasswd-pbkdf2.1
grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2
chmod a+x grub-mkpasswd-pbkdf2
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2
CLEANFILES += grub-mkpasswd-pbkdf2.1
endif
grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c grub-core/kern/emu/argp_common.c grub-core/osdep/random.c grub-core/osdep/init.c
nodist_grub_mkpasswd_pbkdf2_SOURCES =
grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES)
CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES)
if COND_APPLE_LINKER
bin_PROGRAMS += grub-macho2img
if COND_MAN_PAGES
man_MANS += grub-macho2img.1
grub-macho2img.1: grub-macho2img
chmod a+x grub-macho2img
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img
CLEANFILES += grub-macho2img.1
endif
grub_macho2img_SOURCES = util/grub-macho2img.c
nodist_grub_macho2img_SOURCES =
grub_macho2img_LDADD =
grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES)
CLEANFILES += $(nodist_grub_macho2img_SOURCES)
endif COND_APPLE_LINKER
bin_PROGRAMS += grub-fstest
if COND_MAN_PAGES
man_MANS += grub-fstest.1
grub-fstest.1: grub-fstest
chmod a+x grub-fstest
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest
CLEANFILES += grub-fstest.1
endif
grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c grub-core/osdep/init.c
nodist_grub_fstest_SOURCES = grub_fstest_init.c
grub_fstest_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_fstest_SOURCES)
CLEANFILES += $(nodist_grub_fstest_SOURCES)
if COND_GRUB_MOUNT
bin_PROGRAMS += grub-mount
if COND_MAN_PAGES
man_MANS += grub-mount.1
grub-mount.1: grub-mount
chmod a+x grub-mount
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mount.h2m -o $@ grub-mount
CLEANFILES += grub-mount.1
endif
grub_mount_SOURCES = util/grub-mount.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c grub-core/osdep/init.c
nodist_grub_mount_SOURCES = grub_fstest_init.c
grub_mount_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse
grub_mount_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_mount_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_mount_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_mount_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_mount_SOURCES)
CLEANFILES += $(nodist_grub_mount_SOURCES)
endif COND_GRUB_MOUNT
if COND_GRUB_MKFONT
bin_PROGRAMS += grub-mkfont
if COND_MAN_PAGES
man_MANS += grub-mkfont.1
grub-mkfont.1: grub-mkfont
chmod a+x grub-mkfont
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont
CLEANFILES += grub-mkfont.1
endif
grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
nodist_grub_mkfont_SOURCES =
grub_mkfont_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(FREETYPE_LIBS) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(FREETYPE_CFLAGS)
grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_MKFONT=1
grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES)
CLEANFILES += $(nodist_grub_mkfont_SOURCES)
endif COND_GRUB_MKFONT
sbin_PROGRAMS += grub-probe
if COND_MAN_PAGES
man_MANS += grub-probe.8
grub-probe.8: grub-probe
chmod a+x grub-probe
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe
CLEANFILES += grub-probe.8
endif
grub_probe_SOURCES = util/grub-probe.c util/probe.c grub-core/osdep/ofpath.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
nodist_grub_probe_SOURCES =
grub_probe_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_probe_SOURCES)
CLEANFILES += $(nodist_grub_probe_SOURCES)
sbin_PROGRAMS += grub-bios-setup
if COND_MAN_PAGES
man_MANS += grub-bios-setup.8
grub-bios-setup.8: grub-bios-setup
chmod a+x grub-bios-setup
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-bios-setup.h2m -o $@ grub-bios-setup
CLEANFILES += grub-bios-setup.8
endif
grub_bios_setup_SOURCES = util/grub-setup.c util/setup_bios.c grub-core/kern/emu/argp_common.c grub-core/lib/reed_solomon.c grub-core/osdep/blocklist.c grub-core/osdep/init.c
nodist_grub_bios_setup_SOURCES =
grub_bios_setup_LDADD = libgrubmods.a libgrubkern.a libgrubgcry.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_bios_setup_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_bios_setup_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_bios_setup_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_SETUP_FUNC=grub_util_bios_setup
grub_bios_setup_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA += util/setup.c grub-core/osdep/generic/blocklist.c grub-core/osdep/linux/blocklist.c grub-core/osdep/windows/blocklist.c
BUILT_SOURCES += $(nodist_grub_bios_setup_SOURCES)
CLEANFILES += $(nodist_grub_bios_setup_SOURCES)
sbin_PROGRAMS += grub-sparc64-setup
if COND_MAN_PAGES
man_MANS += grub-sparc64-setup.8
grub-sparc64-setup.8: grub-sparc64-setup
chmod a+x grub-sparc64-setup
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-sparc64-setup.h2m -o $@ grub-sparc64-setup
CLEANFILES += grub-sparc64-setup.8
endif
grub_sparc64_setup_SOURCES = util/grub-setup.c util/setup_sparc.c grub-core/kern/emu/argp_common.c grub-core/lib/reed_solomon.c grub-core/osdep/ofpath.c grub-core/osdep/blocklist.c grub-core/osdep/init.c
nodist_grub_sparc64_setup_SOURCES =
grub_sparc64_setup_LDADD = libgrubmods.a libgrubkern.a libgrubgcry.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_sparc64_setup_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_sparc64_setup_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_sparc64_setup_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_SETUP_FUNC=grub_util_sparc_setup
grub_sparc64_setup_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_sparc64_setup_SOURCES)
CLEANFILES += $(nodist_grub_sparc64_setup_SOURCES)
sbin_PROGRAMS += grub-ofpathname
if COND_MAN_PAGES
man_MANS += grub-ofpathname.8
grub-ofpathname.8: grub-ofpathname
chmod a+x grub-ofpathname
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-ofpathname.h2m -o $@ grub-ofpathname
CLEANFILES += grub-ofpathname.8
endif
grub_ofpathname_SOURCES = util/ieee1275/grub-ofpathname.c grub-core/osdep/ofpath.c grub-core/osdep/init.c
nodist_grub_ofpathname_SOURCES =
grub_ofpathname_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_ofpathname_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_ofpathname_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_ofpathname_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_ofpathname_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_ofpathname_SOURCES)
CLEANFILES += $(nodist_grub_ofpathname_SOURCES)
bin_PROGRAMS += grub-mklayout
if COND_MAN_PAGES
man_MANS += grub-mklayout.1
grub-mklayout.1: grub-mklayout
chmod a+x grub-mklayout
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout
CLEANFILES += grub-mklayout.1
endif
grub_mklayout_SOURCES = util/grub-mklayout.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
nodist_grub_mklayout_SOURCES =
grub_mklayout_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES)
CLEANFILES += $(nodist_grub_mklayout_SOURCES)
sbin_PROGRAMS += grub-macbless
if COND_MAN_PAGES
man_MANS += grub-macbless.8
grub-macbless.8: grub-macbless
chmod a+x grub-macbless
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-macbless.h2m -o $@ grub-macbless
CLEANFILES += grub-macbless.8
endif
grub_macbless_SOURCES = util/grub-macbless.c grub-core/osdep/init.c grub-core/kern/emu/argp_common.c
nodist_grub_macbless_SOURCES =
grub_macbless_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_macbless_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_macbless_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_macbless_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_macbless_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_macbless_SOURCES)
CLEANFILES += $(nodist_grub_macbless_SOURCES)
if COND_HAVE_EXEC
bin_PROGRAMS += grub-mkrescue
if COND_MAN_PAGES
man_MANS += grub-mkrescue.1
grub-mkrescue.1: grub-mkrescue
chmod a+x grub-mkrescue
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue
CLEANFILES += grub-mkrescue.1
endif
grub_mkrescue_SOURCES = util/grub-mkrescue.c util/render-label.c util/glue-efi.c util/mkimage.c util/grub-mkimage32.c util/grub-mkimage64.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
nodist_grub_mkrescue_SOURCES =
grub_mkrescue_LDADD = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_mkrescue_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_mkrescue_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_mkrescue_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_mkrescue_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA += grub-core/osdep/unix/compress.c grub-core/osdep/basic/compress.c
BUILT_SOURCES += $(nodist_grub_mkrescue_SOURCES)
CLEANFILES += $(nodist_grub_mkrescue_SOURCES)
endif COND_HAVE_EXEC
bin_PROGRAMS += grub-mkstandalone
if COND_MAN_PAGES
man_MANS += grub-mkstandalone.1
grub-mkstandalone.1: grub-mkstandalone
chmod a+x grub-mkstandalone
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkstandalone.h2m -o $@ grub-mkstandalone
CLEANFILES += grub-mkstandalone.1
endif
grub_mkstandalone_SOURCES = util/grub-mkstandalone.c util/render-label.c util/glue-efi.c util/mkimage.c util/grub-mkimage32.c util/grub-mkimage64.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
nodist_grub_mkstandalone_SOURCES =
grub_mkstandalone_LDADD = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_mkstandalone_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_mkstandalone_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_mkstandalone_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_mkstandalone_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA += grub-core/osdep/linux/platform.c grub-core/osdep/windows/platform.c grub-core/osdep/basic/platform.c grub-core/osdep/basic/no_platform.c grub-core/osdep/unix/platform.c
BUILT_SOURCES += $(nodist_grub_mkstandalone_SOURCES)
CLEANFILES += $(nodist_grub_mkstandalone_SOURCES)
sbin_PROGRAMS += grub-install
if COND_MAN_PAGES
man_MANS += grub-install.8
grub-install.8: grub-install
chmod a+x grub-install
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
CLEANFILES += grub-install.8
endif
grub_install_SOURCES = util/grub-install.c util/probe.c util/mkimage.c util/grub-mkimage32.c util/grub-mkimage64.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
nodist_grub_install_SOURCES =
grub_install_LDADD = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_install_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_install_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_install_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_install_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_install_SOURCES)
CLEANFILES += $(nodist_grub_install_SOURCES)
bin_PROGRAMS += grub-mknetdir
if COND_MAN_PAGES
man_MANS += grub-mknetdir.1
grub-mknetdir.1: grub-mknetdir
chmod a+x grub-mknetdir
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir
CLEANFILES += grub-mknetdir.1
endif
grub_mknetdir_SOURCES = util/grub-mknetdir.c util/mkimage.c util/grub-mkimage32.c util/grub-mkimage64.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
nodist_grub_mknetdir_SOURCES =
grub_mknetdir_LDADD = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_mknetdir_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_mknetdir_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_mknetdir_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_mknetdir_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_mknetdir_SOURCES)
CLEANFILES += $(nodist_grub_mknetdir_SOURCES)
check_PROGRAMS += example_unit_test
TESTS += example_unit_test
example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c
nodist_example_unit_test_SOURCES =
example_unit_test_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_example_unit_test_SOURCES)
CLEANFILES += $(nodist_example_unit_test_SOURCES)
check_PROGRAMS += printf_test
TESTS += printf_test
printf_test_SOURCES = tests/printf_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c
nodist_printf_test_SOURCES =
printf_test_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
printf_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
printf_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
printf_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
printf_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_printf_test_SOURCES)
CLEANFILES += $(nodist_printf_test_SOURCES)
check_PROGRAMS += date_test
TESTS += date_test
date_test_SOURCES = tests/date_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c
nodist_date_test_SOURCES =
date_test_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
date_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
date_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
date_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
date_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_date_test_SOURCES)
CLEANFILES += $(nodist_date_test_SOURCES)
if COND_HAVE_CXX
check_PROGRAMS += priority_queue_unit_test
TESTS += priority_queue_unit_test
priority_queue_unit_test_SOURCES = tests/priority_queue_unit_test.cc tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c grub-core/lib/priority_queue.c
nodist_priority_queue_unit_test_SOURCES =
priority_queue_unit_test_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
priority_queue_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
priority_queue_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
priority_queue_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
priority_queue_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_priority_queue_unit_test_SOURCES)
CLEANFILES += $(nodist_priority_queue_unit_test_SOURCES)
endif COND_HAVE_CXX
check_PROGRAMS += cmp_test
TESTS += cmp_test
cmp_test_SOURCES = tests/cmp_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c
nodist_cmp_test_SOURCES =
cmp_test_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
cmp_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
cmp_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
cmp_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
cmp_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_cmp_test_SOURCES)
CLEANFILES += $(nodist_cmp_test_SOURCES)
bin_PROGRAMS += grub-menulst2cfg
if COND_MAN_PAGES
man_MANS += grub-menulst2cfg.1
grub-menulst2cfg.1: grub-menulst2cfg
chmod a+x grub-menulst2cfg
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg
CLEANFILES += grub-menulst2cfg.1
endif
grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c grub-core/osdep/init.c
nodist_grub_menulst2cfg_SOURCES =
grub_menulst2cfg_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES)
CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES)
bin_PROGRAMS += grub-syslinux2cfg
if COND_MAN_PAGES
man_MANS += grub-syslinux2cfg.1
grub-syslinux2cfg.1: grub-syslinux2cfg
chmod a+x grub-syslinux2cfg
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-syslinux2cfg.h2m -o $@ grub-syslinux2cfg
CLEANFILES += grub-syslinux2cfg.1
endif
grub_syslinux2cfg_SOURCES = util/grub-syslinux2cfg.c grub-core/lib/syslinux_parse.c grub-core/lib/getline.c grub-core/osdep/init.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c grub-core/kern/emu/argp_common.c
nodist_grub_syslinux2cfg_SOURCES =
grub_syslinux2cfg_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_syslinux2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_syslinux2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_syslinux2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_syslinux2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_syslinux2cfg_SOURCES)
CLEANFILES += $(nodist_grub_syslinux2cfg_SOURCES)
bin_PROGRAMS += grub-glue-efi
if COND_MAN_PAGES
man_MANS += grub-glue-efi.1
grub-glue-efi.1: grub-glue-efi
chmod a+x grub-glue-efi
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-glue-efi.h2m -o $@ grub-glue-efi
CLEANFILES += grub-glue-efi.1
endif
grub_glue_efi_SOURCES = util/grub-glue-efi.c util/glue-efi.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
nodist_grub_glue_efi_SOURCES =
grub_glue_efi_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_glue_efi_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_glue_efi_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_glue_efi_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_glue_efi_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_glue_efi_SOURCES)
CLEANFILES += $(nodist_grub_glue_efi_SOURCES)
bin_PROGRAMS += grub-render-label
if COND_MAN_PAGES
man_MANS += grub-render-label.1
grub-render-label.1: grub-render-label
chmod a+x grub-render-label
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-render-label.h2m -o $@ grub-render-label
CLEANFILES += grub-render-label.1
endif
grub_render_label_SOURCES = util/grub-render-label.c util/render-label.c grub-core/kern/emu/argp_common.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c grub-core/osdep/init.c
nodist_grub_render_label_SOURCES =
grub_render_label_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_render_label_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_render_label_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_render_label_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_render_label_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_render_label_SOURCES)
CLEANFILES += $(nodist_grub_render_label_SOURCES)
bin_PROGRAMS += grub-file
if COND_MAN_PAGES
man_MANS += grub-file.1
grub-file.1: grub-file
chmod a+x grub-file
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-file.h2m -o $@ grub-file
CLEANFILES += grub-file.1
endif
grub_file_SOURCES = util/grub-file.c util/render-label.c grub-core/commands/file.c grub-core/commands/file32.c grub-core/commands/file64.c grub-core/loader/i386/xen_file.c grub-core/loader/i386/xen_file32.c grub-core/loader/i386/xen_file64.c grub-core/io/offset.c grub-core/kern/elf.c grub-core/loader/lzss.c grub-core/loader/macho.c grub-core/loader/macho32.c grub-core/loader/macho64.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c grub-core/osdep/init.c
nodist_grub_file_SOURCES =
grub_file_LDADD = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/lib/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
grub_file_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
grub_file_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
grub_file_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
grub_file_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
dist_noinst_DATA +=
BUILT_SOURCES += $(nodist_grub_file_SOURCES)
CLEANFILES += $(nodist_grub_file_SOURCES)
grubconf_SCRIPTS += 00_header
00_header: $(top_builddir)/config.status util/grub.d/00_header.in
(for x in util/grub.d/00_header.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x 00_header
CLEANFILES += 00_header
EXTRA_DIST +=
dist_noinst_DATA += util/grub.d/00_header.in
if COND_HOST_WINDOWS
grubconf_SCRIPTS += 10_windows
10_windows: $(top_builddir)/config.status util/grub.d/10_windows.in
(for x in util/grub.d/10_windows.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x 10_windows
CLEANFILES += 10_windows
EXTRA_DIST +=
dist_noinst_DATA += util/grub.d/10_windows.in
endif COND_HOST_WINDOWS
if COND_HOST_HURD
grubconf_SCRIPTS += 10_hurd
10_hurd: $(top_builddir)/config.status util/grub.d/10_hurd.in
(for x in util/grub.d/10_hurd.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x 10_hurd
CLEANFILES += 10_hurd
EXTRA_DIST +=
dist_noinst_DATA += util/grub.d/10_hurd.in
endif COND_HOST_HURD
if COND_HOST_KFREEBSD
grubconf_SCRIPTS += 10_kfreebsd
10_kfreebsd: $(top_builddir)/config.status util/grub.d/10_kfreebsd.in
(for x in util/grub.d/10_kfreebsd.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x 10_kfreebsd
CLEANFILES += 10_kfreebsd
EXTRA_DIST +=
dist_noinst_DATA += util/grub.d/10_kfreebsd.in
endif COND_HOST_KFREEBSD
if COND_HOST_ILLUMOS
grubconf_SCRIPTS += 10_illumos
10_illumos: $(top_builddir)/config.status util/grub.d/10_illumos.in
(for x in util/grub.d/10_illumos.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x 10_illumos
CLEANFILES += 10_illumos
EXTRA_DIST +=
dist_noinst_DATA += util/grub.d/10_illumos.in
endif COND_HOST_ILLUMOS
if COND_HOST_NETBSD
grubconf_SCRIPTS += 10_netbsd
10_netbsd: $(top_builddir)/config.status util/grub.d/10_netbsd.in
(for x in util/grub.d/10_netbsd.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x 10_netbsd
CLEANFILES += 10_netbsd
EXTRA_DIST +=
dist_noinst_DATA += util/grub.d/10_netbsd.in
endif COND_HOST_NETBSD
if COND_HOST_LINUX
grubconf_SCRIPTS += 10_linux
10_linux: $(top_builddir)/config.status util/grub.d/10_linux.in
(for x in util/grub.d/10_linux.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x 10_linux
CLEANFILES += 10_linux
EXTRA_DIST +=
dist_noinst_DATA += util/grub.d/10_linux.in
endif COND_HOST_LINUX
if COND_HOST_XNU
grubconf_SCRIPTS += 10_xnu
10_xnu: $(top_builddir)/config.status util/grub.d/10_xnu.in
(for x in util/grub.d/10_xnu.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x 10_xnu
CLEANFILES += 10_xnu
EXTRA_DIST +=
dist_noinst_DATA += util/grub.d/10_xnu.in
endif COND_HOST_XNU
if COND_HOST_LINUX
grubconf_SCRIPTS += 20_linux_xen
20_linux_xen: $(top_builddir)/config.status util/grub.d/20_linux_xen.in
(for x in util/grub.d/20_linux_xen.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x 20_linux_xen
CLEANFILES += 20_linux_xen
EXTRA_DIST +=
dist_noinst_DATA += util/grub.d/20_linux_xen.in
endif COND_HOST_LINUX
grubconf_SCRIPTS += 30_os-prober
30_os-prober: $(top_builddir)/config.status util/grub.d/30_os-prober.in
(for x in util/grub.d/30_os-prober.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x 30_os-prober
CLEANFILES += 30_os-prober
EXTRA_DIST +=
dist_noinst_DATA += util/grub.d/30_os-prober.in
grubconf_SCRIPTS += 40_custom
40_custom: $(top_builddir)/config.status util/grub.d/40_custom.in
(for x in util/grub.d/40_custom.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x 40_custom
CLEANFILES += 40_custom
EXTRA_DIST +=
dist_noinst_DATA += util/grub.d/40_custom.in
grubconf_SCRIPTS += 41_custom
41_custom: $(top_builddir)/config.status util/grub.d/41_custom.in
(for x in util/grub.d/41_custom.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x 41_custom
CLEANFILES += 41_custom
EXTRA_DIST +=
dist_noinst_DATA += util/grub.d/41_custom.in
sbin_SCRIPTS += grub-mkconfig
if COND_MAN_PAGES
man_MANS += grub-mkconfig.8
grub-mkconfig.8: grub-mkconfig grub-mkconfig_lib
chmod a+x grub-mkconfig
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig
CLEANFILES += grub-mkconfig.8
endif
grub-mkconfig: $(top_builddir)/config.status util/grub-mkconfig.in
(for x in util/grub-mkconfig.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x grub-mkconfig
CLEANFILES += grub-mkconfig
EXTRA_DIST +=
dist_noinst_DATA += util/grub-mkconfig.in
sbin_SCRIPTS += grub-set-default
if COND_MAN_PAGES
man_MANS += grub-set-default.8
grub-set-default.8: grub-set-default grub-mkconfig_lib
chmod a+x grub-set-default
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default
CLEANFILES += grub-set-default.8
endif
grub-set-default: $(top_builddir)/config.status util/grub-set-default.in
(for x in util/grub-set-default.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x grub-set-default
CLEANFILES += grub-set-default
EXTRA_DIST +=
dist_noinst_DATA += util/grub-set-default.in
sbin_SCRIPTS += grub-reboot
if COND_MAN_PAGES
man_MANS += grub-reboot.8
grub-reboot.8: grub-reboot grub-mkconfig_lib
chmod a+x grub-reboot
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot
CLEANFILES += grub-reboot.8
endif
grub-reboot: $(top_builddir)/config.status util/grub-reboot.in
(for x in util/grub-reboot.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x grub-reboot
CLEANFILES += grub-reboot
EXTRA_DIST +=
dist_noinst_DATA += util/grub-reboot.in
noinst_SCRIPTS += grub-mkconfig_lib
grub-mkconfig_lib: $(top_builddir)/config.status util/grub-mkconfig_lib.in
(for x in util/grub-mkconfig_lib.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x grub-mkconfig_lib
CLEANFILES += grub-mkconfig_lib
EXTRA_DIST +=
dist_noinst_DATA += util/grub-mkconfig_lib.in
bin_SCRIPTS += grub-kbdcomp
if COND_MAN_PAGES
man_MANS += grub-kbdcomp.1
grub-kbdcomp.1: grub-kbdcomp grub-mkconfig_lib
chmod a+x grub-kbdcomp
PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-kbdcomp.h2m -o $@ grub-kbdcomp
CLEANFILES += grub-kbdcomp.1
endif
grub-kbdcomp: $(top_builddir)/config.status util/grub-kbdcomp.in
(for x in util/grub-kbdcomp.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x grub-kbdcomp
CLEANFILES += grub-kbdcomp
EXTRA_DIST +=
dist_noinst_DATA += util/grub-kbdcomp.in
noinst_SCRIPTS += grub-shell
grub-shell: $(top_builddir)/config.status tests/util/grub-shell.in
(for x in tests/util/grub-shell.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x grub-shell
CLEANFILES += grub-shell
EXTRA_DIST +=
dist_noinst_DATA += tests/util/grub-shell.in
noinst_SCRIPTS += grub-shell-tester
grub-shell-tester: $(top_builddir)/config.status tests/util/grub-shell-tester.in
(for x in tests/util/grub-shell-tester.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x grub-shell-tester
CLEANFILES += grub-shell-tester
EXTRA_DIST +=
dist_noinst_DATA += tests/util/grub-shell-tester.in
noinst_SCRIPTS += grub-fs-tester
grub-fs-tester: $(top_builddir)/config.status tests/util/grub-fs-tester.in garbage-gen$(BUILD_EXEEXT)
(for x in tests/util/grub-fs-tester.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x grub-fs-tester
CLEANFILES += grub-fs-tester
EXTRA_DIST +=
dist_noinst_DATA += tests/util/grub-fs-tester.in
check_SCRIPTS += ext234_test
TESTS += ext234_test
ext234_test: $(top_builddir)/config.status tests/ext234_test.in
(for x in tests/ext234_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x ext234_test
CLEANFILES += ext234_test
EXTRA_DIST +=
dist_noinst_DATA += tests/ext234_test.in
check_SCRIPTS += iso9660_test
TESTS += iso9660_test
iso9660_test: $(top_builddir)/config.status tests/iso9660_test.in
(for x in tests/iso9660_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x iso9660_test
CLEANFILES += iso9660_test
EXTRA_DIST +=
dist_noinst_DATA += tests/iso9660_test.in
check_SCRIPTS += hfsplus_test
TESTS += hfsplus_test
hfsplus_test: $(top_builddir)/config.status tests/hfsplus_test.in
(for x in tests/hfsplus_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x hfsplus_test
CLEANFILES += hfsplus_test
EXTRA_DIST +=
dist_noinst_DATA += tests/hfsplus_test.in
check_SCRIPTS += ntfs_test
TESTS += ntfs_test
ntfs_test: $(top_builddir)/config.status tests/ntfs_test.in
(for x in tests/ntfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x ntfs_test
CLEANFILES += ntfs_test
EXTRA_DIST +=
dist_noinst_DATA += tests/ntfs_test.in
check_SCRIPTS += reiserfs_test
TESTS += reiserfs_test
reiserfs_test: $(top_builddir)/config.status tests/reiserfs_test.in
(for x in tests/reiserfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x reiserfs_test
CLEANFILES += reiserfs_test
EXTRA_DIST +=
dist_noinst_DATA += tests/reiserfs_test.in
check_SCRIPTS += fat_test
TESTS += fat_test
fat_test: $(top_builddir)/config.status tests/fat_test.in
(for x in tests/fat_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x fat_test
CLEANFILES += fat_test
EXTRA_DIST +=
dist_noinst_DATA += tests/fat_test.in
check_SCRIPTS += minixfs_test
TESTS += minixfs_test
minixfs_test: $(top_builddir)/config.status tests/minixfs_test.in
(for x in tests/minixfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x minixfs_test
CLEANFILES += minixfs_test
EXTRA_DIST +=
dist_noinst_DATA += tests/minixfs_test.in
check_SCRIPTS += xfs_test
TESTS += xfs_test
xfs_test: $(top_builddir)/config.status tests/xfs_test.in
(for x in tests/xfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x xfs_test
CLEANFILES += xfs_test
EXTRA_DIST +=
dist_noinst_DATA += tests/xfs_test.in
check_SCRIPTS += f2fs_test
TESTS += f2fs_test
f2fs_test: $(top_builddir)/config.status tests/f2fs_test.in
(for x in tests/f2fs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x f2fs_test
CLEANFILES += f2fs_test
EXTRA_DIST +=
dist_noinst_DATA += tests/f2fs_test.in
check_SCRIPTS += nilfs2_test
TESTS += nilfs2_test
nilfs2_test: $(top_builddir)/config.status tests/nilfs2_test.in
(for x in tests/nilfs2_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x nilfs2_test
CLEANFILES += nilfs2_test
EXTRA_DIST +=
dist_noinst_DATA += tests/nilfs2_test.in
check_SCRIPTS += romfs_test
TESTS += romfs_test
romfs_test: $(top_builddir)/config.status tests/romfs_test.in
(for x in tests/romfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x romfs_test
CLEANFILES += romfs_test
EXTRA_DIST +=
dist_noinst_DATA += tests/romfs_test.in
check_SCRIPTS += exfat_test
TESTS += exfat_test
exfat_test: $(top_builddir)/config.status tests/exfat_test.in
(for x in tests/exfat_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x exfat_test
CLEANFILES += exfat_test
EXTRA_DIST +=
dist_noinst_DATA += tests/exfat_test.in
check_SCRIPTS += tar_test
TESTS += tar_test
tar_test: $(top_builddir)/config.status tests/tar_test.in
(for x in tests/tar_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x tar_test
CLEANFILES += tar_test
EXTRA_DIST +=
dist_noinst_DATA += tests/tar_test.in
check_SCRIPTS += udf_test
TESTS += udf_test
udf_test: $(top_builddir)/config.status tests/udf_test.in
(for x in tests/udf_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x udf_test
CLEANFILES += udf_test
EXTRA_DIST +=
dist_noinst_DATA += tests/udf_test.in
check_SCRIPTS += hfs_test
TESTS += hfs_test
hfs_test: $(top_builddir)/config.status tests/hfs_test.in
(for x in tests/hfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x hfs_test
CLEANFILES += hfs_test
EXTRA_DIST +=
dist_noinst_DATA += tests/hfs_test.in
check_SCRIPTS += jfs_test
TESTS += jfs_test
jfs_test: $(top_builddir)/config.status tests/jfs_test.in
(for x in tests/jfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x jfs_test
CLEANFILES += jfs_test
EXTRA_DIST +=
dist_noinst_DATA += tests/jfs_test.in
check_SCRIPTS += btrfs_test
TESTS += btrfs_test
btrfs_test: $(top_builddir)/config.status tests/btrfs_test.in
(for x in tests/btrfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x btrfs_test
CLEANFILES += btrfs_test
EXTRA_DIST +=
dist_noinst_DATA += tests/btrfs_test.in
check_SCRIPTS += zfs_test
TESTS += zfs_test
zfs_test: $(top_builddir)/config.status tests/zfs_test.in
(for x in tests/zfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x zfs_test