Files
NetworkManager/examples/C/qt/Makefile.am
Dan Winship a7c4d53d03 all: port everything to libnm
Since the API has not changed at this point, this is mostly just a
matter of updating Makefiles, and changing references to the library
name in comments.

NetworkManager cannot link to libnm due to the duplicated type/symbol
names. So it links to libnm-core.la directly, which means that
NetworkManager gets a separate copy of that code from libnm.so.
Everything else links to libnm.
2014-08-01 14:34:05 -04:00

47 lines
945 B
Makefile

AM_CPPFLAGS = \
-I${top_srcdir}/libnm-core \
-I${top_builddir}/libnm-core \
$(DBUS_CFLAGS) \
$(QT_CFLAGS)
noinst_PROGRAMS = \
add-connection-wired \
list-connections \
change-ipv4-addresses \
monitor-nm-running
add_connection_wired_SOURCES = add-connection-wired.cpp
add_connection_wired_LDADD = \
$(DBUS_LIBS) \
$(QT_LIBS)
list_connections_SOURCES = list-connections.cpp
list_connections_LDADD = \
$(DBUS_LIBS) \
$(QT_LIBS)
change_ipv4_addresses_SOURCES = change-ipv4-addresses.cpp
change_ipv4_addresses_LDADD = \
$(DBUS_LIBS) \
$(QT_LIBS)
monitor_nm_running_SOURCES = monitor-nm-running.cpp
monitor_nm_running_LDADD = \
$(DBUS_LIBS) \
$(QT_LIBS)
monitor-nm-running.moc: monitor-nm-running.cpp
$(AM_V_GEN) $(MOC) -i $< -o $@
BUILT_SOURCES = \
monitor-nm-running.moc
EXTRA_DIST = \
add-connection-wired.cpp \
list-connections.cpp \
change-ipv4-addresses.cpp \
monitor-nm-running.cpp
CLEANFILES = $(BUILT_SOURCES)