1 WVSTREAMS
=$(PWD
)/..
/niti
/src
/wvstreams
5 CFLAGS
+=$(shell pkg-config
--cflags libIDL
) -I
/usr
/include/libIDL-2.0
6 xplcidl-LIBS
+=-lIDL-2
$(LIBUNICONF
)
8 default
: cpptest ctest scriptest
12 test: cpptest ctest ctest_tcl.so
17 ctest_tcl.so
: ctest_tcl.o cppimpl.o expected.o
19 ctest_tcl.c
: ctest.h
test.h
21 swig
-tcl
-module ctest_tcl
-Wall
-includeall
-o
$@.new
$<
24 ctest_tcl.o
: ctest_tcl.c ctest.h
test.h
25 $(CC
) $(CFLAGS
) -include ctest.h
-c
$< -o
$@
29 .
/xplcidl c
++ $< >$@.new
34 .
/xplcidl c
$^
>$@.new
37 cppimpl.o cpptest.o
: test.hpp IObject.hpp
39 cimpl.o ctest.o
: test.h
41 cpptest
: cpptest.o cppimpl.o expected.o
43 ctest
: ctest.o cppimpl.o expected.o
45 scriptest-LIBS
=$(LIBUNICONF
)
46 scriptest
: scriptest.o
48 scriptest.o
: IMulti.hpp
51 rm -f xplcidl
*test test.hpp
test.h
*.new
*_tcl.c \