aboutsummaryrefslogtreecommitdiff
path: root/Makefile.win32
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.win32')
-rw-r--r--Makefile.win3211
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.win32 b/Makefile.win32
index 64b70569..a3708461 100644
--- a/Makefile.win32
+++ b/Makefile.win32
@@ -12,7 +12,8 @@ EXECS = sg_readcap sg_turs sg_inq sg_start sg_modes sg_logs sg_senddiag \
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_sat_identify sg_read_buffer sg_write_buffer sg_opcodes
+ sg_sat_identify sg_read_buffer sg_write_buffer sg_opcodes \
+ sg_raw
EXE_S = sg_readcap.exe sg_turs.exe sg_inq.exe sg_start.exe sg_modes.exe \
sg_logs.exe sg_senddiag.exe sg_persist.exe sg_requests.exe \
@@ -21,7 +22,7 @@ EXE_S = sg_readcap.exe sg_turs.exe sg_inq.exe sg_start.exe sg_modes.exe \
sg_format.exe sg_rmsn.exe sg_ident.exe sg_read_long.exe \
sg_write_long.exe sg_verify.exe sg_rdac.exe sg_vpd.exe \
sg_sat_identify.exe sg_read_buffer.exe sg_write_buffer.exe \
- sg_opcodes.exe
+ sg_opcodes.exe sg_raw.exe
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 \
@@ -29,7 +30,7 @@ MAN_PGS = sg_readcap.8 sg_turs.8 sg_inq.8 sg_start.8 sg_modes.8 sg_logs.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 sg_sat_identify.8 sg_read_buffer.8 sg_write_buffer.8 \
- sg_opcodes.8
+ sg_opcodes.8 sg_raw.8
MAN_PREF = man8
@@ -44,6 +45,7 @@ CFLAGS = -g -O2 -Wall -W $(EXTRA_FLAGS)
O_FILES = sg_lib.o sg_cmds_basic.o sg_cmds_extra.o sg_pt_win32.o
O_BFILES = sg_lib.o sg_cmds_basic.o sg_pt_win32.o
+O_RFILES = sg_lib.o sg_pt_win32.o
O_SFILES = sg_lib.o
LDFLAGS =
@@ -151,6 +153,9 @@ sg_write_buffer: sg_write_buffer.o $(O_FILES)
sg_opcodes: sg_opcodes.o $(O_BFILES)
$(LD) -o $@ $(LDFLAGS) $@.o $(O_BFILES)
+sg_raw: sg_raw.o $(O_RFILES)
+ $(LD) -o $@ $(LDFLAGS) $@.o $(O_RFILES)
+
install: $(EXECS)
cp sg_scan.8w sg_scan.8
install -d $(INSTDIR)