1 | NULL= |
---|
2 | |
---|
3 | lib_LTLIBRARIES=libbonobo-activation.la |
---|
4 | |
---|
5 | INCLUDES= \ |
---|
6 | -I$(top_srcdir) \ |
---|
7 | -I$(top_builddir) \ |
---|
8 | -DSERVER_LIBEXECDIR=\""$(libexecdir)\"" \ |
---|
9 | -DBONOBO_ACTIVATION_LOCALEDIR=\""${prefix}/${DATADIRNAME}/locale"\" \ |
---|
10 | $(BONOBO_ACTIVATION_CFLAGS) \ |
---|
11 | -DVERSION=\"$(VERSION)\" \ |
---|
12 | -DG_DISABLE_DEPRECATED \ |
---|
13 | $(NULL) |
---|
14 | |
---|
15 | LDFLAGS= \ |
---|
16 | $(BONOBO_ACTIVATION_LIBS) \ |
---|
17 | @LT_VERSION_INFO@ \ |
---|
18 | $(NULL) |
---|
19 | |
---|
20 | bonobo_activationincludedir = $(includedir)/bonobo-activation-2.0/bonobo-activation |
---|
21 | |
---|
22 | bonobo_activationinclude_HEADERS= \ |
---|
23 | Bonobo_Unknown.h \ |
---|
24 | Bonobo_GenericFactory.h \ |
---|
25 | Bonobo_Activation_types.h \ |
---|
26 | bonobo-activation.h \ |
---|
27 | bonobo-activation-async.h \ |
---|
28 | bonobo-activation-base-service.h \ |
---|
29 | bonobo-activation-id.h \ |
---|
30 | bonobo-activation-activate.h \ |
---|
31 | bonobo-activation-init.h \ |
---|
32 | bonobo-activation-shlib.h \ |
---|
33 | bonobo-activation-register.h \ |
---|
34 | bonobo-activation-server-info.h \ |
---|
35 | bonobo-activation-async.h \ |
---|
36 | bonobo-activation-version.h \ |
---|
37 | $(NULL) |
---|
38 | |
---|
39 | |
---|
40 | libbonobo_activation_la_SOURCES= \ |
---|
41 | $(BUILT_SOURCES) \ |
---|
42 | bonobo-activation-get-language-list.c \ |
---|
43 | bonobo-activation-client.c \ |
---|
44 | bonobo-activation-client.h \ |
---|
45 | bonobo-activation-id.c \ |
---|
46 | bonobo-activation-private.h \ |
---|
47 | bonobo-activation-shlib.c \ |
---|
48 | bonobo-activation-activate.c \ |
---|
49 | bonobo-activation-activate-private.h \ |
---|
50 | bonobo-activation-base-service.c \ |
---|
51 | bonobo-activation-register.c \ |
---|
52 | bonobo-activation-server-info.c \ |
---|
53 | bonobo-activation-i18n.h \ |
---|
54 | bonobo-activation-fork-server.c \ |
---|
55 | bonobo-activation-init.c \ |
---|
56 | $(NULL) |
---|
57 | |
---|
58 | |
---|
59 | IDL_FLAGS = -I$(top_srcdir)/idl |
---|
60 | IDL_DIR = $(top_srcdir)/idl/ |
---|
61 | IDL_FILES = Bonobo_Unknown.idl \ |
---|
62 | Bonobo_GenericFactory.idl \ |
---|
63 | Bonobo_Activation_types.idl \ |
---|
64 | Bonobo_ObjectDirectory.idl \ |
---|
65 | Bonobo_ActivationContext.idl \ |
---|
66 | $(NULL) |
---|
67 | |
---|
68 | IDL_HEADER_FILES = $(IDL_FILES:.idl=.h) |
---|
69 | IDL_COMMONS = $(IDL_FILES:.idl=-common.c) |
---|
70 | IDL_SKELS = $(IDL_FILES:.idl=-skels.c) |
---|
71 | IDL_STUBS = $(IDL_FILES:.idl=-stubs.c) |
---|
72 | |
---|
73 | BUILT_SOURCES= $(IDL_HEADER_FILES) $(IDL_COMMONS) $(IDL_SKELS) $(IDL_STUBS) \ |
---|
74 | $(NULL) |
---|
75 | |
---|
76 | $(libbonobo_activation_la_OBJECTS): $(BUILT_SOURCES) |
---|
77 | |
---|
78 | %.h %-stubs.c %-skels.c %-common.c %-imodule.c %-skelimpl.c: $(IDL_DIR)%.idl $(ORBIT_IDL) |
---|
79 | echo "top_srcdir: $(top_srcdir)" |
---|
80 | echo "IDL_DIR: $(IDL_DIR)" |
---|
81 | echo "IDL file: $<" |
---|
82 | -(rm -f $(*).h $(*)-stubs.c $(*)-skels.c $(*)-common.c $(*)-imodule.c $(*)-skelimpl.c || true) > /dev/null |
---|
83 | $(ORBIT_IDL) $(IDL_FLAGS) "-D__$(*)_COMPILATION" --deps $(*D)/.deps/$(*F).idl.P $< |
---|
84 | |
---|
85 | if MAINTAINER_MODE |
---|
86 | DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) |
---|
87 | IDL_DEP_FILES = $(IDL_FILES:%.idl=.deps/%.idl.P) |
---|
88 | -include $(IDL_DEP_FILES) |
---|
89 | distclean-local: |
---|
90 | -rm -rf .deps |
---|
91 | endif |
---|
92 | |
---|
93 | |
---|
94 | CLEANFILES= \ |
---|
95 | $(BUILT_SOURCES) \ |
---|
96 | $(NULL) |
---|
97 | |
---|
98 | dist-hook: |
---|
99 | cd $(distdir) ; rm -f $(CLEANFILES) |
---|