xref: /aosp_15_r20/external/sg3_utils/Makefile.am (revision 44704f698541f6367e81f991ef8bb54ccbf3fc18)
1
2SUBDIRS = \
3	include \
4	lib \
5	src \
6	doc \
7	scripts
8
9EXTRA_DIST = \
10	autogen.sh \
11	COVERAGE \
12	CREDITS \
13	BSD_LICENSE \
14	build_debian.sh \
15	README.details \
16	README.freebsd \
17	README.iscsi \
18	README.sg_start \
19	README.solaris \
20	README.tru64 \
21	README.win32 \
22	sg3_utils.man8.html \
23	sg3_utils.spec
24
25EXTRA_DIST += \
26	archive/align_b4_memalign.c \
27	archive/llseek.c \
28	archive/llseek.h \
29	archive/o_scsi_logging_level \
30	archive/README \
31	archive/sg_json_writer.c \
32	archive/sg_json_writer.h
33
34EXTRA_DIST += \
35	debian/changelog \
36	debian/compat \
37	debian/control \
38	debian/copyright \
39	debian/docs \
40	debian/libsgutils2-2.install \
41	debian/libsgutils2-dev.install \
42	debian/README.debian4 \
43	debian/rules \
44	debian/sg3-utils.examples \
45	debian/sg3-utils.install
46
47EXTRA_DIST += \
48	examples/Makefile.freebsd \
49	examples/README \
50	examples/reassign_addr.txt \
51	examples/scsi_inquiry.c \
52	examples/sdiag_sas_p0_cjtpat.txt \
53	examples/sdiag_sas_p0_prbs9.txt \
54	examples/sdiag_sas_p1_cjtpat.txt \
55	examples/sdiag_sas_p1_idle.txt \
56	examples/sdiag_sas_p1_prbs15.txt \
57	examples/sdiag_sas_p1_stop.txt \
58	examples/sg_compare_and_write.txt \
59	examples/sg_excl.c \
60	examples/sg_persist_tst.sh \
61	examples/sgq_dd.c \
62	examples/sg_sat_chk_power.c \
63	examples/sg__sat_identify.c \
64	examples/sg__sat_phy_event.c \
65	examples/sg__sat_set_features.c \
66	examples/sg_sat_smart_rd_data.c \
67	examples/sg_simple16.c \
68	examples/sg_simple1.c \
69	examples/sg_simple2.c \
70	examples/sg_simple3.c \
71	examples/sg_simple4.c \
72	examples/sg_simple5.c \
73	examples/sg_unmap_example.txt \
74	examples/transport_ids.txt \
75	examples/Makefile
76
77EXTRA_DIST += \
78	getopt_long/getopt.h \
79	getopt_long/getopt_long.c
80
81EXTRA_DIST += \
82	include/freebsd_nvme_ioctl.h
83
84EXTRA_DIST += \
85	inhex/descriptor_sense.hex \
86	inhex/fixed_sense.hex \
87	inhex/forwarded_sense.hex \
88	inhex/get_elem_status.hex \
89	inhex/get_lba_status.hex \
90	inhex/inq_standard.hex \
91	inhex/logs_last_n.hex \
92	inhex/nvme_dev_self_test.hex \
93	inhex/nvme_identify_ctl.hex \
94	inhex/nvme_read_ctl.hex \
95	inhex/nvme_read_oob_ctl.hex \
96	inhex/nvme_write_ctl.hex \
97	inhex/opcodes.hex \
98	inhex/README \
99	inhex/ref_sense.hex \
100	inhex/rep_density.hex \
101	inhex/rep_density_media.hex \
102	inhex/rep_density_media_typem.hex \
103	inhex/rep_density_typem.hex \
104	inhex/rep_realms.hex \
105	inhex/rep_zdomains.hex \
106	inhex/rep_zones.hex \
107	inhex/ses_areca_all.hex \
108	inhex/vpd_bdce.hex \
109	inhex/vpd_consistuents.hex \
110	inhex/vpd_cpr.hex \
111	inhex/vpd_dev_id.hex \
112	inhex/vpd_di_all.hex \
113	inhex/vpd_fp.hex \
114	inhex/vpd_lbpro.hex \
115	inhex/vpd_lbpv.hex \
116	inhex/vpd_ref.hex \
117	inhex/vpd_sbl.hex \
118	inhex/vpd_sdeb.hex \
119	inhex/vpd_sfs.hex \
120	inhex/vpd_tpc.hex \
121	inhex/vpd_zbdc.hex \
122	inhex/vpd_zbdc.raw \
123	inhex/z_act_query.hex
124
125EXTRA_DIST += \
126	scripts/40-usb-blacklist.rules \
127	scripts/54-before-scsi-sg3_id.rules \
128	scripts/55-scsi-sg3_id.rules \
129	scripts/58-scsi-sg3_symlink.rules \
130	scripts/59-fc-wwpn-id.rules \
131	scripts/59-scsi-cciss_id.rules \
132	scripts/cciss_id \
133	scripts/fc_wwpn_id \
134	scripts/lunmask.service \
135	scripts/scsi-enable-target-scan.sh
136
137EXTRA_DIST += \
138	suse/sg3_utils.changes \
139	suse/sg3_utils.spec
140
141EXTRA_DIST += \
142	testing/bsg_queue_tst.c \
143	testing/Makefile \
144	testing/Makefile.cyg \
145	testing/Makefile.freebsd \
146	testing/README \
147	testing/sg_chk_asc.c \
148	testing/sgh_dd.cpp \
149	testing/sg_iovec_tst.cpp \
150	testing/sg_json_builder_test.c \
151	testing/sg_mrq_dd.cpp \
152	testing/sg_queue_tst.c \
153	testing/sg_scat_gath.cpp \
154	testing/sg_scat_gath.h \
155	testing/sgs_dd.c \
156	testing/sg_sense_test.c \
157	testing/sg_take_snap.c \
158	testing/sg_tst_async.cpp \
159	testing/sg_tst_bidi.c \
160	testing/sg_tst_context.cpp \
161	testing/sg_tst_excl2.cpp \
162	testing/sg_tst_excl3.cpp \
163	testing/sg_tst_excl.cpp \
164	testing/sg_tst_ioctl.c \
165	testing/sg_tst_json_builder.c \
166	testing/sg_tst_nvme.c \
167	testing/tst_sg_lib.c \
168	testing/uapi_sg.h
169
170EXTRA_DIST += \
171	utils/hxascdmp.1 \
172	utils/hxascdmp.c \
173	utils/Makefile \
174	utils/Makefile.cygwin \
175	utils/Makefile.freebsd \
176	utils/Makefile.mingw \
177	utils/Makefile.solaris \
178	utils/README
179
180distclean-local:
181	rm -rf autom4te.cache
182	rm -f build-stamp configure-stamp
183	rm -rf lib/.deps
184	rm -rf src/.deps
185