summaryrefslogtreecommitdiff
path: root/libnautilus/Makefile.am
blob: 5c40bc7a6fd43361cdecc5c2002ecc4e6bccdfcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
include $(top_srcdir)/Makefile.shared

lib_LTLIBRARIES=libnautilus.la

INCLUDES=\
	-I$(builddir) \
	-I$(top_srcdir) \
	-I$(top_builddir) \
	$(LIBNAUTILUS_CFLAGS) \
	-DDATADIR=\""$(datadir)"\" \
	$(NULL)

libnautilus_la_LDFLAGS=\
	$(NULL)

nautilus_view_component_idl_sources =		\
	nautilus-view-component-stubs.c		\
	nautilus-view-component-skels.c		\
	nautilus-view-component.h		\
	nautilus-view-component-common.c

nautilus_distributed_undo_idl_sources =	\
	nautilus-distributed-undo-stubs.c	\
	nautilus-distributed-undo-skels.c	\
	nautilus-distributed-undo.h		\
	nautilus-distributed-undo-common.c

libnautilusincludedir=$(includedir)/libnautilus

libnautilusinclude_HEADERS=			\
	libnautilus.h				\
	nautilus-bonobo-ui.h			\
	nautilus-bonobo-workarounds.h		\
	nautilus-clipboard.h			\
	nautilus-distributed-undo.h		\
	nautilus-idle-queue.h			\
	nautilus-view-component.h		\
	nautilus-view.h				\
	nautilus-view-standard-main.h		\
	nautilus-undo.h				\
	nautilus-undo-private.h			\
	$(NULL)

libnautilus_la_SOURCES=					\
	$(nautilus_view_component_idl_sources)		\
	$(nautilus_distributed_undo_idl_sources)	\
	nautilus-bonobo-workarounds.c			\
	nautilus-clipboard.c				\
	nautilus-idle-queue.c				\
	nautilus-undo-transaction.c			\
	nautilus-undo-transaction.h			\
	nautilus-undo.c					\
	nautilus-view.c					\
	nautilus-view-standard-main.c			\
	$(NULL)

$(nautilus_view_component_idl_sources): nautilus_view_component_idl_stamp
nautilus_view_component_idl_stamp: nautilus-view-component.idl
	$(ORBIT_IDL) $(LIBNAUTILUS_IDL_INCLUDES) --define=NAUTILUS_VIEW_COMPONENT_COMPILATION $<
	touch $@

$(nautilus_distributed_undo_idl_sources): nautilus_distributed_undo_idl_stamp
nautilus_distributed_undo_idl_stamp: nautilus-distributed-undo.idl
	$(ORBIT_IDL) $(LIBNAUTILUS_IDL_INCLUDES) $<
	touch $@

$(libnautilus_la_OBJECTS): nautilus_view_component_idl_stamp nautilus_distributed_undo_idl_stamp

uidir = $(datadir)/gnome/ui
ui_DATA = \
	nautilus-clipboard-ui.xml	\
	$(NULL)

idldir = $(datadir)/idl
idl_DATA = \
	nautilus-view-component.idl	\
	nautilus-distributed-undo.idl	\
	$(NULL)

EXTRA_DIST = \
	$(ui_DATA)			\
	$(idl_DATA)			\
	$(NULL)

BUILT_SOURCES = \
	$(nautilus_view_component_idl_sources)		\
	$(nautilus_distributed_undo_idl_sources)	\
	$(NULL)

CLEANFILES = \
	$(nautilus_view_component_idl_sources)		\
	nautilus_view_component_idl_stamp		\
	$(nautilus_distributed_undo_idl_sources)	\
	nautilus_distributed_undo_idl_stamp             \
	$(NULL)

dist-hook:
	cd $(distdir); rm -f $(CLEANFILES)