~ubuntu-branches/ubuntu/saucy/s390-tools/saucy

« back to all changes in this revision

Viewing changes to tape390/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Bastian Blank
  • Date: 2008-07-15 23:55:41 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080715235541-r79vu6eqh4qim413
Tags: 1.6.2-1
* New upstream version.
* Install udev rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Common definitions
2
2
include ../common.mak
3
3
 
4
 
CFLAGS        = -Wall -D_FILE_OFFSET_BITS=64 \
5
 
                -DS390_TOOLS_RELEASE=$(S390_TOOLS_RELEASE) -L.
6
 
SRCS          = tape390_display.c
7
 
 
8
 
all: tape390_display
9
 
 
10
 
tape390_display: tape390_display.c
11
 
        $(CC) $(CFLAGS) -o $@ $(SRCS)
 
4
CFLAGS        += -D_FILE_OFFSET_BITS=64 -I../include -L.
 
5
 
 
6
all: tape390_display tape390_crypt
 
7
 
 
8
tape390_display: tape390_display.c tape390_common.c tape390_common.h
 
9
        $(CC) $(CFLAGS) -o $@ tape390_display.c tape390_common.c
 
10
 
 
11
tape390_crypt: tape390_crypt.c tape390_common.c tape390_common.h
 
12
        $(CC) $(CFLAGS) -o $@ tape390_crypt.c tape390_common.c
12
13
 
13
14
install: all
14
15
        $(INSTALL) -d -m 755 $(BINDIR) $(MANDIR)/man8
15
 
        $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 tape390_display $(BINDIR)
16
 
        $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 tape390_display.8  $(MANDIR)/man8
 
16
        $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 tape390_display $(BINDIR)
 
17
        $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 tape390_display.8 \
 
18
                $(MANDIR)/man8
 
19
        $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 tape390_crypt $(BINDIR)
 
20
        $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 tape390_crypt.8 \
 
21
                $(MANDIR)/man8
17
22
 
18
23
clean:
19
 
        rm -f *.o *~ tape390_display core
20
 
 
21
 
 
 
24
        rm -f *.o *~ tape390_display tape390_crypt core
 
25
 
 
26
.PHONY: all install clean