summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am40
1 files changed, 15 insertions, 25 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 70c7013a..72645d2f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,9 +8,12 @@ CXXFLAGS=`pkg-config --cflags xft` @CXXFLAGS@ \
LDFLAGS=`pkg-config --libs xft`
+INCLUDES= -I../otk
+
bin_PROGRAMS= openbox
-openbox_SOURCES= basedisplay.cc color.cc configuration.cc font.cc gccache.cc image.cc imagecontrol.cc screen.cc texture.cc timer.cc util.cc window.cc workspace.cc xatom.cc blackbox.cc main.cc
+openbox_LDADD=../otk/libotk.a
+openbox_SOURCES= basedisplay.cc configuration.cc screen.cc timer.cc util.cc window.cc workspace.cc xatom.cc blackbox.cc main.cc
MAINTAINERCLEANFILES= Makefile.in
@@ -19,37 +22,24 @@ distclean-local:
# local dependencies
basedisplay.o: basedisplay.cc basedisplay.hh timer.hh util.hh \
- gccache.hh color.hh
+ ../otk/gccache.hh ../otk/color.hh
blackbox.o: blackbox.cc blackbox.hh basedisplay.hh timer.hh util.hh \
- configuration.hh xatom.hh gccache.hh color.hh image.hh screen.hh \
- texture.hh workspace.hh window.hh
-color.o: color.cc color.hh basedisplay.hh timer.hh util.hh
+ configuration.hh xatom.hh ../otk/gccache.hh ../otk/color.hh ../otk/image.hh screen.hh \
+ ../otk/texture.hh workspace.hh window.hh
configuration.o: configuration.cc configuration.hh util.hh
-font.o: font.cc font.hh screen.hh color.hh texture.hh util.hh image.hh \
- timer.hh basedisplay.hh workspace.hh xatom.hh blackbox.hh \
- configuration.hh gccache.hh
-gccache.o: gccache.cc gccache.hh basedisplay.hh timer.hh util.hh \
- color.hh
-image.o: image.cc blackbox.hh basedisplay.hh timer.hh util.hh \
- configuration.hh xatom.hh gccache.hh color.hh image.hh texture.hh
-imagecontrol.o: imagecontrol.cc blackbox.hh basedisplay.hh timer.hh \
- util.hh configuration.hh xatom.hh color.hh image.hh texture.hh
main.o: main.cc ../version.h blackbox.hh basedisplay.hh timer.hh \
util.hh configuration.hh xatom.hh
screen.o: screen.cc blackbox.hh basedisplay.hh timer.hh util.hh \
- configuration.hh xatom.hh font.hh screen.hh color.hh texture.hh \
- image.hh workspace.hh gccache.hh window.hh
-texture.o: texture.cc texture.hh color.hh util.hh basedisplay.hh \
- timer.hh image.hh screen.hh workspace.hh xatom.hh blackbox.hh \
- configuration.hh
+ configuration.hh xatom.hh ../otk/font.hh screen.hh ../otk/color.hh ../otk/texture.hh \
+ ../otk/image.hh workspace.hh ../otk/gccache.hh window.hh
timer.o: timer.cc basedisplay.hh timer.hh util.hh
util.o: util.cc util.hh
window.o: window.cc blackbox.hh basedisplay.hh timer.hh util.hh \
- configuration.hh xatom.hh font.hh screen.hh color.hh texture.hh \
- image.hh workspace.hh gccache.hh window.hh
+ configuration.hh xatom.hh ../otk/font.hh screen.hh ../otk/color.hh ../otk/texture.hh \
+ ../otk/image.hh workspace.hh ../otk/gccache.hh window.hh
workspace.o: workspace.cc blackbox.hh basedisplay.hh timer.hh util.hh \
- configuration.hh xatom.hh font.hh screen.hh color.hh texture.hh \
- image.hh workspace.hh window.hh
-xatom.o: xatom.cc ../config.h xatom.hh screen.hh color.hh texture.hh \
- util.hh image.hh timer.hh basedisplay.hh workspace.hh blackbox.hh \
+ configuration.hh xatom.hh ../otk/font.hh screen.hh ../otk/color.hh ../otk/texture.hh \
+ ../otk/image.hh workspace.hh window.hh
+xatom.o: xatom.cc ../config.h xatom.hh screen.hh ../otk/color.hh ../otk/texture.hh \
+ util.hh ../otk/image.hh timer.hh basedisplay.hh workspace.hh blackbox.hh \
configuration.hh