prepare for alpha1 release.
[mikachu/openbox.git] / openbox / Makefile.am
1 localedir=$(datadir)/locale
2 rcdir=$(datadir)/openbox
3 plugindir=$(libdir)/openbox/plugins
4 desktopfilesdir=$(datadir)/gnome/wm-properties
5
6 binary=openbox
7 url=http://openbox.org/
8
9 AM_CPPFLAGS=$(X_CFLAGS) $(SM_CFLAGS) $(XFT_CFLAGS) $(GLIB_CFLAGS) \
10             $(GMODULE_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) $(XML_CFLAGS) \
11             -DLOCALEDIR=\"$(localedir)\" \
12             -DPLUGINDIR=\"$(plugindir)\" \
13             -DRCDIR=\"$(rcdir)\" \
14             -DG_LOG_DOMAIN=\"Openbox\" \
15             -DBINARY=\"$(binary)\"
16
17 INCLUDES=-I..
18 LIBS=$(X_LIBS) $(SM_LIBS) $(XFT_LIBS) $(XINERAMA_LIBS) $(XKB_LIBS) \
19         $(XRANDR_LIBS) $(VIDMODE_LIBS) $(XSHAPE_LIBS) $(GLIB_LIBS) \
20         $(GMODULE_LIBS) $(LIBSN_LIBS) $(XML_LIBS) $(EFENCE_LIBS) \
21         @LIBS@ @LIBINTL@
22
23 bin_PROGRAMS=$(binary)
24
25 openbox_LDADD=-lobrender -L../render -lobparser -L../parser
26 openbox_LDFLAGS=-export-dynamic
27 openbox_SOURCES=\
28   action.h \
29   action.c \
30   client.h \
31   client.c \
32   config.h \
33   config.c \
34   extensions.h \
35   extensions.c \
36   focus.h \
37   focus.c \
38   frame.h \
39   frame.c \
40   grab.h \
41   grab.c \
42   menu.h \
43   menu.c \
44   menu_render.c \
45   openbox.h \
46   openbox.c \
47   framerender.h \
48   framerender.c \
49   plugin.h \
50   plugin.c \
51   prop.h \
52   prop.c \
53   screen.h \
54   screen.c \
55   stacking.h \
56   stacking.c \
57   dispatch.h \
58   dispatch.c \
59   event.h \
60   event.c \
61   group.h \
62   group.c \
63   timer.h \
64   timer.c \
65   xerror.h \
66   xerror.c \
67   moveresize.h \
68   moveresize.c \
69   startup.h \
70   startup.c \
71   popup.h \
72   popup.c \
73   dock.h \
74   dock.c \
75   window.h \
76   window.c \
77   gettext.h \
78   geom.h
79
80 desktopfiles_DATA=openbox.desktop
81
82 EXTRA_DIST=$(desktopfiles_DATA)
83
84 MAINTAINERCLEANFILES=Makefile.in
85
86 distclean-local:
87         $(RM) *\~ *.orig *.rej .\#*