GTK+2 panel 

GTK+2 panel Git Source Tree

Root/libgpwidgets/Makefile.am

1AM_CFLAGS=$(GTK_CFLAGS) \
2$(LIBWNCK_CFLAGS) \
3-Wall \
4-I$(top_srcdir)
5AM_LDFLAGS=$(GTK_LIBS) \
6$(LIBWNCK_LIBS)
7
8h_sources=gpw-cpu.h \
9gpw-enums.h \
10gpw-pager.h \
11gpw-panel.h \
12gpw-quit.h \
13gpw-shell-command.h \
14gpw-show-desktop.h \
15gpw-strftime.h \
16gpw-tasklist.h \
17gpw-volume.h
18built_h_sources=
19private_h_sources=gpw-cpu-private.h \
20gpw-pager-private.h \
21gpw-panel-private.h \
22gpw-quit-private.h \
23gpw-shell-command-private.h \
24gpw-show-desktop-private.h \
25gpw-strftime-private.h \
26gpw-tasklist-private.h \
27gpw-volume-private.h \
28gpw-wnck.h \
29gpw-intl.h
30built_private_h_sources=
31c_sources=gpw-cpu.c \
32gpw-enums.c \
33gpw-panel.c \
34gpw-quit.c \
35gpw-shell-command.c \
36gpw-strftime.c \
37gpw-volume.c
38built_c_sources=
39libwnck_c_sources=gpw-pager.c \
40gpw-show-desktop.c \
41gpw-tasklist.c
42
43#####################################################################
44
45EXTRA_DIST=gpwidgets.xml.in \
46wnck-1.xml
47BUILT_SOURCES=$(built_h_sources) \
48$(built_private_h_sources) \
49$(built_c_sources)
50lib_LTLIBRARIES=libgpwidgets.la
51libgpwidgets_la_SOURCES=$(h_sources) \
52$(built_h_sources) \
53$(private_h_sources) \
54$(built_private_h_sources) \
55$(c_sources) \
56$(built_c_sources)
57EXTRA_libgpwidgets_la_SOURCES=$(extra_c_sources)
58libgpwidgets_la_LDFLAGS=-shared
59libgpwidgets_la_LIBADD=
60
61
62if HAVE_GLADE
63
64catalogdir=$(GLADE_CATALOGDIR)
65catalog_DATA=gpwidgets.xml
66
67if HAVE_LIBWNCK
68catalog_DATA +=wnck-1.xml
69endif
70
71endif
72
73
74if HAVE_LIBWNCK
75
76libgpwidgets_la_SOURCES +=$(libwnck_c_sources)
77libgpwidgets_la_LIBADD +=$(LIBWNCK_LIBS)
78pattern=/<!-- if libwnck -->/d;/<!-- endif -->/d;
79
80else
81
82pattern=/<!-- if libwnck -->/,/<!-- endif -->/d;
83
84endif
85
86CLEANFILES=gpwidgets.xml
87
88
89# Regenerate the widget catalog file: forcing a dependency on config.log
90# is an easy way to invalidate this file whenever a ./configure is recall
91gpwidgets.xml: gpwidgets.xml.in $(top_builddir)/config.log
92rm -f $@.tmp
93sed -e '$(pattern)' $< > $@.tmp
94mv $@.tmp $@

Archive Download this file

Branches

Tags