summaryrefslogtreecommitdiff
path: root/libnautilus/Makefile.am
blob: ecde1a343cc28a6908cf29c24d240c1d35e1f0b1 (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
include $(top_srcdir)/Makefile.shared

lib_LTLIBRARIES=libnautilus.la

INCLUDES=-I$(top_srcdir) -I$(top_builddir) -I. \
	$(GNOME_CFLAGS) \
	$(GTK_CFLAGS) \
	$(BONOBOX_CFLAGS) \
	$(OAF_CFLAGS) \
	$(VFS_CFLAGS) \
	$(XML_CFLAGS) \
	-DDATADIR=\""$(datadir)"\" 		\
	-D_REENTRANT

libnautilus_la_LDFLAGS=\
	$(GNOME_LIBS) \
	$(OAF_LIBS) \
	$(BONOBOX_LIBS) \
	$(VFS_LIBS) \
	$(XML_LIBS) \
	$(LIBPNG)


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) $(IDL_CFLAGS) --define=NAUTILUS_VIEW_COMPONENT_COMPILATION $(srcdir)/nautilus-view-component.idl
	touch nautilus_view_component_idl_stamp

$(nautilus_distributed_undo_idl_sources): nautilus_distributed_undo_idl_stamp
nautilus_distributed_undo_idl_stamp: nautilus-distributed-undo.idl
	$(ORBIT_IDL) $(IDL_CFLAGS) $(srcdir)/nautilus-distributed-undo.idl
	touch nautilus_distributed_undo_idl_stamp

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

EXTRA_DIST = \
	$(ui_DATA)			\
	nautilus-view-component.idl	\
	nautilus-distributed-undo.idl	\
	$(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)