|
Last change
on this file since 928 was 924, checked in by garnier, 17 years ago |
|
add gl2ps library and changes to include it. See History file
|
|
File size:
1.6 KB
|
| Line | |
|---|
| 1 | # $Id: GNUmakefile,v 1.22 2009/02/16 15:31:05 lgarnier 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 += externals/gl2ps
|
|---|
| 46 | SUBDIRS += OpenGL
|
|---|
| 47 | SUBLIBS += G4OpenGL
|
|---|
| 48 | endif
|
|---|
| 49 | ifdef G4VIS_BUILD_OI_DRIVER
|
|---|
| 50 | SUBDIRS += externals/gl2ps
|
|---|
| 51 | SUBDIRS += OpenInventor
|
|---|
| 52 | SUBLIBS += G4OpenInventor
|
|---|
| 53 | endif
|
|---|
| 54 | endif #G4VIS_BUILD
|
|---|
| 55 |
|
|---|
| 56 | .PHONY: granular glob global clean
|
|---|
| 57 |
|
|---|
| 58 | glob global: granular
|
|---|
| 59 |
|
|---|
| 60 | granular:
|
|---|
| 61 | @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE)); done
|
|---|
| 62 |
|
|---|
| 63 | includes:
|
|---|
| 64 | @for dir in $(SUBDIRS); do (cd $$dir && $(MAKE) $@ ); done
|
|---|
| 65 |
|
|---|
| 66 | clean clean_libs:
|
|---|
| 67 | @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) $@); done
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.