]> git.proxmox.com Git - pve-ha-manager.git/blobdiff - src/Makefile
install systemd files for watchdog-mux
[pve-ha-manager.git] / src / Makefile
index a08bdb873c595b3328d99154a891a8d23ab497aa..688b0978ca9ef849d5a3d834367452fc6dfe0838 100644 (file)
@@ -24,15 +24,16 @@ pve-ha-lrm.1.pod: pve-ha-lrm
        perl -I. ./pve-ha-lrm printmanpod >$@
 
 watchdog-mux: watchdog-mux.c
-       gcc watchdog-mux.c -o watchdog-mux -Wall $$(pkg-config --libs --cflags libsystemd-daemon)
+       gcc watchdog-mux.c -o watchdog-mux -Wall -Wl,-z,relro $$(pkg-config --libs --cflags libsystemd-daemon)
 
 .PHONY: install
-install: pve-ha-crm pve-ha-lrm pve-ha-crm.1.pod pve-ha-crm.1.gz pve-ha-lrm.1.pod pve-ha-lrm.1.gz
+install: watchdog-mux pve-ha-crm pve-ha-lrm pve-ha-crm.1.pod pve-ha-crm.1.gz pve-ha-lrm.1.pod pve-ha-lrm.1.gz
        perl -I. ./pve-ha-crm verifyapi
        perl -I. ./pve-ha-lrm verifyapi
        install -d ${DESTDIR}${SBINDIR}
        install -m 0755 pve-ha-crm ${DESTDIR}${SBINDIR}
        install -m 0755 pve-ha-lrm ${DESTDIR}${SBINDIR}
+       install -m 0755 watchdog-mux ${DESTDIR}${SBINDIR}
        make -C PVE install
        install -d ${DESTDIR}/usr/share/man/man1
        install -d ${DESTDIR}${PODDIR}