File: rules

package info (click to toggle)
epics-base 7.0.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 21,464 kB
  • sloc: cpp: 128,903; ansic: 109,785; perl: 9,805; makefile: 3,272; yacc: 1,297; python: 594; lex: 211; sh: 108; csh: 36
file content (24 lines) | stat: -rwxr-xr-x 713 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

REL_LIB_DIR := lib/$(shell perl $(CURDIR)/src/tools/EpicsHostArch.pl)
LIB_DIR = $(CURDIR)/$(REL_LIB_DIR)

export LD_LIBRARY_PATH := $(LIB_DIR):$(LD_LIBRARY_PATH)

%:
	dh $@

override_dh_auto_build:
	make LINKER_USE_RPATH=NO

override_dh_auto_test:
	dh_auto_test -- runtests

override_dh_install:
	dh_install
	dh_install -plibca4.13.5  $(REL_LIB_DIR)/libca.so.*  usr/lib/$(DEB_HOST_MULTIARCH)
	dh_install -plibca-dev    $(REL_LIB_DIR)/libca.so    usr/lib/$(DEB_HOST_MULTIARCH)
	dh_install -plibcom3.17.6 $(REL_LIB_DIR)/libCom.so.* usr/lib/$(DEB_HOST_MULTIARCH)
	dh_install -plibcom-dev   $(REL_LIB_DIR)/libCom.so   usr/lib/$(DEB_HOST_MULTIARCH)