source: trunk/ORBit2-2.14.0/test/Makefile.am@ 265

Last change on this file since 265 was 92, checked in by cinc, 19 years ago

Orbit2 modified for use with NOM

File size: 2.4 KB
Line 
1SUBDIRS = everything inhibit poa
2
3INCLUDES = \
4 -I$(top_srcdir)/include \
5 -I$(top_srcdir)/src/orb \
6 -I$(top_builddir)/include \
7 -DORBIT2_INTERNAL_API \
8 $(WARN_CFLAGS) \
9 $(ORBIT_DEBUG_CFLAGS) \
10 $(LOCAL_LINC_CFLAGS) \
11 $(ORBIT_CFLAGS)
12
13bin_PROGRAMS=ior-decode-2 typelib-dump
14noinst_PROGRAMS=test1 \
15 echo-client echo-client-t echo-server \
16 empty-client empty-server \
17 test-any-client test-any-server
18
19check_PROGRAMS = test-dynany test-mem test-performance test-giop test-corbaloc
20
21TESTS = $(check_PROGRAMS)
22
23LDADD = $(top_builddir)/src/orb/libORBit-2.la $(ORBIT_LIBS)
24
25test_corbaloc_SOURCES = test-corbaloc.c
26
27test_performance_SOURCES = \
28 test-performance.c \
29 test1.h \
30 test1-skels.c \
31 test1-common.c
32
33test_giop_SOURCES = \
34 test-giop.c \
35 test-giop-frag.h
36
37TEST_ANY_IDLOUT=test-any.h test-any-common.c test-any-stubs.c test-any-skels.c
38test_any_client_SOURCES=test-any-client.c $(TEST_ANY_IDLOUT)
39test_any_server_SOURCES=test-any-server.c $(TEST_ANY_IDLOUT)
40$(srcdir)/test-any-client.c $(srcdir)/test-any-server.c: test-any.h
41
42ECHO_IDLOUT=echo.h echo-common.c echo-stubs.c echo-skels.c
43echo_client_SOURCES=echo-client.c $(ECHO_IDLOUT)
44echo_client_t_SOURCES=echo-client-t.c $(ECHO_IDLOUT)
45echo_server_SOURCES=echo-server.c echo-srv.c $(ECHO_IDLOUT) echo-share.h$
46$(srcdir)/echo-client-t.c $(srcdir)/echo-client.c $(srcdir)/echo-server.c $(srcdir)/echo-srv.c: echo.h
47
48EMPTY_IDLOUT=empty.h empty-common.c empty-stubs.c empty-skels.c
49empty_client_SOURCES=empty-client.c $(EMPTY_IDLOUT)
50empty_server_SOURCES=empty-server.c $(EMPTY_IDLOUT)
51$(srcdir)/empty-client.c $(srcdir)/empty-server.c: empty.h
52
53IDLOUT=test1-stubs.c test1-skels.c test1-common.c test1.h
54test1_SOURCES=test1.c $(IDLOUT)
55$(srcdir)/test1.c: test1.h
56
57test_mem_SOURCES=test-mem.c $(IDLOUT)
58
59ior_decode_2_SOURCES=ior-decode.c
60
61typelib_dump_SOURCES=typelib-dump.c
62
63DYNANY_IDLOUT=dynany.h dynany-common.c dynany-skels.c dynany-stubs.c
64test_dynany_SOURCES=$(DYNANY_IDLOUT) test-dynany.c
65test_dynany_LDFLAGS=$(LIBM)
66
67IDL_FLAGS = --showcpperrors
68IDL_FILES=echo.idl empty.idl test-any.idl test1.idl dynany.idl
69include $(top_srcdir)/Makefile.shared
70
71BUILT_SOURCES = \
72 $(EMPTY_IDLOUT) \
73 $(ECHO_IDLOUT) \
74 $(IDLOUT) \
75 $(TEST_ANY_IDLOUT) \
76 $(DYNANY_IDLOUT)
77
78CLEANFILES = $(BUILT_SOURCES)
79EXTRA_DIST = $(IDL_FILES)
80
81dist-hook:
82 cd $(distdir); rm -f $(BUILT_SOURCES)
Note: See TracBrowser for help on using the repository browser.