source: branches/r9/pkgs/Makefile.in @ 4870

Last change on this file since 4870 was 4870, checked in by gah, 6 years ago
File size: 1.0 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)
16HAVE_VTK        = @HAVE_VTK@
17
18SUBDIRS         = \
19                builder \
20                tester \
21                objects \
22                p2p \
23                diffview \
24                hotspot \
25                listbox \
26                placard \
27                readpoints \
28                squeezer \
29                system
30
31ifeq ($(HAVE_VTK),yes)
32   SUBDIRS += DicomToVtk DxToVtk PdbToVtk
33endif
34
35.PHONY: all install test clean distclean $(SUBDIRS)
36
37all:
38        for i in $(SUBDIRS) ; do \
39          $(MAKE) -C $$i all || exit 1 ;\
40        done
41
42install:
43        $(MKDIR_P) -m 0755 $(destdir)
44        for i in $(FILES); do \
45            echo "Installing $$i" ; \
46            $(INSTALL) -m 0444 $$i $(destdir) ; \
47        done
48        for i in $(SUBDIRS) ; do \
49          $(MAKE) -C $$i install || exit 1 ;\
50        done
51
52clean:
53        for i in $(SUBDIRS) ; do \
54          $(MAKE) -C $$i clean ;\
55        done
56
57distclean:
58        for i in $(SUBDIRS) ; do \
59          $(MAKE) -C $$i distclean ;\
60        done
61
Note: See TracBrowser for help on using the repository browser.