summaryrefslogtreecommitdiff
path: root/TAO/tests/GIOP_Fragments/Java_Big_Request/Makefile.am
blob: 9755a7f0030489e258cb80fb5ef34f7634704f4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
##  Process this file with automake to create Makefile.in
##
## $Id$
##
## This file was generated by MPC.  Any changes made directly to
## this file will be lost the next time it is generated.
##
## MPC Command:
## ../bin/mwc.pl -type automake -noreldefs TAO.mwc

ACE_BUILDDIR = $(top_builddir)/..
ACE_ROOT = $(top_srcdir)/..
TAO_BUILDDIR = $(top_builddir)
TAO_IDL = ACE_ROOT=$(ACE_ROOT) TAO_ROOT=$(TAO_ROOT) $(TAO_BUILDDIR)/TAO_IDL/tao_idl
TAO_IDL_DEP = $(TAO_BUILDDIR)/TAO_IDL/tao_idl
TAO_IDLFLAGS = -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I$(TAO_ROOT) -I$(srcdir) -g $(ACE_BUILDDIR)/apps/gperf/src/gperf
TAO_ROOT = $(top_srcdir)

CLEANFILES =
BUILT_SOURCES =

## Makefile.Java_Big_Request_IDL.am

if BUILD_JAVA

BUILT_SOURCES += \
  Test/

CLEANFILES += \
  Test/

Test/: $(srcdir)/Test.idl
	mkdir -p Test
	idlj  $(srcdir)/Test.idl

endif BUILD_JAVA

## Makefile.Java_Big_Request.am

if BUILD_EXCEPTIONS
if BUILD_JAVA

BUILT_SOURCES += \
  TestC.cpp \
  TestC.h \
  TestC.inl \
  TestS.cpp \
  TestS.h \
  TestS.inl

CLEANFILES += \
  Test-stamp \
  TestC.cpp \
  TestC.h \
  TestC.inl \
  TestS.cpp \
  TestS.h \
  TestS.inl

TestC.cpp TestC.h TestC.inl TestS.cpp TestS.h TestS.inl: Test-stamp

Test-stamp: $(srcdir)/Test.idl $(TAO_IDL_DEP)
	$(TAO_IDL) $(TAO_IDLFLAGS) $(srcdir)/Test.idl
	@touch $@

BUILT_SOURCES += \
  client.class

CLEANFILES += \
  client.class

client.class: $(srcdir)/client.java
	javac -d . $(srcdir)/client.java

noinst_PROGRAMS = server

server_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR) \
  -I$(TAO_ROOT) \
  -I$(TAO_BUILDDIR)

server_SOURCES = \
  Payload_Receiver.cpp \
  TestC.cpp \
  TestS.cpp \
  server.cpp \
  Payload_Receiver.h \
  TestC.h \
  TestC.inl \
  TestS.h \
  TestS.inl

server_LDADD = \
  $(TAO_BUILDDIR)/tao/libTAO_PortableServer.la \
  $(TAO_BUILDDIR)/tao/libTAO_AnyTypeCode.la \
  $(TAO_BUILDDIR)/tao/libTAO.la \
  $(ACE_BUILDDIR)/ace/libACE.la

endif BUILD_JAVA
endif BUILD_EXCEPTIONS

## Clean up template repositories, etc.
clean-local:
	-rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.*
	-rm -f gcctemp.c gcctemp so_locations *.ics
	-rm -rf cxx_repository ptrepository ti_files
	-rm -rf templateregistry ir.out
	-rm -rf ptrepository SunWS_cache Templates.DB