# Makefile.in generated automatically by automake 1.4 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.


SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@

top_builddir = ../..

ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_alias = @build_alias@
build_triplet = @build@
host_alias = @host_alias@
host_triplet = @host@
target_alias = @target_alias@
target_triplet = @target@
AR = @AR@
CC = @CC@
CPP = @CPP@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
GL_CFLAGS = @GL_CFLAGS@
GL_LDOPTS = @GL_LDOPTS@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
PERLPATH = @PERLPATH@
PTHREADLIB = @PTHREADLIB@
RANLIB = @RANLIB@
VERSION = @VERSION@
XLIBS = @XLIBS@

AUTOMAKE_OPTIONS = foreign no-dependencies

SUBDIRS = app base

EXTRA_DIST = 

@JAVA_TRUE@bin_SCRIPTS = ifcserver

# Build the java client interface
# ---------------
# Global settings
# ---------------
# Java home directory
@JAVA_TRUE@JAVA_HOME = @JAVA_HOME@
# Vreng directory
@JAVA_TRUE@VRENG = @top_srcdir@
# Vreng Java directory
@JAVA_TRUE@BASE = @srcdir@

# ---------------------
# Source directories
# ---------------------
# Generated source directory
@JAVA_TRUE@GEN_DIR = $(BASE)/gen
# Base and server source directory
@JAVA_TRUE@BASE_DIR = $(BASE)/base
# Applications source directories
@JAVA_TRUE@APP_DIR = $(BASE)/app
# Jar directory
@JAVA_TRUE@JAR_DIR = $(BASE)/jar

# Various source subdirectories
@JAVA_TRUE@SRC_DIR = $(BASE_DIR)/fr/enst/vreng
@JAVA_TRUE@DATA_DIR = $(BASE_DIR)/fr/enst/vreng/data
@JAVA_TRUE@SERVER_DIR = $(BASE_DIR)/fr/enst/vreng/server
@JAVA_TRUE@NET_DIR = $(BASE_DIR)/fr/enst/vreng/net
@JAVA_TRUE@TESTER_DIR = $(APP_DIR)/fr/enst/vreng/tester

# ---------------------
# Output directories
# ---------------------
# Javadoc output directory
@JAVA_TRUE@DOC_DIR = $(BASE)/doc
# Jar files directory
@JAVA_TRUE@LIB_DIR = $(BASE)/lib
# .class file base directory
@JAVA_TRUE@BIN_DIR = $(BASE)/bin
# Generated .class files directory
@JAVA_TRUE@GEN_BIN = $(BIN_DIR)/gen
# Base .class files directory
@JAVA_TRUE@BASE_BIN = $(BIN_DIR)/base
# Server .class files directory
@JAVA_TRUE@SERVER_BIN = $(BIN_DIR)/server
# Applications .class files directory
@JAVA_TRUE@APP_BIN = $(BIN_DIR)/app

# All the "temporary" directories
@JAVA_TRUE@DIRS = $(LIB_DIR) $(BIN_DIR) $(GEN_BIN) $(APP_BIN) $(BASE_BIN) $(SERVER_BIN) $(JAR_DIR) $(DOC_DIR)

# --------------------
# Jar files
# --------------------
# Final jar files
@JAVA_TRUE@CORE_JAR = $(JAR_DIR)/vrengcore.jar
@JAVA_TRUE@APP_JAR = $(JAR_DIR)/vrengapp.jar

# Intermediate jar files
@JAVA_TRUE@GEN_JAR = $(LIB_DIR)/gen.jar
@JAVA_TRUE@BASE_JAR = $(LIB_DIR)/base.jar
@JAVA_TRUE@SERVER_JAR = $(LIB_DIR)/server.jar

# Files that need to be constructed
@JAVA_TRUE@JARS = $(CORE_JAR) $(APP_JAR)

# ---------------
# Java settings
# ---------------
# Java bin directory
@JAVA_TRUE@JAVA_BIN = $(JAVA_HOME)/bin
# Java archiver
@JAVA_TRUE@JAR = $(JAVA_BIN)/jar
# Java VM
@JAVA_TRUE@JAVA = $(JAVA_BIN)/java
# Java compiler
@JAVA_TRUE@JAVAC = $(JAVA_BIN)/javac
# Javadoc generator
@JAVA_TRUE@JAVADOC = $(JAVA_BIN)/javadoc

# Build classpath and flags
@JAVA_TRUE@CLASSPATH = $(GEN_BIN):$(BASE_BIN):$(SERVER_BIN):$(APP_BIN):$(GEN_JAR):$(BASE_JAR):$(APP_JAR)
@JAVA_TRUE@JAVAC_FLAGS = -g -classpath $(CLASSPATH)

# --------------------
# Source files
# --------------------

# Generated code:
# - dependencies
@JAVA_TRUE@GEN_DEP = 	$(VRENG)/src/wmgt/ifcserver.h 	$(VRENG)/src/wmgt/initobj.cc

# - generated source
@JAVA_TRUE@GEN_FILES = 	$(GEN_DIR)/fr/enst/vreng/MessageTypes.java 	$(GEN_DIR)/fr/enst/vreng/ObjectTypes.java

# Application files
@JAVA_TRUE@APP_FILES =         $(TESTER_DIR)/Fan.java         $(TESTER_DIR)/Ring.java         $(TESTER_DIR)/Slide.java         $(TESTER_DIR)/Board.java         $(TESTER_DIR)/TicTacToe.java

# Base files
@JAVA_TRUE@BASE_FILES = 	$(DATA_DIR)/types/Point2D.java 	$(DATA_DIR)/types/Point3D.java 	$(DATA_DIR)/types/ObjPos.java 	$(DATA_DIR)/types/NetObjId.java 	$(DATA_DIR)/messages/PosMessage.java 	$(DATA_DIR)/messages/DrawMessage.java 	$(DATA_DIR)/messages/ClickMessage.java 	$(DATA_DIR)/messages/QueryMessage.java 	$(DATA_DIR)/messages/ControlMessage.java 	$(DATA_DIR)/messages/IntersectMessage.java 	$(DATA_DIR)/Header.java 	$(DATA_DIR)/Message.java 	$(DATA_DIR)/DataHelper.java 	$(DATA_DIR)/MsgInputStream.java 	$(DATA_DIR)/MsgOutputStream.java 	$(DATA_DIR)/InvalidMessageException.java 	$(SRC_DIR)/IMessage.java 	$(SRC_DIR)/IVrengApp.java 	$(SRC_DIR)/IVrengObject.java 	$(SRC_DIR)/IVrengProcessor.java 	$(SRC_DIR)/VrengException.java

# Server files
@JAVA_TRUE@SERVER_FILES = 	$(SERVER_DIR)/Vreng.java 	$(SERVER_DIR)/VrengApp.java 	$(SERVER_DIR)/VrengObject.java 	$(SERVER_DIR)/Server.java 	$(SERVER_DIR)/AppController.java 	$(SERVER_DIR)/ClientController.java 	$(NET_DIR)/Sender.java 	$(NET_DIR)/Receiver.java
mkinstalldirs = $(SHELL) $(top_srcdir)/support/mkinstalldirs
CONFIG_HEADER = ../../config.h
CONFIG_CLEAN_FILES =  javaconst.pl ifcserver
SCRIPTS =  $(bin_SCRIPTS)

DIST_COMMON =  Makefile.am Makefile.in ifcserver.in javaconst.pl.in


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --foreign src/java/Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status

javaconst.pl: $(top_builddir)/config.status javaconst.pl.in
	cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
ifcserver: $(top_builddir)/config.status ifcserver.in
	cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status

install-binSCRIPTS: $(bin_SCRIPTS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_SCRIPTS)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
	    $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
	  else if test -f $(srcdir)/$$p; then \
	    echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
	    $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
	  else :; fi; fi; \
	done

uninstall-binSCRIPTS:
	@$(NORMAL_UNINSTALL)
	list='$(bin_SCRIPTS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
	done

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.

@SET_MAKE@

all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive  \
check-recursive installcheck-recursive info-recursive dvi-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	dot_seen=no; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    dot_seen=yes; \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	dot_seen=no; \
	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
	  rev="$$subdir $$rev"; \
	  test "$$subdir" = "." && dot_seen=yes; \
	done; \
	test "$$dot_seen" = "no" && rev=". $$rev"; \
	target=`echo $@ | sed s/-recursive//`; \
	for subdir in $$rev; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"
tags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
	done

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
   if test "$$subdir" = .; then :; else \
	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
   fi; \
	done; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

subdir = src/java

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done
	for subdir in $(SUBDIRS); do \
	  if test "$$subdir" = .; then :; else \
	    test -d $(distdir)/$$subdir \
	    || mkdir $(distdir)/$$subdir \
	    || exit 1; \
	    chmod 777 $(distdir)/$$subdir; \
	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
	      || exit 1; \
	  fi; \
	done
info-am:
info: info-recursive
dvi-am:
dvi: dvi-recursive
check-am: all-am
check: check-recursive
installcheck-am:
installcheck: installcheck-recursive
install-exec-am: install-binSCRIPTS
install-exec: install-exec-recursive

install-data-am:
install-data: install-data-recursive

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-recursive
uninstall-am: uninstall-binSCRIPTS
uninstall: uninstall-recursive
all-am: Makefile $(SCRIPTS)
all-redirect: all-recursive
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs: installdirs-recursive
installdirs-am:
	$(mkinstalldirs)  $(DESTDIR)$(bindir)


mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
mostlyclean-am:  mostlyclean-tags mostlyclean-generic

mostlyclean: mostlyclean-recursive

clean-am:  clean-tags clean-generic mostlyclean-am

clean: clean-recursive

distclean-am:  distclean-tags distclean-generic clean-am

distclean: distclean-recursive

maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
		distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-recursive

.PHONY: uninstall-binSCRIPTS install-binSCRIPTS install-data-recursive \
uninstall-data-recursive install-exec-recursive \
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
all-recursive check-recursive installcheck-recursive info-recursive \
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
install-exec install-data-am install-data install-am install \
uninstall-am uninstall all-redirect all-am all installdirs-am \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


# ------------------
# Build targets
# ------------------

@JAVA_TRUE@all: $(DIRS) $(JARS) notice

# Create the temporary directoies
@JAVA_TRUE@$(DIRS):
@JAVA_TRUE@	mkdir -p $@

# Remove the temporary directories and their contents
@JAVA_TRUE@clean:
@JAVA_TRUE@	rm -rf $(DIRS)
@JAVA_TRUE@	@find . -type f -name "*~" | xargs -r -t rm -f

# Like clean, but removes the Makefile too (plus vi backup files)
@JAVA_TRUE@clean-dist: clean
@JAVA_TRUE@	@VIBACKUP=`find . -type f -name "*~"` \
@JAVA_TRUE@	&& if test ! -z "$$VIBACKUP" ; then \
@JAVA_TRUE@		echo Removing $$VIBACKUP ; \
@JAVA_TRUE@		rm -f $$VIBACKUP ; \
@JAVA_TRUE@	fi
@JAVA_TRUE@	rm -f Makefile

# Generate the constants files
@JAVA_TRUE@$(GEN_FILES): $(GEN_DEP)
@JAVA_TRUE@	@echo -- Generating constants files...
@JAVA_TRUE@	$(PERLPATH) javaconst.pl $(GEN_DEP) fr.enst.vreng MessageTypes ObjectTypes $(GEN_DIR)

# Compile the constants files
@JAVA_TRUE@$(GEN_JAR): $(GEN_FILES)
@JAVA_TRUE@	@echo -- Compiling constants files...
@JAVA_TRUE@	$(JAVAC) $(JAVAC_FLAGS) -d $(GEN_BIN) $(GEN_FILES)
@JAVA_TRUE@	@echo -- Creating partial constants jar...
@JAVA_TRUE@	$(JAR) c0f $(GEN_JAR) -C $(GEN_BIN) fr

# Build the core jar file
@JAVA_TRUE@$(CORE_JAR): $(GEN_JAR) $(BASE_JAR) $(SERVER_JAR)
@JAVA_TRUE@	@echo -- Creating Vreng server core jar...
@JAVA_TRUE@	$(JAR) c0f $(CORE_JAR) -C $(GEN_BIN) fr
@JAVA_TRUE@	$(JAR) u0f $(CORE_JAR) -C $(BASE_BIN) fr
@JAVA_TRUE@	$(JAR) u0f $(CORE_JAR) -C $(SERVER_BIN) fr
@JAVA_TRUE@	chmod 755 ifcserver

# Compile the base classes
@JAVA_TRUE@$(BASE_JAR): $(GEN_JAR) $(BASE_FILES)
@JAVA_TRUE@	@echo -- Compiling base files...
@JAVA_TRUE@	$(JAVAC) $(JAVAC_FLAGS) -d $(BASE_BIN) $(BASE_FILES)
@JAVA_TRUE@	@echo -- Creating partial base jar...
@JAVA_TRUE@	$(JAR) c0f $(BASE_JAR) -C $(BASE_BIN) fr

# Compile the server classes
@JAVA_TRUE@$(SERVER_JAR): $(GEN_JAR) $(SERVER_FILES)
@JAVA_TRUE@	@echo -- Compiling server files...
@JAVA_TRUE@	$(JAVAC) $(JAVAC_FLAGS) -d $(SERVER_BIN) $(SERVER_FILES)
@JAVA_TRUE@	@echo -- Creating partial server jar...
@JAVA_TRUE@	$(JAR) c0f $(SERVER_JAR) -C $(SERVER_BIN) fr

# Compile the application classes
@JAVA_TRUE@$(APP_JAR): $(GEN_JAR) $(APP_FILES)
@JAVA_TRUE@	@echo -- Compiling application files...
@JAVA_TRUE@	$(JAVAC) $(JAVAC_FLAGS) -d $(APP_BIN) $(APP_FILES)
@JAVA_TRUE@	@echo -- Creating applications jar...
@JAVA_TRUE@	$(JAR) c0f $(APP_JAR) -C $(APP_BIN) fr

# Build the javadoc for the project
@JAVA_TRUE@javadoc: $(DIRS)
@JAVA_TRUE@	$(JAVADOC) \
@JAVA_TRUE@	-classpath $(CLASSPATH) \
@JAVA_TRUE@	-d $(DOC_DIR) \
@JAVA_TRUE@	-sourcepath $(BASE_DIR):$(APP_DIR):$(GEN_DIR) \
@JAVA_TRUE@	-doctitle "Vreng Java Server" \
@JAVA_TRUE@	-windowtitle "Vreng Java Server" \
@JAVA_TRUE@	-footer "Mathieu Seigneurin - ENST - July 2001" \
@JAVA_TRUE@	-group  "Base classes" "fr.enst.vreng.data:fr.enst.vreng" \
@JAVA_TRUE@	-group  "Data and messages" "fr.enst.vreng.data.types:fr.enst.vreng.data.messages" \
@JAVA_TRUE@	-group  "Server and network classes" "fr.enst.vreng.net:fr.enst.vreng.server" \
@JAVA_TRUE@	-group  "Applications" "fr.enst.vreng.tester" \
@JAVA_TRUE@	fr.enst.vreng.data.types \
@JAVA_TRUE@	fr.enst.vreng.data.messages \
@JAVA_TRUE@	fr.enst.vreng.data \
@JAVA_TRUE@	fr.enst.vreng \
@JAVA_TRUE@	fr.enst.vreng.net \
@JAVA_TRUE@	fr.enst.vreng.server \
@JAVA_TRUE@	fr.enst.vreng.tester

@JAVA_TRUE@.PHONY: notice
@JAVA_TRUE@notice:
@JAVA_TRUE@	@echo -- Java libraries up to date \($(CORE_JAR) and $(APP_JAR)\)

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
