summaryrefslogtreecommitdiff
path: root/debian/patches/force-pd_linux-as-extension
blob: d6998cc11122640deaf1d363cd7b709442538f52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Description: force .pd_linux as binary file extension
Author: Hans-Christoph Steiner <hans@eds.org>

---

Last-Update: <2013-01-17>

--- pd-maxlib-1.5.5.orig/Makefile
+++ pd-maxlib-1.5.5/Makefile
@@ -160,29 +160,6 @@ endif
 ifeq ($(UNAME),Linux)
   CPU := $(shell uname -m)
   EXTENSION = pd_linux
-  ifeq ($(findstring arm,$(CPU)),arm)
-    EXTENSION = l_arm
-  endif
-  ifeq ($(CPU),i386)
-    EXTENSION = l_i386
-  endif
-  ifeq ($(CPU),i486)
-    EXTENSION = l_i386
-  endif
-  ifeq ($(CPU),i586)
-    EXTENSION = l_i386
-  endif
-  ifeq ($(CPU),i686)
-    EXTENSION = l_i386
-  endif
-  ifeq ($(CPU),amd64)
-    # amd64 and ia64 aren't the same thing, but that's how its done in pd...
-    EXTENSION = l_ia64
-  endif
-  ifeq ($(CPU),x86_64)
-    # x86_64 and ia64 aren't the same thing, but that's how its done in pd...
-    EXTENSION = l_ia64
-  endif
   SOURCES += $(SOURCES_linux)
   SHARED_EXTENSION = so
   OS = linux