-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
35 lines (27 loc) · 888 Bytes
/
Makefile.am
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
bin_PROGRAMS = bin/sshfs-connection-tool
bin_sshfs_connection_tool_SOURCES = \
src/mainfile.c \
src/application.c \
src/ioext.c \
src/resources.c \
src/window.c \
include/application.h \
include/ioext.h \
include/window.h
bin_sshfs_connection_tool_LDADD = \
$(GTK_LIBS)
bin_sshfs_connection_tool_CFLAGS = \
$(GTK_CFLAGS) \
$(AM_CFLAGS) \
-I$(top_srcdir)/include
EXTRA_DIST = \
builder
dist-hook:
rm -f `find $(top_distdir) -name '*~'`
src_resources = $(shell glib-compile-resources --sourcedir=$(top_srcdir)/builder --generate-dependencies $(top_srcdir)/builder/sct.gresource.xml)
BUILT_SOURCES = \
src/resources.c
CLEANFILES = \
$(BUILT_SOURCES)
src/resources.c: $(top_srcdir)/builder/sct.gresource.xml $(src_resources)
glib-compile-resources --target=$(top_builddir)/$@ --sourcedir=$(top_srcdir)/builder --generate-source --c-name sshfs_connection_resources $<