~ubuntu-branches/ubuntu/trusty/cdrdao/trusty

« back to all changes in this revision

Viewing changes to debian/patches/10-rules-armel.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-06-20 09:58:00 UTC
  • mfrom: (2.1.13 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080620095800-dus8dgw8xzcc520l
Tags: 1:1.2.2-16
* Updating cross build handling in rules.
* Change clean target definition in rules (Closes: #450752, #471224).
* Updating to standards 3.8.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh /usr/share/dpatch/dpatch-run
 
2
## 10-rules-armel.dpatch by Daniel Baumann <daniel@debian.org>
 
3
##
 
4
## DP: Fixes outdated smake rules (Closes: #450752).
 
5
 
 
6
@DPATCH@
 
7
 
 
8
diff -Naurp cdrdao.orig/scsilib/RULES/MKLINKS cdrdao/scsilib/RULES/MKLINKS
 
9
--- cdrdao.orig/scsilib/RULES/MKLINKS   2008-04-23 00:45:42.000000000 +0000
 
10
+++ cdrdao/scsilib/RULES/MKLINKS        2008-05-04 10:40:56.000000000 +0000
 
11
@@ -105,6 +105,8 @@ ln -s       i586-linux-cc.rul       m68k-linux-cc.ru
 
12
 ln -s  i586-linux-gcc.rul      m68k-linux-gcc.rul
 
13
 ln -s  i586-linux-cc.rul       armv4l-linux-cc.rul
 
14
 ln -s  i586-linux-gcc.rul      armv4l-linux-gcc.rul
 
15
+ln -s  i586-linux-cc.rul       armv5tel-linux-cc.rul
 
16
+ln -s  i586-linux-gcc.rul      armv5tel-linux-gcc.rul
 
17
 ln -s  i586-linux-cc.rul       mips-linux-cc.rul
 
18
 ln -s  i586-linux-gcc.rul      mips-linux-gcc.rul
 
19
 ln -s  i586-linux-cc.rul       mipsel-linux-cc.rul
 
20
diff -Naurp cdrdao.orig/scsilib/RULES/armv5tel-linux-cc.rul cdrdao/scsilib/RULES/armv5tel-linux-cc.rul
 
21
--- cdrdao.orig/scsilib/RULES/armv5tel-linux-cc.rul     1970-01-01 00:00:00.000000000 +0000
 
22
+++ cdrdao/scsilib/RULES/armv5tel-linux-cc.rul  2008-05-04 10:41:27.000000000 +0000
 
23
@@ -0,0 +1,70 @@
 
24
+#ident "@(#)i586-linux-cc.rul  1.5 02/10/15 "
 
25
+###########################################################################
 
26
+# Written 1996 by J. Schilling
 
27
+###########################################################################
 
28
+#
 
29
+# Platform dependent MACROS for Linux
 
30
+#
 
31
+###########################################################################
 
32
+# This program is free software; you can redistribute it and/or modify
 
33
+# it under the terms of the GNU General Public License as published by
 
34
+# the Free Software Foundation; either version 2, or (at your option)
 
35
+# any later version.
 
36
+#
 
37
+# This program is distributed in the hope that it will be useful,
 
38
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
39
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
40
+# GNU General Public License for more details.
 
41
+#
 
42
+# You should have received a copy of the GNU General Public License
 
43
+# along with this program; see the file COPYING.  If not, write to
 
44
+# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
45
+###########################################################################
 
46
+include $(SRCROOT)/$(RULESDIR)/rules.prg
 
47
+###########################################################################
 
48
+
 
49
+CPPFLAGS=      $(CPPOPTS) $(CPPOPTX)
 
50
+CFLAGS=                $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX)
 
51
+
 
52
+CPPOPTS=       -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
 
53
+COPTS=
 
54
+CWOPTS=                -Wall -Wtraditional \
 
55
+               -Wshadow -Wmissing-prototypes -Wstrict-prototypes
 
56
+COPTOPT=       -O
 
57
+KDEFINES=      -DKERNEL -D_KERNEL
 
58
+COPTDYN=       -fpic
 
59
+COPTGPROF=     -pg
 
60
+
 
61
+LIB_PREFIX=    lib
 
62
+LIB_SUFFIX=    .a
 
63
+SHL_SUFFIX=    .so.1.0
 
64
+
 
65
+#LIB_SOCKET=   -lsocket -lnsl -ldl
 
66
+LIB_SOCKET=    
 
67
+LIB_MATH=      -lm
 
68
+#LIB_KVM=      -lkvm
 
69
+LIB_KVM=       
 
70
+
 
71
+LIBS_PATH=     -L$(OLIBSDIR)
 
72
+
 
73
+LDFLAGS=       $(LDOPTS) $(LDOPTX)
 
74
+LDLIBS=                $(LIBS) $(LIBX)
 
75
+
 
76
+#LDOPTS=               $(LIBS_PATH) $(LDPATH) $(RUNPATH)
 
77
+LDOPTS=                $(LIBS_PATH) $(LDPATH)
 
78
+LDOPTDYN=      -shared -Wl,-soname,$(TARGET)
 
79
+LNDYNLIB=      @$(SYMLINK) $(TARGET) $(PTARGET_BASE).so
 
80
+
 
81
+FLOAT_OPTIONS= 
 
82
+
 
83
+CC=            @echo " ==> COMPILING \"$@\""; gcc
 
84
+LDCC=          @echo " ==> LINKING \"$@\""; gcc
 
85
+DYNLD=         @echo " ==> LINKING dynamic library \"$@\""; gcc
 
86
+RANLIB=                @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true
 
87
+ARFLAGS=       cr
 
88
+LORDER=                echo
 
89
+TSORT=         cat
 
90
+
 
91
+RMDEP=         :
 
92
+MKDEP=         @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); gcc -M
 
93
+MKDEP_OUT=
 
94
diff -Naurp cdrdao.orig/scsilib/RULES/armv5tel-linux-gcc.rul cdrdao/scsilib/RULES/armv5tel-linux-gcc.rul
 
95
--- cdrdao.orig/scsilib/RULES/armv5tel-linux-gcc.rul    1970-01-01 00:00:00.000000000 +0000
 
96
+++ cdrdao/scsilib/RULES/armv5tel-linux-gcc.rul 2008-05-04 10:41:33.000000000 +0000
 
97
@@ -0,0 +1,70 @@
 
98
+#ident "@(#)i586-linux-gcc.rul 1.5 02/10/15 "
 
99
+###########################################################################
 
100
+# Written 1996 by J. Schilling
 
101
+###########################################################################
 
102
+#
 
103
+# Platform dependent MACROS for Linux
 
104
+#
 
105
+###########################################################################
 
106
+# This program is free software; you can redistribute it and/or modify
 
107
+# it under the terms of the GNU General Public License as published by
 
108
+# the Free Software Foundation; either version 2, or (at your option)
 
109
+# any later version.
 
110
+#
 
111
+# This program is distributed in the hope that it will be useful,
 
112
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
113
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
114
+# GNU General Public License for more details.
 
115
+#
 
116
+# You should have received a copy of the GNU General Public License
 
117
+# along with this program; see the file COPYING.  If not, write to
 
118
+# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
119
+###########################################################################
 
120
+include $(SRCROOT)/$(RULESDIR)/rules.prg
 
121
+###########################################################################
 
122
+
 
123
+CPPFLAGS=      $(CPPOPTS) $(CPPOPTX)
 
124
+CFLAGS=                $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX)
 
125
+
 
126
+CPPOPTS=       -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
 
127
+COPTS=
 
128
+CWOPTS=                -Wall -Wtraditional \
 
129
+               -Wshadow -Wmissing-prototypes -Wstrict-prototypes
 
130
+COPTOPT=       -O
 
131
+KDEFINES=      -DKERNEL -D_KERNEL
 
132
+COPTDYN=       -fpic
 
133
+COPTGPROF=     -pg
 
134
+
 
135
+LIB_PREFIX=    lib
 
136
+LIB_SUFFIX=    .a
 
137
+SHL_SUFFIX=    .so.1.0
 
138
+
 
139
+#LIB_SOCKET=   -lsocket -lnsl -ldl
 
140
+LIB_SOCKET=    
 
141
+LIB_MATH=      -lm
 
142
+#LIB_KVM=      -lkvm
 
143
+LIB_KVM=       
 
144
+
 
145
+LIBS_PATH=     -L$(OLIBSDIR)
 
146
+
 
147
+LDFLAGS=       $(LDOPTS) $(LDOPTX)
 
148
+LDLIBS=                $(LIBS) $(LIBX)
 
149
+
 
150
+#LDOPTS=               $(LIBS_PATH) $(LDPATH) $(RUNPATH)
 
151
+LDOPTS=                $(LIBS_PATH) $(LDPATH)
 
152
+LDOPTDYN=      -shared -Wl,-soname,$(TARGET)
 
153
+LNDYNLIB=      @$(SYMLINK) $(TARGET) $(PTARGET_BASE).so
 
154
+
 
155
+FLOAT_OPTIONS= 
 
156
+
 
157
+CC=            @echo " ==> COMPILING \"$@\""; gcc
 
158
+LDCC=          @echo " ==> LINKING \"$@\""; gcc
 
159
+DYNLD=         @echo " ==> LINKING dynamic library \"$@\""; gcc
 
160
+RANLIB=                @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true
 
161
+ARFLAGS=       cr
 
162
+LORDER=                echo
 
163
+TSORT=         cat
 
164
+
 
165
+RMDEP=         :
 
166
+MKDEP=         @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); gcc -M
 
167
+MKDEP_OUT=