|
Last change
on this file since 811 was 777, checked in by garnier, 18 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 |
|
|---|
| 7 | MAKEFLAGS= --no-print-directory
|
|---|
| 8 |
|
|---|
| 9 | name := G4visualization
|
|---|
| 10 |
|
|---|
| 11 | ifndef G4INSTALL
|
|---|
| 12 | G4INSTALL = ../..
|
|---|
| 13 | endif
|
|---|
| 14 |
|
|---|
| 15 | include $(G4INSTALL)/config/architecture.gmk
|
|---|
| 16 | include $(G4INSTALL)/config/G4VIS_BUILD.gmk
|
|---|
| 17 | include $(G4INSTALL)/config/interactivity.gmk
|
|---|
| 18 |
|
|---|
| 19 | SUBDIRS := modeling
|
|---|
| 20 | SUBLIBS := G4modeling
|
|---|
| 21 |
|
|---|
| 22 | ifdef G4LIB_BUILD_ZLIB
|
|---|
| 23 | SUBDIRS += externals/zlib
|
|---|
| 24 | SUBLIBS += G4zlib
|
|---|
| 25 | endif
|
|---|
| 26 |
|
|---|
| 27 | # Libraries which can be used without external packages or libraries...
|
|---|
| 28 | ifdef 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 |
|
|---|
| 44 | ifdef G4VIS_BUILD_OPENGL_DRIVER
|
|---|
| 45 | SUBDIRS += OpenGL
|
|---|
| 46 | SUBLIBS += G4OpenGL
|
|---|
| 47 | endif
|
|---|
| 48 | ifdef G4VIS_BUILD_OI_DRIVER
|
|---|
| 49 | SUBDIRS += OpenInventor
|
|---|
| 50 | SUBLIBS += G4OpenInventor
|
|---|
| 51 | endif
|
|---|
| 52 | endif #G4VIS_BUILD
|
|---|
| 53 |
|
|---|
| 54 | .PHONY: granular glob global clean
|
|---|
| 55 |
|
|---|
| 56 | glob global: granular
|
|---|
| 57 |
|
|---|
| 58 | granular:
|
|---|
| 59 | @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE)); done
|
|---|
| 60 |
|
|---|
| 61 | includes:
|
|---|
| 62 | @for dir in $(SUBDIRS); do (cd $$dir && $(MAKE) $@ ); done
|
|---|
| 63 |
|
|---|
| 64 | clean clean_libs:
|
|---|
| 65 | @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) $@); done
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.