diff options
Diffstat (limited to 'no_lib/Makefile.osf1')
-rw-r--r-- | no_lib/Makefile.osf1 | 46 |
1 files changed, 30 insertions, 16 deletions
diff --git a/no_lib/Makefile.osf1 b/no_lib/Makefile.osf1 index 971bcbce..ab02bb7c 100644 --- a/no_lib/Makefile.osf1 +++ b/no_lib/Makefile.osf1 @@ -11,14 +11,16 @@ EXECS = sg_readcap sg_turs sg_inq sg_start sg_modes sg_logs sg_senddiag \ sg_persist sg_requests sg_ses sg_luns \ sg_sync sg_prevent sg_get_config sg_wr_mode \ sg_rtpg sg_reassign sg_format sg_rmsn sg_ident \ - sg_read_long sg_write_long sg_verify sg_rdac sg_vpd + sg_read_long sg_write_long sg_verify sg_rdac sg_vpd \ + sg_sat_identify sg_read_buffer sg_write_buffer sg_opcodes MAN_PGS = sg_readcap.8 sg_turs.8 sg_inq.8 sg_start.8 sg_modes.8 sg_logs.8 \ sg_senddiag.8 sg_persist.8 sg_requests.8 sg_ses.8 sg_luns.8 \ sg_sync.8 sg_prevent.8 sg_get_config.8 sg_wr_mode.8 \ sg_rtpg.8 sg_reassign.8 sg_format.8 sg_rmsn.8 sg_ident.8 \ sg_read_long.8 sg_write_long.8 sg_verify.8 sg_rdac.8 sg_vpd.8 \ - sg3_utils.8 + sg3_utils.8 sg_sat_identify.8 sg_read_buffer.8 sg_write_buffer.8 \ + sg_opcodes.8 MAN_PREF = man8 @@ -51,26 +53,26 @@ clean: .c.o: $(CC) $(CFLAGS) -c -o $@ $< -sg_readcap: sg_readcap.o $(O_BFILES) - $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) +sg_readcap: sg_readcap.o $(O_BFILES) $(O_GETOPT_LONG) + $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) $(O_GETOPT_LONG) -sg_turs: sg_turs.o $(O_BFILES) - $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) +sg_turs: sg_turs.o $(O_BFILES) $(O_GETOPT_LONG) + $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) $(O_GETOPT_LONG) -sg_inq: sg_inq.o $(O_BFILES) - $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) +sg_inq: sg_inq.o $(O_BFILES) $(O_GETOPT_LONG) + $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) $(O_GETOPT_LONG) -sg_start: sg_start.o $(O_BFILES) - $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) +sg_start: sg_start.o $(O_BFILES) $(O_GETOPT_LONG) + $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) $(O_GETOPT_LONG) -sg_modes: sg_modes.o $(O_BFILES) - $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) +sg_modes: sg_modes.o $(O_BFILES) $(O_GETOPT_LONG) + $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) $(O_GETOPT_LONG) -sg_logs: sg_logs.o $(O_BFILES) - $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) +sg_logs: sg_logs.o $(O_BFILES) $(O_GETOPT_LONG) + $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) $(O_GETOPT_LONG) -sg_senddiag: sg_senddiag.o $(O_FILES) - $(LD) -o $@ $(LDFLAGS) $@.o $(O_FILES) +sg_senddiag: sg_senddiag.o $(O_FILES) $(O_GETOPT_LONG) + $(LD) -o $@ $(LDFLAGS) $@.o $(O_FILES) $(O_GETOPT_LONG) sg_persist: sg_persist.o $(O_FILES) $(O_GETOPT_LONG) $(LD) -o $@ $(LDFLAGS) $@.o $(O_FILES) $(O_GETOPT_LONG) @@ -126,6 +128,18 @@ sg_rdac: sg_rdac.o $(O_BFILES) $(O_GETOPT_LONG) sg_vpd: sg_vpd.o sg_vpd_vendor.o $(O_BFILES) $(O_GETOPT_LONG) $(LD) -o $@ $(LDFLAGS) $@.o sg_vpd_vendor.o $(O_BFILES) $(O_GETOPT_LONG) +sg_sat_identify: sg_sat_identify.o $(O_FILES) $(O_GETOPT_LONG) + $(LD) -o $@ $(LDFLAGS) $@.o $(O_FILES) $(O_GETOPT_LONG) + +sg_read_buffer: sg_read_buffer.o $(O_FILES) $(O_GETOPT_LONG) + $(LD) -o $@ $(LDFLAGS) $@.o $(O_FILES) $(O_GETOPT_LONG) + +sg_write_buffer: sg_write_buffer.o $(O_FILES) $(O_GETOPT_LONG) + $(LD) -o $@ $(LDFLAGS) $@.o $(O_FILES) $(O_GETOPT_LONG) + +sg_opcodes: sg_opcodes.o $(O_BFILES) $(O_GETOPT_LONG) + $(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES) $(O_GETOPT_LONG) + install: $(EXECS) test -d $(INSTDIR) || mkdir -p $(INSTDIR) for name in $(EXECS); \ |