source: trunk/gui/Makefile.in @ 1614

Last change on this file since 1614 was 1082, checked in by gah, 16 years ago

update makefile with mkdir_p

File size: 1.1 KB
RevLine 
[503]1
2srcdir          = @srcdir@
3prefix          = @prefix@
4exec_prefix     = @exec_prefix@
5bindir          = @bindir@
6libdir          = @libdir@
7datadir         = @datadir@
[951]8datarootdir     = @datarootdir@
[503]9mandir          = @mandir@
10includedir      = @includedir@
[158]11
[1018]12SHELL           = @SHELL@
[503]13INSTALL         = @INSTALL@
[1082]14MKDIR_P         = @MKDIR_P@
[1018]15VPATH           = $(srcdir)
16TCLSH           = @TCLSH@
[158]17
[1018]18PACKAGE_VERSION = @PACKAGE_VERSION@
[158]19
[1018]20version         = $(PACKAGE_VERSION)
21name            = RapptureGUI$(version)
[158]22
[1018]23destdir         = $(libdir)/$(name)
[158]24
[1018]25FILES           = \
26                pkgIndex.tcl
[158]27
[1018]28.PHONY: src scripts apps
[158]29
[1018]30all: scripts apps
[158]31
[1018]32scripts:
33        $(MAKE) -C scripts all
34src:
35        $(MAKE) -C all
36apps:
37        $(MAKE) -C apps all
[158]38
[1018]39install: install_scripts install_apps
[1082]40        $(MKDIR_P) $(destdir)
[1018]41        @for i in $(FILES); do \
42            echo "Installing $$i" ; \
43            $(INSTALL) -m 444 $$i $(destdir) ; \
44        done
45        $(INSTALL) -m 444 pkgIndex.tcl $(destdir)
[158]46
[1018]47install_scripts: scripts
48        $(MAKE) -C scripts install
49install_apps: apps
50        $(MAKE) -C apps install
[503]51
[1018]52test:
53        #$(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS)
[503]54
55clean:
[1018]56        $(MAKE) -C scripts clean
57        $(MAKE) -C apps clean
[158]58
[1018]59distclean:
60        $(MAKE) -C scripts distclean
61        $(MAKE) -C apps distclean
62        $(RM) Makefile pkgIndex.tcl
63        $(RM) config.cache config.log config.status
[158]64
Note: See TracBrowser for help on using the repository browser.