]> git.pld-linux.org Git - packages/ORBit2.git/blob - ORBit2-Makefile.shared
- removed patching previously patched things...
[packages/ORBit2.git] / ORBit2-Makefile.shared
1 IDL_COMPILER = $(top_builddir)/src/idl-compiler/orbit-idl-2
2
3 %.h %-stubs.c %-skels.c %-common.c %-imodule.c %-skelimpl.c: $(IDL_DIR)%.idl $(IDL_COMPILER)
4         -(rm -f $(*).h $(*)-stubs.c $(*)-skels.c $(*)-common.c $(*)-imodule.c $(*)-skelimpl.c || true) > /dev/null
5         $(IDL_COMPILER) $(IDL_FLAGS) --deps $(*D)/.deps/$(*F).idl.P $< 
6         for I in $(*).h $(*)-stubs.c $(*)-skels.c $(*)-common.c $(*)-imodule.c $(*)-skelimpl.c; do \
7                 if test -f $$I; then \
8                         sed -e 's,OObject,Object,g' -e 's,TTypeCode,TypeCode,g' $$I > $$I.out; \
9                         mv $$I.out $$I ; \
10                 fi; \
11         done
12
13 if MAINTAINER_MODE
14 IDL_DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
15 IDL_DEP_FILES = $(IDL_FILES:%.idl=.deps/%.idl.P)
16 -include $(IDL_DEP_FILES)
17 distclean-local:
18         -rm -rf .deps
19 endif
This page took 0.055636 seconds and 3 git commands to generate.