 #
 # $Id: Makefile.cpp,v 1.2 1997/08/26 14:39:02 emmanuel Exp $
 #






































### The VRcaML  library version 1.0

### Configuration section





MLC=ocamlc
MLCFLAGS=-c
MLLIBR=
MLDEP=ocamldep
MLEXTOBJ=cmo
MLEXTOBJI=cmi
MLEXTOBJL=cma

LIBNAME=vrcaml
LIBLOAD=_LIBLOAD
FILETEST= _FILETEST

 ##### Destination files for installation

LIBDIR=/usr/local/lib/ocaml
BINDIR=_BINDIR
TEXDIR=_TEXDIR

LIBLOAD=_LIBLOAD

VERSION=1.0b

 ##### Copying commands

CP=cp
LN=ln -s                # or just `ln', if you don't have symbolic links
INSTALL=install -c
MV=mv

 ### End of configuration section


OBJS=compatibility.$(MLEXTOBJ) default.${MLEXTOBJ} constants.${MLEXTOBJ} exceptions.${MLEXTOBJ} basic_types.${MLEXTOBJ} font.${MLEXTOBJ} fonts.${MLEXTOBJ} colors.${MLEXTOBJ} vrml_objects_pre.${MLEXTOBJ} calc_3D.${MLEXTOBJ} vrml_objects_post.${MLEXTOBJ} positionables.${MLEXTOBJ} geometrics.${MLEXTOBJ}  geometric_properties.${MLEXTOBJ} map.${MLEXTOBJ} complex_geometrics.${MLEXTOBJ} map_complex.${MLEXTOBJ} lights.${MLEXTOBJ} map_light.${MLEXTOBJ} sound.${MLEXTOBJ} frame_manipulations.${MLEXTOBJ} specials.${MLEXTOBJ} world.${MLEXTOBJ} translate.${MLEXTOBJ} animations.${MLEXTOBJ} traject.${MLEXTOBJ}
 

library:	$(LIBNAME).$(MLEXTOBJI) $(OBJS) $(LIBNAME).$(MLEXTOBJ)
	$(MLC) -a -o $(LIBNAME).$(MLEXTOBJL) $(OBJS) $(LIBNAME).$(MLEXTOBJ)

clean:
	rm -f *.$(MLEXTOBJ) *.$(MLEXTOBJI) *.$(MLEXTOBJL) *.gz

test:
	make -e LIBDIR=./packagedir install
	$(MLC) -o $(FILETEST).exe $(LIBNAME).$(MLEXTOBJL) test.ml $(FILETEST).ml
	$(FILETEST).exe

install:
	if test -d $(LIBDIR); then :; else mkdir $(LIBDIR); fi
	$(INSTALL) -m 755 $(LIBNAME).$(MLEXTOBJ) $(LIBDIR)
	$(INSTALL) -m 755 $(LIBNAME).$(MLEXTOBJI) $(LIBDIR)
	$(INSTALL) -m 755 $(LIBNAME).$(MLEXTOBJL) $(LIBDIR)
	$(INSTALL) -m 755 $(LIBLOAD) $(LIBDIR)

uninstall:
	rm $(LIBDIR)/$(LIBNAME).$(MLEXTOBJ)
	rm $(LIBDIR)/$(LIBNAME).$(MLEXTOBJI)
	rm $(LIBDIR)/$(LIBNAME).$(MLEXTOBJL)
	rm $(LIBDIR)/$(LIBLOAD)

#packagebin:
#make clean
#make -e LIBDIR=/usr/local/lib/ocaml
#make -e LIBDIR=./packagedir install
	_MAKE_MLPACKAGEBIN

packagesrc:
	make clean
	mkdir ../${LIBNAME}-${VERSION}
	cp * ../${LIBNAME}-${VERSION}
	(cd .. ; tar -cvf ${LIBNAME}-${VERSION}.tar ./${LIBNAME}-${VERSION})
	rm -rf ../${LIBNAME}-${VERSION}
	gzip ../${LIBNAME}-${VERSION}.tar
	

.IGNORE:
		
.SUFFIXES :
.SUFFIXES : .mli .ml .$(MLEXTOBJI) .$(MLEXTOBJ)

.mli.$(MLEXTOBJI):
	$(MLC) $(MLCFLAGS) $<

.ml.$(MLEXTOBJ):
	$(MLC) $(MLCFLAGS) $<

depend:
	mv Makefile Makefile.bak; sed -n -e '1,/^### DO NOT DELETE THIS LINE/p' Makefile.bak > Makefile;  $(MLDEP) *.mli *.ml >> Makefile;



### EVERYTHING THAT GOES BEYOND THIS COMMENT IS GENERATED
### DO NOT DELETE THIS LINE
vrcaml.cmi: animations.cmo basic_types.cmo calc_3D.cmo colors.cmo \
    compatibility.cmo complex_geometrics.cmo constants.cmo default.cmo \
    exceptions.cmo font.cmo fonts.cmo frame_manipulations.cmo \
    geometric_properties.cmo geometrics.cmo lights.cmo map.cmo \
    map_complex.cmo map_light.cmo positionables.cmo sound.cmo specials.cmo \
    traject.cmo translate.cmo types.cmo vrml_objects_post.cmo \
    vrml_objects_pre.cmo world.cmo 
animations.cmo: basic_types.cmo calc_3D.cmo colors.cmo compatibility.cmo \
    complex_geometrics.cmo default.cmo exceptions.cmo font.cmo fonts.cmo \
    frame_manipulations.cmo geometric_properties.cmo geometrics.cmo \
    lights.cmo map.cmo map_complex.cmo map_light.cmo positionables.cmo \
    sound.cmo specials.cmo translate.cmo types.cmo vrml_objects_post.cmo \
    vrml_objects_pre.cmo world.cmo 
animations.cmx: basic_types.cmx calc_3D.cmx colors.cmx compatibility.cmx \
    complex_geometrics.cmx default.cmx exceptions.cmx font.cmx fonts.cmx \
    frame_manipulations.cmx geometric_properties.cmx geometrics.cmx \
    lights.cmx map.cmx map_complex.cmx map_light.cmx positionables.cmx \
    sound.cmx specials.cmx translate.cmx types.cmx vrml_objects_post.cmx \
    vrml_objects_pre.cmx world.cmx 
basic_types.cmo: compatibility.cmo default.cmo exceptions.cmo types.cmo 
basic_types.cmx: compatibility.cmx default.cmx exceptions.cmx types.cmx 
calc_3D.cmo: basic_types.cmo colors.cmo compatibility.cmo default.cmo \
    exceptions.cmo font.cmo fonts.cmo types.cmo vrml_objects_pre.cmo 
calc_3D.cmx: basic_types.cmx colors.cmx compatibility.cmx default.cmx \
    exceptions.cmx font.cmx fonts.cmx types.cmx vrml_objects_pre.cmx 
colors.cmo: basic_types.cmo compatibility.cmo 
colors.cmx: basic_types.cmx compatibility.cmx 
complex_geometrics.cmo: basic_types.cmo calc_3D.cmo colors.cmo \
    compatibility.cmo default.cmo exceptions.cmo font.cmo fonts.cmo \
    geometric_properties.cmo geometrics.cmo map.cmo positionables.cmo \
    types.cmo vrml_objects_post.cmo vrml_objects_pre.cmo 
complex_geometrics.cmx: basic_types.cmx calc_3D.cmx colors.cmx \
    compatibility.cmx default.cmx exceptions.cmx font.cmx fonts.cmx \
    geometric_properties.cmx geometrics.cmx map.cmx positionables.cmx \
    types.cmx vrml_objects_post.cmx vrml_objects_pre.cmx 
constants.cmo: compatibility.cmo 
constants.cmx: compatibility.cmx 
default.cmo: compatibility.cmo types.cmo 
default.cmx: compatibility.cmx types.cmx 
exceptions.cmo: compatibility.cmo constants.cmo types.cmo 
exceptions.cmx: compatibility.cmx constants.cmx types.cmx 
font.cmo: basic_types.cmo compatibility.cmo default.cmo exceptions.cmo \
    types.cmo 
font.cmx: basic_types.cmx compatibility.cmx default.cmx exceptions.cmx \
    types.cmx 
fonts.cmo: basic_types.cmo compatibility.cmo default.cmo exceptions.cmo \
    font.cmo types.cmo 
fonts.cmx: basic_types.cmx compatibility.cmx default.cmx exceptions.cmx \
    font.cmx types.cmx 
frame_manipulations.cmo: basic_types.cmo calc_3D.cmo colors.cmo \
    compatibility.cmo complex_geometrics.cmo default.cmo exceptions.cmo \
    font.cmo fonts.cmo geometric_properties.cmo geometrics.cmo lights.cmo \
    map.cmo map_complex.cmo map_light.cmo positionables.cmo sound.cmo \
    types.cmo vrml_objects_post.cmo vrml_objects_pre.cmo 
frame_manipulations.cmx: basic_types.cmx calc_3D.cmx colors.cmx \
    compatibility.cmx complex_geometrics.cmx default.cmx exceptions.cmx \
    font.cmx fonts.cmx geometric_properties.cmx geometrics.cmx lights.cmx \
    map.cmx map_complex.cmx map_light.cmx positionables.cmx sound.cmx \
    types.cmx vrml_objects_post.cmx vrml_objects_pre.cmx 
geometric_properties.cmo: basic_types.cmo calc_3D.cmo colors.cmo \
    compatibility.cmo default.cmo exceptions.cmo font.cmo fonts.cmo \
    geometrics.cmo positionables.cmo types.cmo vrml_objects_post.cmo \
    vrml_objects_pre.cmo 
geometric_properties.cmx: basic_types.cmx calc_3D.cmx colors.cmx \
    compatibility.cmx default.cmx exceptions.cmx font.cmx fonts.cmx \
    geometrics.cmx positionables.cmx types.cmx vrml_objects_post.cmx \
    vrml_objects_pre.cmx 
geometrics.cmo: basic_types.cmo calc_3D.cmo colors.cmo compatibility.cmo \
    default.cmo exceptions.cmo font.cmo fonts.cmo positionables.cmo types.cmo \
    vrml_objects_post.cmo vrml_objects_pre.cmo 
geometrics.cmx: basic_types.cmx calc_3D.cmx colors.cmx compatibility.cmx \
    default.cmx exceptions.cmx font.cmx fonts.cmx positionables.cmx types.cmx \
    vrml_objects_post.cmx vrml_objects_pre.cmx 
lights.cmo: basic_types.cmo calc_3D.cmo colors.cmo compatibility.cmo \
    complex_geometrics.cmo default.cmo exceptions.cmo font.cmo fonts.cmo \
    geometric_properties.cmo geometrics.cmo map.cmo map_complex.cmo \
    positionables.cmo types.cmo vrml_objects_post.cmo vrml_objects_pre.cmo 
lights.cmx: basic_types.cmx calc_3D.cmx colors.cmx compatibility.cmx \
    complex_geometrics.cmx default.cmx exceptions.cmx font.cmx fonts.cmx \
    geometric_properties.cmx geometrics.cmx map.cmx map_complex.cmx \
    positionables.cmx types.cmx vrml_objects_post.cmx vrml_objects_pre.cmx 
map.cmo: basic_types.cmo calc_3D.cmo colors.cmo compatibility.cmo default.cmo \
    exceptions.cmo font.cmo fonts.cmo geometric_properties.cmo geometrics.cmo \
    positionables.cmo types.cmo vrml_objects_post.cmo vrml_objects_pre.cmo 
map.cmx: basic_types.cmx calc_3D.cmx colors.cmx compatibility.cmx default.cmx \
    exceptions.cmx font.cmx fonts.cmx geometric_properties.cmx geometrics.cmx \
    positionables.cmx types.cmx vrml_objects_post.cmx vrml_objects_pre.cmx 
map_complex.cmo: basic_types.cmo calc_3D.cmo colors.cmo compatibility.cmo \
    complex_geometrics.cmo default.cmo exceptions.cmo font.cmo fonts.cmo \
    geometric_properties.cmo geometrics.cmo map.cmo positionables.cmo \
    types.cmo vrml_objects_post.cmo vrml_objects_pre.cmo 
map_complex.cmx: basic_types.cmx calc_3D.cmx colors.cmx compatibility.cmx \
    complex_geometrics.cmx default.cmx exceptions.cmx font.cmx fonts.cmx \
    geometric_properties.cmx geometrics.cmx map.cmx positionables.cmx \
    types.cmx vrml_objects_post.cmx vrml_objects_pre.cmx 
map_light.cmo: basic_types.cmo calc_3D.cmo colors.cmo compatibility.cmo \
    complex_geometrics.cmo default.cmo exceptions.cmo font.cmo fonts.cmo \
    geometric_properties.cmo geometrics.cmo lights.cmo map.cmo \
    map_complex.cmo positionables.cmo types.cmo vrml_objects_post.cmo \
    vrml_objects_pre.cmo 
map_light.cmx: basic_types.cmx calc_3D.cmx colors.cmx compatibility.cmx \
    complex_geometrics.cmx default.cmx exceptions.cmx font.cmx fonts.cmx \
    geometric_properties.cmx geometrics.cmx lights.cmx map.cmx \
    map_complex.cmx positionables.cmx types.cmx vrml_objects_post.cmx \
    vrml_objects_pre.cmx 
positionables.cmo: basic_types.cmo calc_3D.cmo colors.cmo compatibility.cmo \
    default.cmo exceptions.cmo font.cmo fonts.cmo types.cmo \
    vrml_objects_post.cmo vrml_objects_pre.cmo 
positionables.cmx: basic_types.cmx calc_3D.cmx colors.cmx compatibility.cmx \
    default.cmx exceptions.cmx font.cmx fonts.cmx types.cmx \
    vrml_objects_post.cmx vrml_objects_pre.cmx 
sound.cmo: basic_types.cmo calc_3D.cmo colors.cmo compatibility.cmo \
    complex_geometrics.cmo default.cmo exceptions.cmo font.cmo fonts.cmo \
    geometric_properties.cmo geometrics.cmo lights.cmo map.cmo \
    map_complex.cmo map_light.cmo positionables.cmo types.cmo \
    vrml_objects_post.cmo vrml_objects_pre.cmo 
sound.cmx: basic_types.cmx calc_3D.cmx colors.cmx compatibility.cmx \
    complex_geometrics.cmx default.cmx exceptions.cmx font.cmx fonts.cmx \
    geometric_properties.cmx geometrics.cmx lights.cmx map.cmx \
    map_complex.cmx map_light.cmx positionables.cmx types.cmx \
    vrml_objects_post.cmx vrml_objects_pre.cmx 
specials.cmo: basic_types.cmo calc_3D.cmo colors.cmo compatibility.cmo \
    complex_geometrics.cmo default.cmo exceptions.cmo font.cmo fonts.cmo \
    frame_manipulations.cmo geometric_properties.cmo geometrics.cmo \
    lights.cmo map.cmo map_complex.cmo map_light.cmo positionables.cmo \
    sound.cmo types.cmo vrml_objects_post.cmo vrml_objects_pre.cmo 
specials.cmx: basic_types.cmx calc_3D.cmx colors.cmx compatibility.cmx \
    complex_geometrics.cmx default.cmx exceptions.cmx font.cmx fonts.cmx \
    frame_manipulations.cmx geometric_properties.cmx geometrics.cmx \
    lights.cmx map.cmx map_complex.cmx map_light.cmx positionables.cmx \
    sound.cmx types.cmx vrml_objects_post.cmx vrml_objects_pre.cmx 
traject.cmo: animations.cmo basic_types.cmo calc_3D.cmo colors.cmo \
    compatibility.cmo complex_geometrics.cmo constants.cmo default.cmo \
    exceptions.cmo font.cmo fonts.cmo frame_manipulations.cmo \
    geometric_properties.cmo geometrics.cmo lights.cmo map.cmo \
    map_complex.cmo map_light.cmo positionables.cmo sound.cmo specials.cmo \
    translate.cmo types.cmo vrml_objects_post.cmo vrml_objects_pre.cmo \
    world.cmo 
traject.cmx: animations.cmx basic_types.cmx calc_3D.cmx colors.cmx \
    compatibility.cmx complex_geometrics.cmx constants.cmx default.cmx \
    exceptions.cmx font.cmx fonts.cmx frame_manipulations.cmx \
    geometric_properties.cmx geometrics.cmx lights.cmx map.cmx \
    map_complex.cmx map_light.cmx positionables.cmx sound.cmx specials.cmx \
    translate.cmx types.cmx vrml_objects_post.cmx vrml_objects_pre.cmx \
    world.cmx 
translate.cmo: basic_types.cmo calc_3D.cmo colors.cmo compatibility.cmo \
    complex_geometrics.cmo default.cmo exceptions.cmo font.cmo fonts.cmo \
    frame_manipulations.cmo geometric_properties.cmo geometrics.cmo \
    lights.cmo map.cmo map_complex.cmo map_light.cmo positionables.cmo \
    sound.cmo specials.cmo types.cmo vrml_objects_post.cmo \
    vrml_objects_pre.cmo world.cmo 
translate.cmx: basic_types.cmx calc_3D.cmx colors.cmx compatibility.cmx \
    complex_geometrics.cmx default.cmx exceptions.cmx font.cmx fonts.cmx \
    frame_manipulations.cmx geometric_properties.cmx geometrics.cmx \
    lights.cmx map.cmx map_complex.cmx map_light.cmx positionables.cmx \
    sound.cmx specials.cmx types.cmx vrml_objects_post.cmx \
    vrml_objects_pre.cmx world.cmx 
vrcaml.cmo: animations.cmo basic_types.cmo calc_3D.cmo colors.cmo \
    compatibility.cmo complex_geometrics.cmo constants.cmo default.cmo \
    exceptions.cmo font.cmo fonts.cmo frame_manipulations.cmo \
    geometric_properties.cmo geometrics.cmo lights.cmo map.cmo \
    map_complex.cmo map_light.cmo positionables.cmo sound.cmo specials.cmo \
    traject.cmo translate.cmo types.cmo vrml_objects_post.cmo \
    vrml_objects_pre.cmo world.cmo vrcaml.cmi 
vrcaml.cmx: animations.cmx basic_types.cmx calc_3D.cmx colors.cmx \
    compatibility.cmx complex_geometrics.cmx constants.cmx default.cmx \
    exceptions.cmx font.cmx fonts.cmx frame_manipulations.cmx \
    geometric_properties.cmx geometrics.cmx lights.cmx map.cmx \
    map_complex.cmx map_light.cmx positionables.cmx sound.cmx specials.cmx \
    traject.cmx translate.cmx types.cmx vrml_objects_post.cmx \
    vrml_objects_pre.cmx world.cmx vrcaml.cmi 
vrml_objects_post.cmo: basic_types.cmo calc_3D.cmo colors.cmo \
    compatibility.cmo default.cmo exceptions.cmo font.cmo fonts.cmo types.cmo \
    vrml_objects_pre.cmo 
vrml_objects_post.cmx: basic_types.cmx calc_3D.cmx colors.cmx \
    compatibility.cmx default.cmx exceptions.cmx font.cmx fonts.cmx types.cmx \
    vrml_objects_pre.cmx 
vrml_objects_pre.cmo: basic_types.cmo colors.cmo compatibility.cmo \
    default.cmo exceptions.cmo font.cmo fonts.cmo types.cmo 
vrml_objects_pre.cmx: basic_types.cmx colors.cmx compatibility.cmx \
    default.cmx exceptions.cmx font.cmx fonts.cmx types.cmx 
world.cmo: basic_types.cmo calc_3D.cmo colors.cmo compatibility.cmo \
    complex_geometrics.cmo default.cmo exceptions.cmo font.cmo fonts.cmo \
    frame_manipulations.cmo geometric_properties.cmo geometrics.cmo \
    lights.cmo map.cmo map_complex.cmo map_light.cmo positionables.cmo \
    sound.cmo specials.cmo types.cmo vrml_objects_post.cmo \
    vrml_objects_pre.cmo 
world.cmx: basic_types.cmx calc_3D.cmx colors.cmx compatibility.cmx \
    complex_geometrics.cmx default.cmx exceptions.cmx font.cmx fonts.cmx \
    frame_manipulations.cmx geometric_properties.cmx geometrics.cmx \
    lights.cmx map.cmx map_complex.cmx map_light.cmx positionables.cmx \
    sound.cmx specials.cmx types.cmx vrml_objects_post.cmx \
    vrml_objects_pre.cmx 
