# This file is part of genrc. # Copyright (C) 2018 Sergey Poznyakoff. # # Genrc is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # Genrc is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with genrc. If not, see . sbin_PROGRAMS = genrc genrc_SOURCES = \ genrc.c\ genrc.h\ err.c\ pidfrom.c\ pid_file.c\ pid_config.c\ pid_grep.c\ pid_proc.c\ pid_ps.c\ pidlist.c\ procscan.c\ com_status.c\ com_start.c\ com_stop.c\ com_restart.c\ com_reload.c\ transform.c\ match_exact.c\ match_glob.c\ match_regex.c\ sentinel.c\ runas.c AM_CPPFLAGS = @GRECS_INCLUDES@ LDADD = @GRECS_LDADD@ if COND_PCRE genrc_SOURCES += match_pcre.c AM_CPPFLAGS += -DHAVE_PCRE=1 endif dist_man_MANS=genrc.8