__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
SHELL = /bin/sh PREFIX=/usr/local INSTDIR=$(DESTDIR)/$(PREFIX)/bin MANDIR=$(DESTDIR)/$(PREFIX)/man # In Linux the default C compiler is GCC while in FreeBSD (since release 10 ?) # the default C compiler is clang. Swap the comment marks (lines starting # with '#') on the next 4 (non-blank) lines. CC = gcc # CC = clang LD = gcc # LD = clang EXECS = sg_simple1 sg_simple2 sg_simple3 sg_simple4 sg_simple16 \ scsi_inquiry sg_excl sg_simple5 sg__sat_identify \ sg__sat_phy_event sg__sat_set_features sg_sat_chk_power \ sg_sat_smart_rd_data EXTRAS = sgq_dd BSG_EXTRAS = MAN_PGS = MAN_PREF = man8 LARGE_FILE_FLAGS = -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 CPPFLAGS = -iquote ../include -D_REENTRANT $(LARGE_FILE_FLAGS) # CPPFLAGS = -iquote ../include -D_REENTRANT $(LARGE_FILE_FLAGS) -DDEBUG CFLAGS = -g -O2 -W -Wall # CFLAGS = -g -O2 -Wall -DSG_KERNEL_INCLUDES # CFLAGS = -g -O2 -Wall -pedantic LDFLAGS = LIBFILESOLD = ../lib/sg_lib.o ../lib/sg_lib_data.o ../lib/sg_io_linux.o LIBFILESNEW = ../lib/sg_lib.o ../lib/sg_lib_data.o ../lib/sg_pt_common.o ../lib/sg_pt_linux.o ../lib/sg_pt_linux_nvme.o all: $(EXECS) extras: $(EXTRAS) bsg: $(BSG_EXTRAS) depend dep: for i in *.c; do $(CC) $(INCLUDES) $(CFLAGS) -M $$i; \ done > .depend clean: /bin/rm -f *.o $(EXECS) $(EXTRAS) $(BSG_EXTRAS) core .depend sg_simple1: sg_simple1.o $(LIBFILESOLD) $(LD) -o $@ $(LDFLAGS) $^ sg_simple2: sg_simple2.o $(LD) -o $@ $(LDFLAGS) $^ sg_simple3: sg_simple3.o $(LIBFILESOLD) $(LD) -o $@ $(LDFLAGS) $^ sg_simple4: sg_simple4.o $(LIBFILESOLD) $(LD) -o $@ $(LDFLAGS) $^ sg_simple16: sg_simple16.o $(LIBFILESOLD) $(LD) -o $@ $(LDFLAGS) $^ scsi_inquiry: scsi_inquiry.o $(LD) -o $@ $(LDFLAGS) $^ sg_excl: sg_excl.o $(LIBFILESOLD) $(LD) -o $@ $(LDFLAGS) $^ sg_simple5: sg_simple5.o $(LIBFILESNEW) $(LD) -o $@ $(LDFLAGS) $^ sg__sat_identify: sg__sat_identify.o $(LIBFILESOLD) $(LD) -o $@ $(LDFLAGS) $^ sg__sat_phy_event: sg__sat_phy_event.o $(LIBFILESOLD) $(LD) -o $@ $(LDFLAGS) $^ sg__sat_set_features: sg__sat_set_features.o $(LIBFILESOLD) $(LD) -o $@ $(LDFLAGS) $^ sg_sat_chk_power: sg_sat_chk_power.o $(LIBFILESOLD) $(LD) -o $@ $(LDFLAGS) $^ sg_sat_smart_rd_data: sg_sat_smart_rd_data.o $(LIBFILESOLD) $(LD) -o $@ $(LDFLAGS) $^ sgq_dd: sgq_dd.o $(LIBFILESOLD) $(LD) -o $@ $(LDFLAGS) $^ install: $(EXECS) install -d $(INSTDIR) for name in $^; \ do install -s -o root -g root -m 755 $$name $(INSTDIR); \ done install -d $(MANDIR)/$(MAN_PREF) for mp in $(MAN_PGS); \ do install -o root -g root -m 644 $$mp $(MANDIR)/$(MAN_PREF); \ gzip -9f $(MANDIR)/$(MAN_PREF)/$$mp; \ done uninstall: dists="$(EXECS)"; \ for name in $$dists; do \ rm -f $(INSTDIR)/$$name; \ done for mp in $(MAN_PGS); do \ rm -f $(MANDIR)/$(MAN_PREF)/$$mp.gz; \ done # Linux uses GNU make and FreeBSD uses Berkely make. The following lines # only work in Linux. Possible solutions in FreeBSD: # a) use 'gmake'; b) comment out the next 3 lines, starting with 'ifeq' # c) build with 'make -f Makefile.freebsd' # In Linux one can install bmake (but that won't help here). ifeq (.depend,$(wildcard .depend)) include .depend endif
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| archive | Folder | 0755 |
|
|
| Makefile | File | 3.08 KB | 0644 |
|
| Makefile.freebsd | File | 1.98 KB | 0644 |
|
| README | File | 776 B | 0644 |
|
| forwarded_sense.txt | File | 296 B | 0644 |
|
| nvme_dev_self_test.hex | File | 806 B | 0644 |
|
| nvme_identify_ctl.hex | File | 1.17 KB | 0644 |
|
| nvme_read_ctl.hex | File | 1.79 KB | 0644 |
|
| nvme_write_ctl.hex | File | 1.8 KB | 0644 |
|
| reassign_addr.txt | File | 465 B | 0644 |
|
| ref_sense.txt | File | 305 B | 0644 |
|
| scsi_inquiry.c | File | 4.09 KB | 0644 |
|
| sdiag_sas_p0_cjtpat.txt | File | 405 B | 0644 |
|
| sdiag_sas_p0_prbs9.txt | File | 407 B | 0644 |
|
| sdiag_sas_p1_cjtpat.txt | File | 464 B | 0644 |
|
| sdiag_sas_p1_idle.txt | File | 560 B | 0644 |
|
| sdiag_sas_p1_prbs15.txt | File | 408 B | 0644 |
|
| sdiag_sas_p1_stop.txt | File | 359 B | 0644 |
|
| sg__sat_identify.c | File | 7.55 KB | 0644 |
|
| sg__sat_phy_event.c | File | 12.02 KB | 0644 |
|
| sg__sat_set_features.c | File | 9.7 KB | 0644 |
|
| sg_compare_and_write.txt | File | 2.42 KB | 0644 |
|
| sg_excl.c | File | 5.98 KB | 0644 |
|
| sg_persist_tst.sh | File | 3.54 KB | 0755 |
|
| sg_sat_chk_power.c | File | 8.95 KB | 0644 |
|
| sg_sat_smart_rd_data.c | File | 6.4 KB | 0644 |
|
| sg_simple1.c | File | 5.87 KB | 0644 |
|
| sg_simple16.c | File | 3.41 KB | 0644 |
|
| sg_simple2.c | File | 6.59 KB | 0644 |
|
| sg_simple3.c | File | 6.46 KB | 0644 |
|
| sg_simple4.c | File | 7.25 KB | 0644 |
|
| sg_simple5.c | File | 7.47 KB | 0644 |
|
| sg_unmap_example.txt | File | 1.53 KB | 0644 |
|
| sgq_dd.c | File | 37.77 KB | 0644 |
|
| transport_ids.txt | File | 1.1 KB | 0644 |
|