Makefile.am 2.57 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 19 20
	$(VFS_LIBS) \
	$(XML_LIBS)

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

libnautilusincludedir=$(includedir)/libnautilus
libnautilusinclude_HEADERS=			\
27
	bonobo-stream-vfs.h			\
Darin Adler's avatar
Darin Adler committed
28
	gdk-extensions.h			\
Elliot Lee's avatar
Elliot Lee committed
29 30 31 32
	gnome-icon-container-dnd.h		\
	gnome-icon-container-private.h		\
	gnome-icon-container.h			\
	gtkflist.h				\
Darin Adler's avatar
Darin Adler committed
33 34
	gtkscrollframe.h			\
	nautilus.h				\
35
	nautilus-alloc.h			\
36
	nautilus-background.h			\
37
	nautilus-bookmark.h			\
38
	nautilus-debug.h			\
39
	nautilus-directory.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 46
	nautilus-icons-view-icon-item.h         \
        nautilus-lib-self-check-functions.h	\
47
	nautilus-metadata.h			\
48
	nautilus-self-checks.h			\
49
	nautilus-string.h			\
50 51 52
	ntl-content-view-frame.h		\
	ntl-meta-view-frame.h			\
	ntl-view-frame.h
Elliot Lee's avatar
Elliot Lee committed
53

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

$(nautilus_idl_sources): nautilus_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
83
$(fsextension_idl_sources): fsextension_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
84 85 86 87 88

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
89 90 91 92 93
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