File: Makefile.am

package info (click to toggle)
giggle 0.7-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,084 kB
  • sloc: ansic: 23,243; sh: 11,642; makefile: 442; xml: 81
file content (92 lines) | stat: -rw-r--r-- 1,992 bytes parent folder | download | duplicates (4)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
libgiggledir = $(pkgincludedir)/libgiggle

AM_CPPFLAGS = \
	-I$(top_srcdir) \
	-DGLADEDIR='"$(pkgdatadir)/glade"' \
	-DPLUGINDIR='"$(pkglibdir)/plugins/$(VERSION)"' \
	$(GIGGLE_CFLAGS)

AM_CFLAGS = \
	$(WARN_CFLAGS)

lib_LTLIBRARIES = libgiggle.la

libgiggle_h_files = \
	giggle-author.h \
	giggle-branch.h \
	giggle-clipboard.h \
	giggle-dispatcher.h \
	giggle-error.h \
	giggle-history.h \
	giggle-job.h \
	giggle-plugin-manager.h \
	giggle-plugin.h \
	giggle-ref.h \
	giggle-remote-branch.h \
	giggle-remote-ref.h \
	giggle-remote.h \
	giggle-revision.h \
	giggle-searchable.h \
	giggle-sysdeps.h \
	giggle-tag.h \
	giggle-view.h \
	giggle-view-shell.h \
	$(NULL)

libgiggle_la_SOURCES = \
	$(BUILT_SOURCES) \
	$(libgiggle_h_files) \
	giggle-author.c \
	giggle-branch.c \
	giggle-clipboard.c \
	giggle-dispatcher.c \
	giggle-error.c \
	giggle-history.c \
	giggle-job.c \
	giggle-plugin-manager.c \
	giggle-plugin.c \
	giggle-ref.c \
	giggle-remote-branch.c \
	giggle-remote-ref.c \
	giggle-remote.c \
	giggle-revision.c \
	giggle-searchable.c \
	giggle-sysdeps.c \
	giggle-tag.c \
	giggle-view.c \
	giggle-view-shell.c \
	$(NULL)

libgiggle_HEADERS = \
	$(libgiggle_git_h_files) \
	giggle-enums.h \
	$(NULL)

libgiggle_la_LIBADD = \
	$(GIGGLE_LIBS)
libgiggle_la_LDFLAGS = \
	$(AM_LDFLAGS) \
	-version-info $(LIBGIGGLE_ABI) \
	-Wl,--as-needed -Wl,--no-undefined \
	$(NULL)

giggle-enums.h: giggle-enums.h.in $(libgiggle_h_files)
	$(AM_V_at)( cd $(srcdir) && $(GLIB_MKENUMS) --template $^ ) > xgen-gtbh
	$(AM_V_at)( cmp -s xgen-gtbh $@ || (echo "  ENUM  $@..."; cp xgen-gtbh $@ ))
	$(AM_V_at)( rm -f xgen-gtbh )

giggle-enums.c: giggle-enums.c.in $(libgiggle_h_files)
	$(AM_V_at)( cd $(srcdir) && $(GLIB_MKENUMS) --template $^ ) > xgen-gtbc
	$(AM_V_at)( cmp -s xgen-gtbc $@ || (echo "  ENUM  $@..."; cp xgen-gtbc $@ ))
	$(AM_V_at)( rm -f xgen-gtbc )

BUILT_SOURCES = \
	giggle-enums.h \
	giggle-enums.c

CLEANFILES = $(BUILT_SOURCES)

EXTRA_DIST = \
	giggle-enums.c.in \
	giggle-enums.h.in