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 scriptest
18 ctest_tcl.so
: ctest_tcl.o cppimpl.o expected.o
20 ctest_tcl.c
: ctest.h
test.h
22 swig
-tcl
-module ctest_tcl
-Wall
-includeall
-o
$@.new
$<
25 ctest_tcl.o
: ctest_tcl.c ctest.h
test.h
26 $(CC
) $(CFLAGS
) -include ctest.h
-c
$< -o
$@
30 .
/xplcidl c
++ $< >$@.new
35 .
/xplcidl c
$^
>$@.new
38 cppimpl.o cpptest.o
: test.hpp IObject.hpp
40 cimpl.o ctest.o
: test.h
42 cpptest
: cpptest.o cppimpl.o expected.o
44 ctest
: ctest.o cppimpl.o expected.o
46 scriptest-LIBS
=$(LIBUNICONF
)
47 scriptest
: scriptest.o
49 ptrtest-LIBS
=$(LIBWVBASE
)
51 scriptest.o
: IMulti.hpp
54 rm -f xplcidl
*test test.hpp
test.h
*.new
*_tcl.c \