8 iconslayoutsdir = ${pkgdatadir}/icons/layouts
9 dist_iconslayouts_DATA =
13 LAYOUTS += layouts/tile.c
14 LAYOUTS += layouts/tile.h
16 LAYOUTS += layouts/floating.c
17 LAYOUTS += layouts/floating.h
19 LAYOUTS += layouts/max.c
20 LAYOUTS += layouts/max.h
22 LAYOUTS += layouts/fibonacci.c
23 LAYOUTS += layouts/fibonacci.h
27 WIDGETS += widgets/taglist.c
28 WIDGETS += widgets/layoutinfo.c
29 WIDGETS += widgets/textbox.c
30 WIDGETS += widgets/focustitle.c
31 WIDGETS += widgets/iconbox.c
32 WIDGETS += widgets/netwmicon.c
33 WIDGETS += widgets/progressbar.c
34 WIDGETS += widgets/tasklist.c
35 WIDGETS += widgets/graph.c
38 EXTRA_DIST += awesomerc
50 CLEANFILES += defconfig.h
51 BUILT_SOURCES += defconfig.h
52 defconfig.h: $(srcdir)/awesomerc
53 @echo "generating defconfig.h from $(srcdir)/awesomerc"
54 @echo "#define AWESOME_DEFAULT_CONFIG \\" > defconfig.h
55 @echo -n "\"" >> defconfig.h
56 @$(SED) 's,\\,\\\\,g;s/$$/ \\/;s/"/\\"/g' "$(srcdir)/awesomerc" >> defconfig.h
57 @echo "\"" >> defconfig.h
60 # If you are using gcc, and want to deactivate this default set of
61 # compile flags, run make with AWESOME_CFLAGS="".
62 AWESOME_CFLAGS = -std=gnu99 -ggdb3 -pipe \
64 -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare \
65 -Wunused -Winit-self -Wpointer-arith -Wredundant-decls \
66 -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn
68 AM_CPPFLAGS = $(XFT_CFLAGS) $(X_CFLAGS) $(CAIRO_CFLAGS) $(CONFUSE_CFLAGS) $(XRANDR_CFLAGS) $(XINERAMA_CFLAGS) $(AWESOME_CFLAGS)
70 bin_PROGRAMS += awesome
83 statusbar.c statusbar.h \
88 awesome-client-common.c \
91 awesome_SOURCES += $(LAYOUTS)
92 awesome_SOURCES += $(WIDGETS)
93 awesome_LDADD = $(XFT_LIBS) $(X_LIBS) $(CAIRO_LIBS) $(CONFUSE_LIBS) $(XRANDR_LIBS) $(XINERAMA_LIBS)
95 bin_PROGRAMS += awesome-client
96 awesome_client_SOURCES = \
97 awesome-client.c awesome-client.h \
98 awesome-client-common.c \
102 EXTRA_DIST += awesome.1.txt
103 man_MANS += awesome.1
105 EXTRA_DIST += awesome-client.1.txt
106 man_MANS += awesome-client.1
108 EXTRA_DIST += awesomerc.1.txt
109 man_MANS += awesomerc.1
111 dist_iconslayouts_DATA += icons/layouts/dwindle.png
112 dist_iconslayouts_DATA += icons/layouts/dwindlew.png
113 dist_iconslayouts_DATA += icons/layouts/floating.png
114 dist_iconslayouts_DATA += icons/layouts/floatingw.png
115 dist_iconslayouts_DATA += icons/layouts/max.png
116 dist_iconslayouts_DATA += icons/layouts/maxw.png
117 dist_iconslayouts_DATA += icons/layouts/spiral.png
118 dist_iconslayouts_DATA += icons/layouts/spiralw.png
119 dist_iconslayouts_DATA += icons/layouts/tile.png
120 dist_iconslayouts_DATA += icons/layouts/tileleft.png
121 dist_iconslayouts_DATA += icons/layouts/tileleftw.png
122 dist_iconslayouts_DATA += icons/layouts/tilew.png
125 rm -f awesome*.1 awesome*.1.xml
127 SUFFIXES += .1.xml .1
133 SUFFIXES += .1.txt .1.xml
136 $(ASCIIDOC) -d manpage -b docbook -o $@ $<
140 EXTRA_DIST += awesome.doxygen.in
142 # Workaround for buggy pre-1.5.3 doxygen.
144 # Some pre-1.5.3 versions of doxygen segfault on reading these lines.
145 # Call make with DOXYGEN_SEGFAULT=-segfault as a workaround.
146 CLEANFILES += awesome.doxygen-segfault
147 awesome.doxygen-segfault: awesome.doxygen
148 $(SED) '/^QT_AUTOBRIEF/d; /^EXTRACT_ANON_NSPACES/d; /^HTML_DYNAMIC_SECTIONS/d' \
149 < awesome.doxygen > awesome.doxygen-segfault
152 doc: doc/html/index.html
154 doc/html/index.html: awesome.doxygen$(DOXYGEN_SEGFAULT) $(awesome_SOURCES) $(awesome_client_SOURCES)
155 $(DOXYGEN) awesome.doxygen$(DOXYGEN_SEGFAULT)