Use new RrButton structure
[dana/obconf.git] / Makefile.am
1 SUBDIRS = po
2
3 localedir       = $(datadir)/locale
4 gladedir        = $(datadir)/obconf
5 pixmapdir       = $(datadir)/pixmaps
6 themedir        = $(datadir)/openbox/themes
7 desktopdir      = $(datadir)/applications
8 mimedir         = $(datadir)/mime
9 mimepkgdir      = $(datadir)/mime/packages
10 kdemimedir      = $(datadir)/mimelnk/application
11
12 AUTOMAKE_OPTIONS = subdir-objects foreign
13 ACLOCAL_AMFLAGS = -I m4
14
15 bin_PROGRAMS = \
16         src/obconf
17
18 src_obconf_CPPFLAGS = \
19         $(OPENBOX_CFLAGS) \
20         $(LIBSTARTUPNOTIFICATION_CFLAGS) \
21         $(GTK_CFLAGS) \
22         $(GLADE_CFLAGS) \
23         $(GDK_PIXBUF_CFLAGS) \
24         $(XML_CFLAGS) \
25         -DLOCALEDIR=\"$(localedir)\" \
26         -DPIXMAPDIR=\"$(pixmapdir)\" \
27         -DGLADEDIR=\"$(gladedir)\" \
28         -DTHEMEDIR=\"$(themedir)\" \
29         -DG_LOG_DOMAIN=\"Obconf\"
30 src_obconf_LDADD = \
31         $(OPENBOX_LIBS) \
32         $(LIBSTARTUPNOTIFICATION_LIBS) \
33         $(GTK_LIBS) \
34         $(GLADE_LIBS) \
35         $(GDK_PIXBUF_LIBS) \
36         $(LIBINTL) \
37         $(ZLIB_LIBS) \
38         $(LIBTAR_LIBS)
39 src_obconf_SOURCES = \
40         src/gettext.h \
41         src/about.c \
42         src/archive.c \
43         src/archive.h \
44         src/windows.c \
45         src/windows.h \
46         src/moveresize.c \
47         src/moveresize.h \
48         src/margins.c \
49         src/margins.h \
50         src/mouse.c \
51         src/mouse.h \
52         src/desktops.c \
53         src/desktops.h \
54         src/dock.h \
55         src/dock.c \
56         src/main.c \
57         src/main.h \
58         src/appearance.c \
59         src/appearance.h \
60         src/preview.c \
61         src/preview.h \
62         src/preview_update.c \
63         src/preview_update.h \
64         src/theme.c \
65         src/theme.h \
66         src/tree.c \
67         src/tree.h
68
69 dist_glade_DATA = \
70         src/obconf.glade \
71         pixmaps/video-display.png
72
73 dist_noinst_DATA = \
74         src/obconf.gladep
75
76 dist_desktop_DATA = \
77         obconf.desktop
78
79 dist_mimepkg_DATA = \
80         obconf.xml
81
82 dist_kdemime_DATA = \
83         x-openbox-theme.desktop
84
85 dist_pixmap_DATA = \
86         data/obconf.png
87
88 EXTRA_DIST = \
89         config.rpath \
90         README \
91         CHANGELOG \
92         COPYING \
93         AUTHORS \
94         m4/codeset.m4 \
95         m4/gettext.m4 \
96         m4/glibc21.m4 \
97         m4/glibc2.m4 \
98         m4/iconv.m4 \
99         m4/intdiv0.m4 \
100         m4/intmax.m4 \
101         m4/inttypes_h.m4 \
102         m4/inttypes-h.m4 \
103         m4/inttypes-pri.m4 \
104         m4/lcmessage.m4 \
105         m4/lib-ld.m4 \
106         m4/lib-link.m4 \
107         m4/lib-prefix.m4 \
108         m4/lock.m4 \
109         m4/longdouble.m4 \
110         m4/longlong.m4 \
111         m4/nls.m4 \
112         m4/po.m4 \
113         m4/printf-posix.m4 \
114         m4/progtest.m4 \
115         m4/signed.m4 \
116         m4/size_max.m4 \
117         m4/stdint_h.m4 \
118         m4/uintmax_t.m4 \
119         m4/ulonglong.m4 \
120         m4/visibility.m4 \
121         m4/wchar_t.m4 \
122         m4/wint_t.m4 \
123         m4/xsize.m4 \
124         data/video-display.svg \
125         config.rpath
126
127 # Packages need to run these...
128
129 install-data-hook:
130 #       update-mime-database $(mimedir)
131 #       update-desktop-database $(desktopdir)
132
133 uninstall-hook:
134 #       update-mime-database $(mimedir)
135 #       update-desktop-database $(desktopdir)