source: trunk/Makefile.in @ 1082

Last change on this file since 1082 was 1047, checked in by gah, 16 years ago
File size: 1.3 KB
Line 
1
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
10srcdir          = @srcdir@
11
12INSTALL         = @INSTALL@
13SHELL           = @SHELL@
14RM              = rm -f
15VPATH           = $(srcdir)
16
17build_date      := $(shell date +%Y%m%d)
18machine         := $(shell uname -m | sed 's/\ //')
19os              := $(shell uname -s)
20bn              := $(shell basename $(prefix))
21
22tarfile         = rappture-$(os)-$(machine)-$(build_date).tar.gz
23
24ENABLE_GUI = @ENABLE_GUI@
25
26ifneq ($(ENABLE_GUI),)
27   GUI = gui
28endif
29
30.PHONY: src gui lang test examples lib
31
32all: src gui examples test lib lang
33
34src:
35        $(MAKE) -C src all
36gui:
37        $(MAKE) -C gui all
38lang:
39        $(MAKE) -C lang all
40lib:
41        $(MAKE) -C lib all
42examples:
43        $(MAKE) -C examples all
44test:
45        #$(MAKE) -C test all
46
47install:
48        $(MAKE) -C examples install
49        $(MAKE) -C gui install
50        $(MAKE) -C lib install
51        $(MAKE) -C src install
52        $(MAKE) -C lang install
53
54clean:
55        $(MAKE) -C examples clean
56        $(MAKE) -C gui clean
57        $(MAKE) -C lang clean
58        $(MAKE) -C lib clean
59        $(MAKE) -C src clean
60        $(MAKE) -C test clean
61
62distclean:
63        $(MAKE) -C examples distclean
64        $(MAKE) -C gui distclean
65        $(MAKE) -C lang distclean
66        $(MAKE) -C lib distclean
67        $(MAKE) -C src distclean
68        $(MAKE) -C test distclean
69        $(RM) Makefile config.status config.log  *~
70
71package:
72        tar -C $(prefix) -czlf $(tarfile) .
Note: See TracBrowser for help on using the repository browser.