]> icculus.org git repositories - dana/obconf.git/blob - Makefile.am
possibly avoid a race with the path
[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/margins.c \
47         src/margins.h \
48         src/mouse.c \
49         src/mouse.h \
50         src/desktops.c \
51         src/desktops.h \
52         src/dock.h \
53         src/dock.c \
54         src/main.c \
55         src/main.h \
56         src/appearance.c \
57         src/appearance.h \
58         src/preview.c \
59         src/preview.h \
60         src/preview_update.c \
61         src/preview_update.h \
62         src/theme.c \
63         src/theme.h \
64         src/tree.c \
65         src/tree.h
66
67 dist_glade_DATA = \
68         src/obconf.glade \
69         pixmaps/video-display.png
70
71 dist_noinst_DATA = \
72         src/obconf.gladep
73
74 dist_desktop_DATA = \
75         obconf.desktop
76
77 dist_mimepkg_DATA = \
78         obconf.xml
79
80 dist_kdemime_DATA = \
81         x-openbox-theme.desktop
82
83 EXTRA_DIST = \
84         config.rpath \
85         README \
86         CHANGELOG \
87         COPYING \
88         AUTHORS \
89         m4/codeset.m4 \
90         m4/gettext.m4 \
91         m4/glibc21.m4 \
92         m4/glibc2.m4 \
93         m4/iconv.m4 \
94         m4/intdiv0.m4 \
95         m4/intmax.m4 \
96         m4/inttypes_h.m4 \
97         m4/inttypes-h.m4 \
98         m4/inttypes-pri.m4 \
99         m4/lcmessage.m4 \
100         m4/lib-ld.m4 \
101         m4/lib-link.m4 \
102         m4/lib-prefix.m4 \
103         m4/lock.m4 \
104         m4/longdouble.m4 \
105         m4/longlong.m4 \
106         m4/nls.m4 \
107         m4/po.m4 \
108         m4/printf-posix.m4 \
109         m4/progtest.m4 \
110         m4/signed.m4 \
111         m4/size_max.m4 \
112         m4/stdint_h.m4 \
113         m4/uintmax_t.m4 \
114         m4/ulonglong.m4 \
115         m4/visibility.m4 \
116         m4/wchar_t.m4 \
117         m4/wint_t.m4 \
118         m4/xsize.m4 \
119         data/video-display.svg \
120         config.rpath
121
122 # Packages need to run these...
123
124 install-data-hook:
125 #       update-mime-database $(mimedir)
126 #       update-desktop-database $(desktopdir)
127
128 uninstall-hook:
129 #       update-mime-database $(mimedir)
130 #       update-desktop-database $(desktopdir)