~ubuntu-branches/ubuntu/hardy/sg3-utils/hardy

« back to all changes in this revision

Viewing changes to examples/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-09-19 21:00:55 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060919210055-j9deachd976os9my
Tags: 1.21-1ubuntu1
* Sync with Debian
* debian/control:
  + Let the -dev package depend on the runtime package
* llseek.c:
  + Fix syntax errors. Patch taken from Gentoo:
    http://mir2.ovh.net/gentoo-portage/sys-apps/sg3_utils/files/sg3_utils-llseek.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
LD = gcc
9
9
 
10
10
EXECS = sg_simple1 sg_simple2 sg_simple3 sg_simple4 sg_simple16 \
11
 
        sg_iovec_tst scsi_inquiry sg_excl sg_sense_test sg_simple5
 
11
        sg_iovec_tst scsi_inquiry sg_excl sg_sense_test sg_simple5 \
 
12
        sg_sat_identify sg_sat_chk_power sg_sat_smart_rd_data
12
13
 
13
14
# EXECS = sg_simple1 sg_simple2 sg_simple3 sg_simple4 sg_simple16 \
14
15
#         sg_simple_aio sg_iovec_tst scsi_inquiry sg_excl
66
67
sg_simple5: sg_simple5.o ../sg_lib.o ../sg_pt_linux.o
67
68
        $(LD) -o $@ $(LDFLAGS) $^
68
69
 
 
70
sg_sat_identify: sg_sat_identify.o ../sg_lib.o ../sg_io_linux.o
 
71
        $(LD) -o $@ $(LDFLAGS) $^
 
72
 
 
73
sg_sat_chk_power: sg_sat_chk_power.o ../sg_lib.o ../sg_io_linux.o
 
74
        $(LD) -o $@ $(LDFLAGS) $^
 
75
 
 
76
sg_sat_smart_rd_data: sg_sat_smart_rd_data.o ../sg_lib.o ../sg_io_linux.o
 
77
        $(LD) -o $@ $(LDFLAGS) $^
 
78
 
69
79
install: $(EXECS)
70
80
        install -d $(INSTDIR)
71
81
        for name in $^; \