add the margins tab
[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/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
70 dist_noinst_DATA = \
71         src/obconf.gladep
72
73 dist_desktop_DATA = \
74         obconf.desktop
75
76 dist_mimepkg_DATA = \
77         obconf.xml
78
79 dist_kdemime_DATA = \
80         x-openbox-theme.desktop
81
82 EXTRA_DIST = \
83         config.rpath \
84         README \
85         COPYING \
86         AUTHORS \
87         m4/codeset.m4 \
88         m4/gettext.m4 \
89         m4/glibc21.m4 \
90         m4/glibc2.m4 \
91         m4/iconv.m4 \
92         m4/intdiv0.m4 \
93         m4/intmax.m4 \
94         m4/inttypes_h.m4 \
95         m4/inttypes-h.m4 \
96         m4/inttypes-pri.m4 \
97         m4/lcmessage.m4 \
98         m4/lib-ld.m4 \
99         m4/lib-link.m4 \
100         m4/lib-prefix.m4 \
101         m4/lock.m4 \
102         m4/longdouble.m4 \
103         m4/longlong.m4 \
104         m4/nls.m4 \
105         m4/po.m4 \
106         m4/printf-posix.m4 \
107         m4/progtest.m4 \
108         m4/signed.m4 \
109         m4/size_max.m4 \
110         m4/stdint_h.m4 \
111         m4/uintmax_t.m4 \
112         m4/ulonglong.m4 \
113         m4/visibility.m4 \
114         m4/wchar_t.m4 \
115         m4/wint_t.m4 \
116         m4/xsize.m4 \
117         config.rpath
118
119 # Packages need to run these...
120
121 install-data-hook:
122 #       update-mime-database $(mimedir)
123 #       update-desktop-database $(desktopdir)
124
125 uninstall-hook:
126 #       update-mime-database $(mimedir)
127 #       update-desktop-database $(desktopdir)