# Generated automatically from Makefile.in by configure.
#
# Makefile for javastub
# Automatically generated from tools/javastub/Makefile.in
# Daniel Veillard, 1997
#
VPATH= ../../../tools/javastub
THOTDIR = ../../..

include ../../Options

LIBS	= -ldl  

prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin


all javastub : ../../bin ../../bin/javastub

../../bin:
	@($(MKDIR) ../../bin)

../../bin/javastub : javastub.o
	$(LD) $(LDFLAGS) -o $@ javastub.o

javastub.o: ../../../tools/javastub/javastub.c
	$(CC) $(CFLAGS) -I../.. -c ../../../tools/javastub/javastub.c

clean :
	$(RM) -f javastub *.o thotlib_API*

install : all

uninstall :

test: all
	../../bin/javastub -T ../../../tools/javastub/JavaTypes.def -M thotlib_APIContent \
	           ../../../thotlib/include/content.h 
	../../bin/javastub -T ../../../tools/javastub/JavaTypes.def -M thotlib_APITree \
	           ../../../thotlib/include/tree.h 
#	../../bin/javastub -T ../../../tools/javastub/JavaTypes.def -M thotlib_APIInterface \
#                  ../../../thotlib/include/interface.h 

include .depends

../mkdep/mkdep : 
	@(cd ../../tools/mkdep ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)")

.depends depend : ../mkdep/mkdep
	../mkdep/mkdep -relative -vpath $(VPATH) $(INCLUDES) $(VPATH)/*.c  > .depends

proto :

