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