source: trunk/packages/vizservers/Makefile.in @ 4052

Last change on this file since 4052 was 4052, checked in by ldelgass, 6 years ago

remove old start_viz script from Makefile.in

File size: 1.1 KB
Line 
1
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
10srcdir          = @srcdir@
11
12destdir         = $(prefix)/bin
13
14INSTALL         = @INSTALL@
15MKDIR_P         = @MKDIR_P@
16SHELL           = @SHELL@
17RM              = rm -f
18VPATH           = $(srcdir)
19
20SUBDIRS         = @SUBDIRS@
21VTK_LIB_DIR     = @VTK_LIB_DIR@
22CG_LIB_DIR      = @CG_LIB_DIR@
23
24SUBDIRS         = nanoscale pymolproxy
25
26ifneq ($(VTK_LIB_DIR),)
27  SUBDIRS += vtkvis
28endif
29
30ifneq ($(CG_LIB_DIR),)
31  SUBDIRS += nanovis
32endif
33
34.PHONY: all install clean distclean $(SUBDIRS)
35
36all: $(SUBDIRS)
37
38$(SUBDIRS):
39        $(MAKE) -C $@ all
40
41install:
42        $(MKDIR_P) -m 0755 $(destdir)
43        for i in $(SUBDIRS) ; do \
44          $(MAKE) -C $$i install || exit 1 ; \
45        done
46        $(INSTALL) -m 0555 start_nanoscale.sh $(bindir)/start_nanoscale.sh
47
48clean:
49        for i in $(SUBDIRS) ; do \
50          $(MAKE) -C $$i clean ; \
51        done
52
53distclean:
54        for i in $(SUBDIRS) ; do \
55          $(MAKE) -C $$i distclean ; \
56        done
57        $(RM) -r autom4te.cache
58        $(RM) Makefile config.cache config.log config.status start_nanoscale.sh *~
Note: See TracBrowser for help on using the repository browser.