1dce_includes=-I$(top_srcdir)/include -I$(top_builddir)/include @DCETHREADINCLUDES@
2
3BASE_CPPFLAGS=$(dce_includes)
4
5AM_CPPFLAGS=$(BASE_CPPFLAGS)
6AM_CFLAGS=$(BASE_CFLAGS)
7
8SUFFIXES=.idl
9
10# TODO-2008/0124-dalmeida - More correct naming of variable.
11IDL_CPPFLAGS=$(IDL_CFLAGS)
12
13IDL=$(top_builddir)/idl_compiler/dceidl
14IDL_INCLUDE_DIR=$(top_srcdir)/include/dce
15IDL_INCLUDES=-I$(top_srcdir)/include -I$(top_builddir)/include
16
17MODULELDFLAGS=-module -avoid-version -export-dynamic -export-symbols-regex rpc__module_init_func
18
19# ylwrap is provided by automake as a wrapper to allow multiple invocations in
20# a single directory.
21
22YLWRAP = $(top_srcdir)/build/ylwrap
23
24%.h: %.idl
25	$(IDL) $(IDL_INCLUDES) $(IDL_CFLAGS) -cepv -client none -server none -no_mepv $<
26
27# Create default message strings from a msg file
28#%_defmsg.h:	%.msg
29#	echo $(RM) $(RMFLAGS) $@
30#	echo $(SED) -e '/^\$$/d;/^$$/d;s/^[^ ]* /"/;s/$$/",/;' $< > $@
31
32#%.cat:	%.msg
33#	$(RM) $(RMFLAGS) $@
34#	$(GENCAT) $@ $<
35