add theme previews! yay syscrash!
[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
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/main.c \
42         src/main.h \
43         src/handlers.c \
44         src/handlers.h \
45         src/preview.c \
46         src/preview.h \
47         src/theme.c \
48         src/theme.h \
49         src/tree.c \
50         src/tree.h
51
52 dist_glade_DATA = \
53         src/obconf.glade
54
55 dist_noinst_DATA = \
56         src/obconf.gladep
57
58 dist_desktop_DATA = \
59         obconf.desktop
60
61 dist_mimepkg_DATA = \
62         obconf.xml
63
64 dist_kdemime_DATA = \
65         x-openbox-theme.desktop
66
67 EXTRA_DIST = \
68         config.rpath \
69         README \
70         COPYING \
71         AUTHORS \
72         m4/codeset.m4 \
73         m4/gettext.m4 \
74         m4/glibc21.m4 \
75         m4/glibc2.m4 \
76         m4/iconv.m4 \
77         m4/intdiv0.m4 \
78         m4/intmax.m4 \
79         m4/inttypes_h.m4 \
80         m4/inttypes-h.m4 \
81         m4/inttypes-pri.m4 \
82         m4/lcmessage.m4 \
83         m4/lib-ld.m4 \
84         m4/lib-link.m4 \
85         m4/lib-prefix.m4 \
86         m4/lock.m4 \
87         m4/longdouble.m4 \
88         m4/longlong.m4 \
89         m4/nls.m4 \
90         m4/po.m4 \
91         m4/printf-posix.m4 \
92         m4/progtest.m4 \
93         m4/signed.m4 \
94         m4/size_max.m4 \
95         m4/stdint_h.m4 \
96         m4/uintmax_t.m4 \
97         m4/ulonglong.m4 \
98         m4/visibility.m4 \
99         m4/wchar_t.m4 \
100         m4/wint_t.m4 \
101         m4/xsize.m4 \
102         debian/changelog.in \
103         debian/compat \
104         debian/control \
105         debian/menu \
106         debian/rules \
107         config.rpath
108
109 # Packages need to run these...
110
111 install-data-hook:
112 #       update-mime-database $(mimedir)
113 #       update-desktop-database $(desktopdir)
114
115 uninstall-hook:
116 #       update-mime-database $(mimedir)
117 #       update-desktop-database $(desktopdir)