Makefile.am 2.61 KB
Newer Older
Elliot Lee's avatar
Elliot Lee committed
1 2
lib_LTLIBRARIES=libnautilus.la

3 4
INCLUDES=-I$(top_srcdir) -I$(top_builddir) \
	$(GNOME_CFLAGS) \
5
	$(BONOBO_CFLAGS) \
6
	$(GNORBA_CFLAGS) \
Havoc Pennington's avatar
Havoc Pennington committed
7
	$(GNOMECANVASPIXBUF_INCLUDEDIR) \
8 9
	$(VFS_CFLAGS) \
	$(XML_CFLAGS) \
10 11
	$(WERROR) \
	-D_REENTRANT
Elliot Lee's avatar
Elliot Lee committed
12

13 14 15
libnautilus_la_LDFLAGS=\
	$(GNOME_LIBS) \
	$(GNORBA_LIBS) \
16
	$(BONOBO_LIBS) \
Havoc Pennington's avatar
Havoc Pennington committed
17
	$(GNOMECANVASPIXBUF_LIBS) \
18
	$(VFS_LIBS) \
19 20
	$(XML_LIBS) \
	$(LIBPNG)
21

Elliot Lee's avatar
Elliot Lee committed
22
nautilus_idl_sources=nautilus-stubs.c nautilus-skels.c nautilus.h nautilus-common.c
Elliot Lee's avatar
Elliot Lee committed
23
fsextension_idl_sources=fsextension-stubs.c fsextension-skels.c fsextension-common.c fsextension.h
Elliot Lee's avatar
Elliot Lee committed
24 25 26 27
BUILT_SOURCES=$(nautilus_idl_sources)

libnautilusincludedir=$(includedir)/libnautilus
libnautilusinclude_HEADERS=			\
28
	bonobo-stream-vfs.h			\
Darin Adler's avatar
Darin Adler committed
29
	gdk-extensions.h			\
Elliot Lee's avatar
Elliot Lee committed
30 31
	gnome-icon-container.h			\
	gtkflist.h				\
Darin Adler's avatar
Darin Adler committed
32 33
	gtkscrollframe.h			\
	nautilus.h				\
34
	nautilus-alloc.h			\
35
	nautilus-background.h			\
36
	nautilus-bookmark.h			\
37
	nautilus-debug.h			\
38
	nautilus-directory.h			\
39
	nautilus-file.h				\
40
	nautilus-file-utilities.h		\
41
	nautilus-glib-extensions.h		\
42
	nautilus-gtk-extensions.h		\
43
	nautilus-icon-factory.h			\
44
	nautilus-icons-controller.h		\
45
	nautilus-icons-view-icon-item.h         \
46
	nautilus-metadata.h			\
47
	nautilus-mime-type.h			\
48
	nautilus-self-checks.h			\
49
	nautilus-string.h			\
50
	nautilus-zoomable.h			\
51 52 53
	ntl-content-view-frame.h		\
	ntl-meta-view-frame.h			\
	ntl-view-frame.h
Elliot Lee's avatar
Elliot Lee committed
54

Elliot Lee's avatar
Elliot Lee committed
55
libnautilus_la_SOURCES=$(nautilus_idl_sources)	\
56
	bonobo-stream-vfs.c			\
Darin Adler's avatar
Darin Adler committed
57
	gdk-extensions.c			\
Elliot Lee's avatar
Elliot Lee committed
58 59 60
	gnome-icon-container-dnd.c		\
	gnome-icon-container.c			\
	gtkflist.c				\
Darin Adler's avatar
Darin Adler committed
61
	gtkscrollframe.c			\
62 63
	nautilus-background.c			\
	nautilus-background-canvas-group.c	\
64
	nautilus-bookmark.c			\
65
	nautilus-debug.c			\
66 67
	nautilus-default-file-icon.c		\
	nautilus-default-file-icon.h		\
68
	nautilus-directory.c			\
69
	nautilus-file.c				\
70
	nautilus-file-utilities.c		\
71
	nautilus-glib-extensions.c		\
72
	nautilus-gtk-extensions.c		\
73
	nautilus-icon-factory.c			\
74
	nautilus-icons-controller.c		\
75
	nautilus-icons-view-icon-item.c         \
76
	nautilus-lib-self-check-functions.c	\
77
	nautilus-mime-type.c			\
78
	nautilus-self-checks.c			\
79
	nautilus-string.c			\
80
	nautilus-zoomable.c			\
81 82 83
	ntl-content-view-frame.c		\
	ntl-meta-view-frame.c			\
	ntl-view-frame.c			\
Elliot Lee's avatar
Elliot Lee committed
84
	$(fsextension_idl_sources)
Elliot Lee's avatar
Elliot Lee committed
85 86

$(nautilus_idl_sources): nautilus_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
87
$(fsextension_idl_sources): fsextension_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
88 89 90 91 92

nautilus_idl_stamp: $(top_srcdir)/idl/nautilus.idl
	orbit-idl `gnome-config --cflags idl` $(top_srcdir)/idl/nautilus.idl
	touch nautilus_idl_stamp

Elliot Lee's avatar
Elliot Lee committed
93 94 95 96 97
fsextension_idl_stamp: $(top_srcdir)/idl/fsextension.idl
	orbit-idl `gnome-config --cflags idl` $(top_srcdir)/idl/fsextension.idl
	touch fsextension_idl_stamp

CLEANFILES=nautilus_idl_stamp fsextension_idl_stamp