root/Makefile.in

Revision 8dfafdd3df12e09ce36b9d0018fbf3718b14c9a5, 1.1 kB (checked in by dsmith <dsmith@…>, 5 years ago)

Added config.h header and with-python configure option

git-svn-id: http://abstrakraft.org/cwiid/svn/trunk@137 918edb2d-ff29-0410-9de2-eb38e7f22bc7

  • Property mode set to 100644
Line 
1#Copyright (C) 2007 L. Donnie Smith
2
3include @top_builddir@/defs.mak
4
5LIB_DIRS = libcwiid
6BIN_DIRS = wmgui wminput lswm
7DOC_DIRS = man doc
8ifdef PYTHON
9BIND_DIRS = python
10endif
11
12SUB_DIRS = $(LIB_DIRS) $(BIN_DIRS) $(DOC_DIRS) $(BIND_DIRS) wmdemo
13
14all install clean distclean uninstall: TARGET += $(MAKECMDGOALS)
15
16all install clean distclean uninstall: $(BIN_DIRS) $(LIB_DIRS) $(BIND_DIRS)
17
18install uninstall distclean: $(DOC_DIRS)
19
20all clean distclean: wmdemo
21
22ifneq ($(MAKECMDGOALS),clean)
23ifneq ($(MAKECMDGOALS),distclean)
24$(BIN_DIRS) $(BIND_DIRS): $(LIB_DIRS)
25endif
26endif
27
28ifeq ($(MAKECMDGOALS),install)
29$(BIN_DIRS) $(LIB_DIRS): $(CWIID_CONFIG_DIR) $(CWIID_PLUGINS_DIR)
30endif
31
32$(SUB_DIRS):
33        $(MAKE) $(TARGET) -C $@
34
35$(CWIID_CONFIG_DIR):
36        install -d $(CWIID_CONFIG_DIR)
37
38$(CWIID_PLUGINS_DIR):
39        install -d $(CWIID_PLUGINS_DIR)
40
41distclean:
42        rm -rf Makefile config.log config.status autom4te.cache \
43                defs.mak $(COMMON)/include/lib.mak $(COMMON)/include/config.h
44
45uninstall:
46        rm -r $(CWIID_PLUGINS_DIR); true
47
48uninstall_config:
49        rm -rf $(CWIID_CONFIG_DIR)
50
51.PHONY: all install clean distclean uninstall uninstall_config $(SUB_DIRS)
52
53.NOTPARALLEL:
Note: See TracBrowser for help on using the browser.