summaryrefslogtreecommitdiffstats
path: root/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'monitor')
-rw-r--r--monitor/Makefile.am17
-rw-r--r--monitor/main.cpp21
2 files changed, 38 insertions, 0 deletions
diff --git a/monitor/Makefile.am b/monitor/Makefile.am
new file mode 100644
index 0000000..44458bd
--- /dev/null
+++ b/monitor/Makefile.am
@@ -0,0 +1,17 @@
+AM_DEFAULT_SOURCE_EXT = .cpp
+AM_CPPFLAGS = -iquote ${top_srcdir}
+
+sbin_PROGRAMS = \
+ phosphor-fan-monitor
+
+phosphor_fan_monitor_SOURCES = \
+ main.cpp
+
+phosphor_fan_monitor_LDADD = \
+ $(SDBUSPLUS_LIBS) \
+ $(PHOSPHOR_LOGGING_LIBS)
+
+phosphor_fan_monitor_CXXFLAGS = \
+ $(SDBUSPLUS_CFLAGS) \
+ $(PHOSPHOR_LOGGING_CFLAGS)
+
diff --git a/monitor/main.cpp b/monitor/main.cpp
new file mode 100644
index 0000000..e468bac
--- /dev/null
+++ b/monitor/main.cpp
@@ -0,0 +1,21 @@
+/**
+ * Copyright © 2017 IBM Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+int main()
+{
+ return 0;
+}
OpenPOWER on IntegriCloud