source: tags/before-XString-Modif/GNUmakefile @ 1267

Last change on this file since 1267 was 777, checked in by garnier, 16 years ago

r792@wl-72126: garnier | 2008-04-17 18:09:44 +0200
modif pour test sur un dossier moc

File size: 1.5 KB
Line 
1# $Id: GNUmakefile,v 1.21 2005/06/04 14:53:18 gcosmo Exp $
2# -----------------------------------------------------------------------
3# GNUmakefile for visualization and modeling.  John Allison, 5/7/95.
4# Modeling is always made.  Others by environment.  John Allison  4/7/98.
5# -----------------------------------------------------------------------
6
7MAKEFLAGS= --no-print-directory
8
9name := G4visualization
10
11ifndef G4INSTALL
12  G4INSTALL = ../..
13endif
14
15include $(G4INSTALL)/config/architecture.gmk
16include $(G4INSTALL)/config/G4VIS_BUILD.gmk
17include $(G4INSTALL)/config/interactivity.gmk
18
19SUBDIRS := modeling
20SUBLIBS := G4modeling
21
22ifdef G4LIB_BUILD_ZLIB
23  SUBDIRS += externals/zlib
24  SUBLIBS += G4zlib
25endif
26
27# Libraries which can be used without external packages or libraries...
28ifdef G4VIS_BUILD
29  SUBDIRS += management
30  SUBLIBS += G4vis_management
31  SUBDIRS += FukuiRenderer
32  SUBLIBS += G4FR
33  SUBDIRS += HepRep
34  SUBLIBS += G4visHepRep
35  SUBDIRS += RayTracer
36  SUBLIBS += G4RayTracer
37  SUBDIRS += VRML
38  SUBLIBS += G4VRML
39  SUBDIRS += Tree
40  SUBLIBS += G4Tree
41  SUBDIRS += XXX
42  SUBLIBS += G4visXXX
43
44ifdef G4VIS_BUILD_OPENGL_DRIVER
45  SUBDIRS += OpenGL
46  SUBLIBS += G4OpenGL
47endif
48ifdef G4VIS_BUILD_OI_DRIVER
49  SUBDIRS += OpenInventor
50  SUBLIBS += G4OpenInventor
51endif
52endif #G4VIS_BUILD
53
54.PHONY: granular glob global clean
55
56glob global: granular
57
58granular:
59        @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE)); done
60
61includes:
62        @for dir in $(SUBDIRS); do (cd $$dir && $(MAKE) $@ ); done
63
64clean clean_libs:
65        @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) $@); done
Note: See TracBrowser for help on using the repository browser.