sysmond/Makefile.am

15 lines
371 B
Makefile
Raw Normal View History

2021-02-03 12:40:43 +01:00
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:
2022-08-04 11:50:34 +02:00
([ -d $(DESTDIR)/etc/systemd/system/ ] && cp sysmond.service $(DESTDIR)/etc/systemd/system/) || true
2021-02-03 12:40:43 +01:00
2022-08-04 11:50:34 +02:00
EXTRA_DIST = ini.h sysmond.conf sysmond.service