source: tags/1.1-pre/Makefile.in @ 3416

Last change on this file since 3416 was 1018, checked in by gah, 16 years ago

Massive changes: New directory/file layout

File size: 1.2 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
31
32all: src gui lang examples test
33
34src:
35        $(MAKE) -C src all
36gui:
37        $(MAKE) -C gui all
38lang:
39        $(MAKE) -C lang all
40examples:
41        $(MAKE) -C examples all
42test:
43        #$(MAKE) -C test all
44
45install:
46        $(MAKE) -C examples install
47        $(MAKE) -C gui install
48        $(MAKE) -C lang install
49        $(MAKE) -C src install
50
51clean:
52        $(MAKE) -C examples clean
53        $(MAKE) -C gui clean
54        $(MAKE) -C lang clean
55        $(MAKE) -C src clean
56        $(MAKE) -C test clean
57
58distclean:
59        $(MAKE) -C examples distclean
60        $(MAKE) -C gui distclean
61        $(MAKE) -C lang distclean
62        $(MAKE) -C src distclean
63        $(MAKE) -C test distclean
64        $(RM) Makefile config.status config.log  *~
65
66package:
67        tar -C $(prefix) -czf $(tarfile) .
Note: See TracBrowser for help on using the repository browser.