head	1.24;
access;
symbols;
locks
	verdier:1.24; strict;
comment	@# @;


1.24
date	2001.04.04.12.22.58;	author verdier;	state Exp;
branches;
next	1.23;

1.23
date	2000.10.24.06.21.22;	author verdier;	state Exp;
branches;
next	1.20;

1.20
date	2000.07.07.13.30.10;	author verdier;	state Exp;
branches;
next	1.18;

1.18
date	2000.06.20.06.57.35;	author verdier;	state Exp;
branches;
next	1.17;

1.17
date	2000.05.12.07.37.10;	author verdier;	state Exp;
branches;
next	1.16;

1.16
date	2000.04.26.06.04.00;	author verdier;	state Exp;
branches;
next	1.15;

1.15
date	2000.04.18.08.12.47;	author verdier;	state Exp;
branches;
next	1.14;

1.14
date	2000.04.12.09.25.43;	author verdier;	state Exp;
branches;
next	1.13;

1.13
date	2000.04.11.09.35.07;	author verdier;	state Exp;
branches;
next	1.2;

1.2
date	2000.03.03.09.43.00;	author verdier;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.28.15.41.38;	author verdier;	state Exp;
branches;
next	;


desc
@@


1.24
log
@Property management added for cpp.
@
text
@#+======================================================================
# $Source: /segfs/tango/tools/pogo/appli/RCS/Makefile,v $
#
# Project:      Tango Device Server
#
# Description:  Makefile to generate the JAVA Tango classes package
#
# $Author: verdier $
#
# $Version$
#
# $Log: Makefile,v $
# Revision 1.23  2000/10/24 06:21:22  verdier
# The compatibility with TANGO2 has been tested on DatabaseDs.
#
# Revision 1.20  2000/07/07 13:30:10  verdier
# Utilities added after first users.
#
# Revision 1.18  2000/06/20 06:57:35  verdier
# Right button double click management added for :
# editing src code, creating item, editing class....
# Little bugs fixed on generation/re-read src code.
#
# Revision 1.17  2000/05/12 07:37:10  verdier
#  Attributes management added for java generation.
#
# Revision 1.16  2000/04/26 06:04:00  verdier
# The save/restore file (.pogo) does not exist anymore.
# DevStates and DevStates allowed management is now available for java.
#
# Revision 1.15  2000/04/18 08:12:47  verdier
# Management of DevStates to allow command added.
#
# Revision 1.14  2000/04/12 09:25:43  verdier
# Methods to manage attributes are now generated
#  Only if at leat one attribute exists.
#
# Revision 1.13  2000/04/11 09:35:07  verdier
# Attributes management added.
#
# Revision 1.2  2000/03/03 09:43:00  verdier
# States management added
#
# Revision 1.1  2000/02/28 15:41:38  verdier
# Initial revision
#
# Revision 1.1  2000/02/28 14:57:44  verdier
# Initial revision
#
#
# copyleft :    European Synchrotron Radiation Facility
#               BP 220, Grenoble 38043
#               FRANCE
#
#-======================================================================


TANGO_HOME=	/segfs/tango
PACK_HOME= $(TANGO_HOME)/tools
JAR_DIR = $(PACK_HOME)/jar


JAVAC = javac
# -----------------------------------------------------------------
#
#		The compiler flags
#
#------------------------------------------------------------------

JAVAFLAGS = -g

#-------------------------------------------------------------------

CLASS	=	Pogo

CL_LIST =	$(CLASS)AppliDefs.class		\
			ClassDialog.class			\
			CommandDialog.class			\
			NotAllowedDialog.class		\
			AttributeDialog.class		\
			StateDialog.class			\
			PropertyDialog.class		\
			PrefGeneDialog.class		\
			GenerateDialog.class		\
			GenerateThread.class		\
			EditPogoCode.class			\
			$(CLASS)Tree.class			\
			$(CLASS)Help.class			\
			$(CLASS)FileFilter.class	\
			$(CLASS)Appli.class

PACKAGE = pogo

DOC_HEADER	=	"<h1>POGO Java Program</h1>"
#
# Rule for compiling
#

.SUFFIXES:	.class .java
.java.class:
	$(JAVAC) $(JAVAFLAGS) $<

#-----------------------------------------------------------------

all:	gene $(PACKAGE) exe

$(PACKAGE): 	$(CL_LIST)

gene:
	@@cd ../gene; make  $(PACKAGE)

exe:
	@@./pogo

clean:
	rm  -f *.class
	@@cd ../gene; rm  -f *.class

jar:	$(PACKAGE)
	cd $(PACK_HOME); jar cvf 		\
		$(JAR_DIR)/$(CLASS)2.jar	\
		$(PACKAGE)/appli/*.class	\
		$(PACKAGE)/gene/*.class		\
		$(PACKAGE)/img/*.gif 		\
		$(PACKAGE)/img/*.jpg		\
		utilities/RcsId.class


doc:
	@@javadoc 				\
	-private 				\
	-version -author		\
	-nodeprecated			\
	-windowtitle POGO		\
	-header $(DOC_HEADER)	\
	-d ../doc/pr_guide		\
	*.java ../gene/*.java

@


1.23
log
@The compatibility with TANGO2 has been tested on DatabaseDs.
@
text
@d13 3
d82 1
d120 7
a126 3
	cd $(PACK_HOME); jar cvf $(JAR_DIR)/$(CLASS)2.jar	\
		$(PACKAGE)/appli/*.class						\
		$(PACKAGE)/gene/*.class
@


1.20
log
@Utilities added after first users.
@
text
@d13 3
d55 3
a57 2
DEVHOME	= /segfs/tango/tools/pogo/appli
JAR_DIR = ../bin
a89 5
TANGO_PROP	=	TANGO_HOST=dumela:10000
TEMPL_PROP	=	TEMPL_HOME=../templates
LANGUAGE	=	java
GENE_HOME	=	$(DEVHOME)/../generated/cpp/Os9TimeDs
TEST_HOME	=	$(DEVHOME)/../generated/$(LANGUAGE)/TimeDs
d101 1
a101 1
all:	$(PACKAGE) exe
d105 3
a110 4
display:
	@@xterm -font CourB14 -e vi TimeDs.pogo&
#	@@xterm -font CourB14 -e vi $(TEST_HOME)/TimeDs.$(LANGUAGE)&

d113 1
a114 4
jar0:	$(PACKAGE)
	jar cvf $(CLASS)Appli.jar *.class
	@@mv *.jar $(JAR_DIR)
	@@ls -l $(JAR_DIR)/*.jar
d116 4
a119 3
	jar cvf $(CLASS).jar *.class ../gene/*.class
	@@mv *.jar $(JAR_DIR)
	@@ls -l $(JAR_DIR)/*.jar
@


1.18
log
@Right button double click management added for :
editing src code, creating item, editing class....
Little bugs fixed on generation/re-read src code.
@
text
@d13 5
@


1.17
log
@ Attributes management added for java generation.
@
text
@d13 3
d73 1
d75 1
@


1.16
log
@The save/restore file (.pogo) does not exist anymore.
DevStates and DevStates allowed management is now available for java.
@
text
@d13 4
@


1.15
log
@Management of DevStates to allow command added.
@
text
@d13 3
d102 4
d107 1
a107 1
	jar cvf $(CLASS)Appli.jar *.class
@


1.14
log
@Methods to manage attributes are now generated
 Only if at leat one attribute exists.
@
text
@d13 4
d57 1
@


1.13
log
@Attributes management added.
@
text
@d13 3
@


1.2
log
@States management added
@
text
@d13 3
d31 1
d50 1
d52 3
d64 1
a64 1
GENE_HOME	=	$(DEVHOME)/../generated
d66 1
d82 1
a82 3
	java	-D$(TEMPL_PROP)	\
			-DHOME_GENE=$(GENE_HOME)	\
			$(CLASS)Appli
d91 15
a105 3
jar:
	jar cvf $(CLASS).jar $(CL_LIST)
	@@ls -l *.jar
@


1.1
log
@Initial revision
@
text
@d13 3
d44 1
d46 1
a46 1
			ClassDialog.class			\
d56 1
a56 1
GENE_HOME	=	$(DEVHOME)/../generated/$(LANGUAGE)
@
