source: trunk/Makefile.in @ 1044

Last change on this file since 1044 was 1018, checked in by gah, 13 years ago

Massive changes: New directory/file layout

File size: 1.2 KB
RevLine 
[512]1
[942]2bindir          = @bindir@
[951]3datadir         = @datadir@
4datarootdir     = @datarootdir@
[708]5exec_prefix     = @exec_prefix@
[942]6includedir      = @includedir@
[708]7libdir          = @libdir@
8mandir          = @mandir@
[942]9prefix          = @prefix@
[1018]10srcdir          = @srcdir@
[708]11
[942]12INSTALL         = @INSTALL@
[1018]13SHELL           = @SHELL@
14RM              = rm -f
15VPATH           = $(srcdir)
[708]16
[942]17build_date      := $(shell date +%Y%m%d)
18machine         := $(shell uname -m | sed 's/\ //')
19os              := $(shell uname -s)
20bn              := $(shell basename $(prefix))
[512]21
[1018]22tarfile         = rappture-$(os)-$(machine)-$(build_date).tar.gz
[498]23
[1018]24ENABLE_GUI = @ENABLE_GUI@
[489]25
[1018]26ifneq ($(ENABLE_GUI),)
27   GUI = gui
[718]28endif
[489]29
[1018]30.PHONY: src gui lang test examples
[498]31
[1018]32all: src gui lang examples test
[511]33
[1018]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
[511]44
[1018]45install:
46        $(MAKE) -C examples install
47        $(MAKE) -C gui install
48        $(MAKE) -C lang install
49        $(MAKE) -C src install
[489]50
51clean:
[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]58distclean:
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
66package:
67        tar -C $(prefix) -czf $(tarfile) .
Note: See TracBrowser for help on using the repository browser.