summaryrefslogtreecommitdiff
path: root/panels/network/connection-editor/Makefile.am
blob: 9736ef49b5e3f5d5da31d7de155b745625dd0e4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
noinst_LTLIBRARIES = libconnection-editor.la

BUILT_SOURCES =					\
	net-connection-editor-resources.c	\
	net-connection-editor-resources.h

libconnection_editor_la_SOURCES = 		\
	$(BUILT_SOURCES)			\
	net-connection-editor.h			\
	net-connection-editor.c			\
	ce-page.h				\
	ce-page.c				\
	ce-page-details.h			\
	ce-page-details.c			\
	ce-page-wifi.h				\
	ce-page-wifi.c				\
	ce-page-ip4.h				\
	ce-page-ip4.c				\
	ce-page-ip6.h				\
	ce-page-ip6.c				\
	ce-page-security.h			\
	ce-page-security.c			\
	ce-page-reset.h				\
	ce-page-reset.c				\
	ce-page-ethernet.h			\
	ce-page-ethernet.c			\
	ce-page-8021x-security.h		\
	ce-page-8021x-security.c

libconnection_editor_la_CPPFLAGS = 		\
	-I$(srcdir)/../wireless-security	\
	$(NETWORK_PANEL_CFLAGS) 		\
        $(NETWORK_MANAGER_CFLAGS)

libconnection_editor_la_LIBADD = 		\
	$(builddir)/../wireless-security/libwireless-security.la \
	$(NETWORK_PANEL_LIBS) 			\
	$(NETWORK_MANAGER_LIBS)

resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/connection-editor.gresource.xml)
net-connection-editor-resources.c: connection-editor.gresource.xml $(resource_files)
	$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name net_connection_editor $<
net-connection-editor-resources.h: connection-editor.gresource.xml $(resource_files)
	$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name net_connection_editor $<

EXTRA_DIST = \
	$(resource_files)