blob: 9efb6d4e91147c34f25fc736a09f2d3f8fe43c3f [file] [log] [blame]
Matt Spinlerf716f322017-02-28 09:37:38 -06001AM_DEFAULT_SOURCE_EXT = .cpp
2
Anthony Wilson171fbdf2018-11-01 13:38:50 -05003systemdsystemunit_DATA = \
4 pcie-poweroff@.service
5
Matt Spinlerf716f322017-02-28 09:37:38 -06006sbin_PROGRAMS = \
7 openpower-proc-control
8
9openpower_proc_control_SOURCES = \
10 proc_control.cpp \
Matt Spinler0c0eeff2017-02-28 10:06:56 -060011 cfam_access.cpp \
Matt Spinler4e97ebe2017-02-28 10:02:16 -060012 filedescriptor.cpp \
Matt Spinlerd9bdcf72017-03-09 15:06:23 -060013 registration.cpp \
Matt Spinler83e37322017-03-09 11:23:17 -060014 targeting.cpp \
Andrew Geissler2548c7a2017-05-18 15:35:40 -050015 openpower_procedures.cpp \
16 ext_interface.cpp
Matt Spinler12bdf052017-03-09 16:01:39 -060017
18CLEANFILES = openpower_procedures.cpp
Matt Spinlerf716f322017-02-28 09:37:38 -060019
Andrew Geissler2548c7a2017-05-18 15:35:40 -050020openpower_proc_control_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \
21 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Matt Spinleree401e92017-09-18 14:15:31 -050022 $(OPENPOWER_DBUS_INTERFACES_LIBS) \
Andrew Geissler2548c7a2017-05-18 15:35:40 -050023 $(SDBUSPLUS_LIBS) \
24 -lstdc++fs
25
Dhruvaraj Subhashchandran7ce535c2017-05-15 05:06:36 -050026openpower_proc_control_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \
Andrew Geissler2548c7a2017-05-18 15:35:40 -050027 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
Matt Spinleree401e92017-09-18 14:15:31 -050028 $(OPENPOWER_DBUS_INTERFACES_CFLAGS) \
Andrew Geissler2548c7a2017-05-18 15:35:40 -050029 $(SDBUSPLUS_CFLAGS)
Matt Spinler597e05c2017-02-28 09:59:53 -060030
31SUBDIRS = test
Matt Spinler12bdf052017-03-09 16:01:39 -060032
33-include Makefile.generated