sysmond/Makefile.am
2022-08-04 11:50:34 +02:00

15 lines
371 B
Makefile

AUTOMAKE_OPTIONS = foreign
AM_CPPFLAGS = -W -Wall -g -std=c99 -DPREFIX="\"$(prefix)\""
# bin
bin_PROGRAMS = sysmond
# source files
sysmond_SOURCES = ini.c sysmon.c
sysconf_DATA = sysmond.conf
install-data-local:
([ -d $(DESTDIR)/etc/systemd/system/ ] && cp sysmond.service $(DESTDIR)/etc/systemd/system/) || true
EXTRA_DIST = ini.h sysmond.conf sysmond.service