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

Last change on this file since 3935 was 3749, checked in by gah, 7 years ago

fix Makefiles (one more time)

File size: 1.2 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
36FILES           = \
37                start_viz.sh
38
39all: $(SUBDIRS)
40
41$(SUBDIRS):
42        $(MAKE) -C $@ all
43
44install:
45        $(MKDIR_P) -m 0755 $(destdir)
46        for i in $(SUBDIRS) ; do \
47          $(MAKE) -C $$i install || exit 1 ; \
48        done
49        $(INSTALL) -m 0555 start_viz.sh $(bindir)/start_viz.sh
50        $(INSTALL) -m 0555 start_nanoscale.sh $(bindir)/start_nanoscale.sh
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        $(RM) -r autom4te.cache
62        $(RM) Makefile config.cache config.log config.status start_viz.sh start_nanoscale.sh *~
Note: See TracBrowser for help on using the repository browser.