forked from axoflow/axosyslog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metrics-probe/filterx: add build skeleton
Signed-off-by: Attila Szakacs <[email protected]>
- Loading branch information
Showing
7 changed files
with
92 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
set(METRICS_PROBE_FILTERX_SOURCES | ||
metrics-probe-filterx.c | ||
metrics-probe-filterx.h | ||
) | ||
|
||
add_module( | ||
TARGET metrics_probe_filterx | ||
SOURCES ${METRICS_PROBE_FILTERX_SOURCES} | ||
LIBRARY_TYPE STATIC | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# noinst: Built as part of a larger libmetrics-probe module as static library | ||
noinst_LTLIBRARIES += modules/metrics-probe/filterx/libmetrics-probe-filterx.la | ||
|
||
modules_metrics_probe_filterx_libmetrics_probe_filterx_la_SOURCES = \ | ||
modules/metrics-probe/filterx/metrics-probe-filterx.c \ | ||
modules/metrics-probe/filterx/metrics-probe-filterx.h | ||
|
||
modules_metrics_probe_filterx_libmetrics_probe_filterx_la_CFLAGS = \ | ||
-I$(top_srcdir)/modules/metrics-probe/filterx \ | ||
-I$(top_builddir)/modules/metrics-probe/filterx | ||
|
||
modules_metrics_probe_filterx_libmetrics_probe_filterx_la_LIBADD = \ | ||
$(MODULE_DEPS_LIBS) | ||
|
||
modules_metrics_probe_filterx_libmetrics_probe_filterx_la_LDFLAGS = \ | ||
$(MODULE_LDFLAGS) | ||
|
||
EXTRA_modules_metrics_probe_filterx_libmetrics_probe_filterx_la_DEPENDENCIES = \ | ||
$(MODULE_DEPS_LIBS) | ||
|
||
EXTRA_DIST += \ | ||
modules/metrics-probe/filterx/CMakeLists.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Copyright (c) 2024 Axoflow | ||
* Copyright (c) 2024 Attila Szakacs <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License version 2 as published | ||
* by the Free Software Foundation, or (at your option) any later version. | ||
* | ||
* This program 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 this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
* As an additional exemption you are allowed to compile & link against the | ||
* OpenSSL libraries as published by the OpenSSL project. See the file | ||
* COPYING for details. | ||
* | ||
*/ | ||
|
||
#include "metrics-probe-filterx.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright (c) 2024 Axoflow | ||
* Copyright (c) 2024 Attila Szakacs <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License version 2 as published | ||
* by the Free Software Foundation, or (at your option) any later version. | ||
* | ||
* This program 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 this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
* As an additional exemption you are allowed to compile & link against the | ||
* OpenSSL libraries as published by the OpenSSL project. See the file | ||
* COPYING for details. | ||
* | ||
*/ | ||
|
||
#ifndef METRICS_PROBE_FILTERX_H_INCLUDED | ||
#define METRICS_PROBE_FILTERX_H_INCLUDED | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters