File: rules

package info (click to toggle)
paulstretch 2.2-2-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 436 kB
  • ctags: 689
  • sloc: cpp: 3,717; ansic: 576; sh: 47; makefile: 18
file content (25 lines) | stat: -rwxr-xr-x 716 bytes parent folder | download
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

LDFLAGS+=-Wl,--as-needed
DESTDIR=$(CURDIR)/debian/paulstretch

%:
	dh $@

override_dh_auto_build:
	# ./compile_linux_fftw.sh with custom LDFLAGS
	fluid -c GUI.fl 
	fluid -c FreeEditUI.fl
	g++ $(CPPFLAGS) $(CXXFLAGS) GUI.cxx FreeEditUI.cxx `LC_ALL=C ls *.cpp Input/*.cpp Output/*.cpp` \
	  -o paulstretch \
	  $(LDFLAGS) \
	  `fltk-config --cflags` `fltk-config --ldflags` \
	  -DHAVE_JACK -DENABLE_RESAMPLING \
	  `pkg-config --cflags --libs jack samplerate` \
	  `pkg-config --cflags --libs fftw3f vorbisenc vorbisfile vorbis ogg mad mxml audiofile` \
	  -lportaudio -lpthread -lz

override_dh_installchangelogs:
	dh_installchangelogs readme.txt