75 lines
1.7 KiB
Makefile
75 lines
1.7 KiB
Makefile
# $Id: GNUmakefile,v 2.4 1998/07/07 16:25:07 allison Exp $
|
|
# -----------------------------------------------------------------------
|
|
# GNUmakefile for visualization and modeling. John Allison, 5/7/95.
|
|
# Modeling is always made. Others by environment. John Allison 4/7/98.
|
|
# -----------------------------------------------------------------------
|
|
|
|
MAKEFLAGS= --no-print-directory
|
|
|
|
name := G4visualization
|
|
|
|
ifndef G4INSTALL
|
|
G4INSTALL = ../..
|
|
endif
|
|
|
|
include $(G4INSTALL)/config/architecture.gmk
|
|
include $(G4INSTALL)/config/G4VIS_BUILD.gmk
|
|
include $(G4INSTALL)/config/interactivity.gmk
|
|
|
|
G4LIBDIR := $(G4LIB)/$(G4SYSTEM)
|
|
G4TMPDIR := $(G4TMP)/$(G4SYSTEM)/$(name)
|
|
|
|
SUBDIRS := modeling
|
|
SUBLIBS := G4modeling
|
|
|
|
ifdef G4VIS_BUILD
|
|
SUBDIRS += management
|
|
SUBLIBS += G4vis_management
|
|
endif
|
|
|
|
# For DAWN and DAWNFILE drivers
|
|
ifdef G4VIS_BUILD_DAWN_DRIVER
|
|
SUBDIRS += FukuiRenderer
|
|
SUBLIBS += G4FR
|
|
endif
|
|
ifdef G4VIS_BUILD_DAWNFILE_DRIVER
|
|
ifndef G4VIS_BUILD_DAWN_DRIVER
|
|
SUBDIRS += FukuiRenderer
|
|
SUBLIBS += G4FR
|
|
endif
|
|
endif
|
|
# End of DAWN and DAWNFILE drivers
|
|
|
|
ifdef G4VIS_BUILD_OPACS_DRIVER
|
|
SUBDIRS += OPACS
|
|
SUBLIBS += G4OPACS
|
|
endif
|
|
ifdef G4VIS_BUILD_OPENGL_DRIVER
|
|
SUBDIRS += OpenGL
|
|
SUBLIBS += G4OpenGL
|
|
endif
|
|
ifdef G4VIS_BUILD_OI_DRIVER
|
|
SUBDIRS += OpenInventor
|
|
SUBLIBS += G4OpenInventor
|
|
endif
|
|
ifdef G4VIS_BUILD_RAYX_DRIVER
|
|
SUBDIRS += G4Ray
|
|
SUBLIBS += G4Ray
|
|
endif
|
|
|
|
# For VRML and VRMLFILE drivers
|
|
ifdef G4VIS_BUILD_VRML_DRIVER
|
|
SUBDIRS += VRML
|
|
SUBLIBS += G4VRML
|
|
endif
|
|
ifdef G4VIS_BUILD_VRMLFILE_DRIVER
|
|
ifndef G4VIS_BUILD_VRML_DRIVER
|
|
SUBDIRS += VRML
|
|
SUBLIBS += G4VRML
|
|
endif
|
|
endif
|
|
# End of VRML and VRMLFILE drivers
|
|
|
|
include $(G4INSTALL)/config/globlib.gmk
|
|
|