~ubuntu-branches/ubuntu/trusty/pd-ekext/trusty

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Hans-Christoph Steiner, Hans-Christoph Steiner, Alessio Treglia, IOhannes m zmölnig
  • Date: 2011-06-10 12:34:32 UTC
  • Revision ID: james.westby@ubuntu.com-20110610123432-5yvtk6ycuj9yhkh2
Tags: 0.1.1-2
[ Hans-Christoph Steiner ]
* Added Recommends: pd-import since the help uses the 'import' object

[ Alessio Treglia ]
* Add Vcs-* tags.

[ IOhannes m zmölnig ]
* Makefile-fixes for non-linux (Closes: #609773)

[ Hans-Christoph Steiner ]
* updated Build-Depends to use puredata-dev when available
      (Closes: #629707)
* bumped standards version to 3.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#
42
42
#------------------------------------------------------------------------------#
43
43
 
 
44
 
44
45
# get library version from meta file
45
46
LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' $(LIBRARY_NAME)-meta.pd)
46
47
 
121
122
  STRIP = strip --strip-unneeded -R .note -R .comment
122
123
  DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m)
123
124
endif
 
125
ifeq ($(UNAME),GNU)
 
126
  # GNU/Hurd, should work like GNU/Linux for basically all externals
 
127
  CPU := $(shell uname -m)
 
128
  SOURCES += $(SOURCES_linux)
 
129
  EXTENSION = pd_linux
 
130
  OS = linux
 
131
  PD_PATH = /usr
 
132
  OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
 
133
  ALL_CFLAGS += -fPIC
 
134
  ALL_LDFLAGS += -Wl,--export-dynamic  -shared -fPIC
 
135
  ALL_LIBS += -lc
 
136
  STRIP = strip --strip-unneeded -R .note -R .comment
 
137
  DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m)
 
138
endif
 
139
ifeq ($(UNAME),GNU/kFreeBSD)
 
140
  # Debian GNU/kFreeBSD, should work like GNU/Linux for basically all externals
 
141
  CPU := $(shell uname -m)
 
142
  SOURCES += $(SOURCES_linux)
 
143
  EXTENSION = pd_linux
 
144
  OS = linux
 
145
  PD_PATH = /usr
 
146
  OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
 
147
  ALL_CFLAGS += -fPIC
 
148
  ALL_LDFLAGS += -Wl,--export-dynamic  -shared -fPIC
 
149
  ALL_LIBS += -lc
 
150
  STRIP = strip --strip-unneeded -R .note -R .comment
 
151
  DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m)
 
152
endif
124
153
ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME)))
125
154
  CPU := $(shell uname -m)
126
155
  SOURCES += $(SOURCES_cygwin)