Debian Codegraph @

Makefile

raw
1 all:
2 @(m4 -DOS=`uname -s` Makefile.m4 | $(MAKE) -f - dvd+rw-tools)
3 install:# BSD make doesn't support wild-card targets:-(
4 @(m4 -DOS=`uname -s` Makefile.m4 | $(MAKE) -f - $@)
5 nothing:# dumb target
6 .%: # don't mess with Solaris .INIT/.DONE, ...
7 %: # ... but the rest just passes through
8 @(m4 -DOS=`uname -s` Makefile.m4 | $(MAKE) -f - $@)
9
10 CHAIN=growisofs dvd+rw-format dvd+rw-booktype dvd+rw-mediainfo dvd-ram-control
11 clean:
12 -(rm *.o $(CHAIN) rpl8 btcflash panaflash; exit 0) < /dev/null > /dev/null 2>&1
13
14 VER=7.1
15 DIST=dvd+rw-tools-$(VER)
16
17 pkg:
18 [ -h $(DIST) ] || ln -s . $(DIST)
19 tar chf dvd+rw-tools-$(VER).tar \
20 --owner=bin --group=bin \
21 $(DIST)/Makefile \
22 $(DIST)/Makefile.m4 \
23 $(DIST)/dvd+rw-tools.spec \
24 $(DIST)/growisofs.1 \
25 $(DIST)/transport.hxx \
26 $(DIST)/mp.h \
27 $(DIST)/win32err.h \
28 $(DIST)/keys.txt \
29 $(DIST)/genasctable.pl \
30 $(DIST)/asctable.h \
31 $(DIST)/growisofs.c \
32 $(DIST)/growisofs_mmc.cpp \
33 $(DIST)/dvd+rw-format.cpp \
34 $(DIST)/dvd+rw-mediainfo.cpp \
35 $(DIST)/dvd+rw-booktype.cpp \
36 $(DIST)/dvd-ram-control.cpp \
37 $(DIST)/rpl8.cpp \
38 $(DIST)/btcflash.cpp \
39 $(DIST)/LICENSE
40 if [ -f index.html ]; then \
41 tar rhf dvd+rw-tools-$(VER).tar \
42 --owner=bin --group=bin \
43 $(DIST)/index.html; \
44 fi
45 gzip -f dvd+rw-tools-$(VER).tar
46 rm $(DIST)