8 iconslayoutsdir = ${pkgdatadir}/icons/layouts
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
37 EXTRA_DIST += awesomerc
49 CLEANFILES += defconfig.h
50 BUILT_SOURCES += defconfig.h
51 defconfig.h: $(srcdir)/awesomerc
52 @echo "generating defconfig.h from $(srcdir)/awesomerc"
53 @echo "#define AWESOME_DEFAULT_CONFIG \\" > defconfig.h
54 @echo -n "\"" >> defconfig.h
55 @$(SED) 's,\\,\\\\,g;s/$$/ \\/;s/"/\\"/g' "$(srcdir)/awesomerc" >> defconfig.h
56 @echo "\"" >> defconfig.h
59 # If you are using gcc, and want to deactivate this default set of
60 # compile flags, run make with AWESOME_CFLAGS="".
61 AWESOME_CFLAGS = -std=gnu99 -ggdb3 -pipe \
63 -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare \
64 -Wunused -Winit-self -Wpointer-arith -Wredundant-decls \
65 -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn
67 AM_CPPFLAGS = $(XFT_CFLAGS) $(X_CFLAGS) $(CAIRO_CFLAGS) $(CONFUSE_CFLAGS) $(XRANDR_CFLAGS) $(XINERAMA_CFLAGS) $(AWESOME_CFLAGS)
69 bin_PROGRAMS += awesome
82 statusbar.c statusbar.h \
87 awesome-client-common.c \
90 awesome_SOURCES += $(LAYOUTS)
91 awesome_SOURCES += $(WIDGETS)
92 awesome_LDADD = $(XFT_LIBS) $(X_LIBS) $(CAIRO_LIBS) $(CONFUSE_LIBS) $(XRANDR_LIBS) $(XINERAMA_LIBS)
94 bin_PROGRAMS += awesome-client
95 awesome_client_SOURCES = \
96 awesome-client.c awesome-client.h \
97 awesome-client-common.c \
101 EXTRA_DIST += awesome.1.txt
102 man_MANS += awesome.1
104 EXTRA_DIST += awesome-client.1.txt
105 man_MANS += awesome-client.1
107 EXTRA_DIST += awesomerc.1.txt
108 man_MANS += awesomerc.1
110 iconslayouts_DATA += icons/layouts/dwindle.png
111 iconslayouts_DATA += icons/layouts/dwindlew.png
112 iconslayouts_DATA += icons/layouts/floating.png
113 iconslayouts_DATA += icons/layouts/floatingw.png
114 iconslayouts_DATA += icons/layouts/max.png
115 iconslayouts_DATA += icons/layouts/maxw.png
116 iconslayouts_DATA += icons/layouts/spiral.png
117 iconslayouts_DATA += icons/layouts/spiralw.png
118 iconslayouts_DATA += icons/layouts/tile.png
119 iconslayouts_DATA += icons/layouts/tileleft.png
120 iconslayouts_DATA += icons/layouts/tileleftw.png
121 iconslayouts_DATA += icons/layouts/tilew.png
124 rm -f awesome*.1 awesome*.1.xml
126 SUFFIXES += .1.xml .1
132 SUFFIXES += .1.txt .1.xml
135 $(ASCIIDOC) -d manpage -b docbook -o $@ $<
139 EXTRA_DIST += awesome.doxygen.in
141 # Workaround for buggy pre-1.5.3 doxygen.
143 # Some pre-1.5.3 versions of doxygen segfault on reading these lines.
144 # Call make with DOXYGEN_SEGFAULT=-segfault as a workaround.
145 CLEANFILES += awesome.doxygen-segfault
146 awesome.doxygen-segfault: awesome.doxygen
147 $(SED) '/^QT_AUTOBRIEF/d; /^EXTRACT_ANON_NSPACES/d; /^HTML_DYNAMIC_SECTIONS/d' \
148 < awesome.doxygen > awesome.doxygen-segfault
151 doc: doc/html/index.html
153 doc/html/index.html: awesome.doxygen$(DOXYGEN_SEGFAULT) $(awesome_SOURCES) $(awesome_client_SOURCES)
154 $(DOXYGEN) awesome.doxygen$(DOXYGEN_SEGFAULT)