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

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

11 12 13
libnautilus_la_LDFLAGS=\
	$(GNOME_LIBS) \
	$(GNORBA_LIBS) \
Havoc Pennington's avatar
Havoc Pennington committed
14
	$(GNOMECANVASPIXBUF_LIBS) \
15 16 17
	$(VFS_LIBS) \
	$(XML_LIBS)

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

libnautilusincludedir=$(includedir)/libnautilus
libnautilusinclude_HEADERS=			\
Darin Adler's avatar
Darin Adler committed
24
	gdk-extensions.h			\
Elliot Lee's avatar
Elliot Lee committed
25 26 27 28 29 30
	gnome-icon-container-dnd.h		\
	gnome-icon-container-private.h		\
	gnome-icon-container.h			\
	gnome-progressive-loader.c		\
	gnome-progressive-loader.h		\
	gtkflist.h				\
Darin Adler's avatar
Darin Adler committed
31 32
	gtkscrollframe.h			\
	nautilus.h				\
33
	nautilus-background.h			\
34
	nautilus-debug.h			\
35
	nautilus-directory.h			\
36
	nautilus-file-utilities.h		\
37
	nautilus-gtk-extensions.h		\
38
	nautilus-icons-controller.h		\
39 40
	nautilus-icons-view-icon-item.h         \
        nautilus-lib-self-check-functions.h	\
41
	nautilus-self-checks.h			\
42
	nautilus-string.h			\
43 44 45
	ntl-content-view-frame.h		\
	ntl-meta-view-frame.h			\
	ntl-view-frame.h
Elliot Lee's avatar
Elliot Lee committed
46

Elliot Lee's avatar
Elliot Lee committed
47
libnautilus_la_SOURCES=$(nautilus_idl_sources)	\
Darin Adler's avatar
Darin Adler committed
48
	gdk-extensions.c			\
Elliot Lee's avatar
Elliot Lee committed
49 50 51
	gnome-icon-container-dnd.c		\
	gnome-icon-container.c			\
	gtkflist.c				\
Darin Adler's avatar
Darin Adler committed
52
	gtkscrollframe.c			\
53 54
	nautilus-background.c			\
	nautilus-background-canvas-group.c	\
55
	nautilus-debug.c			\
56
	nautilus-directory.c			\
57
	nautilus-file-utilities.c		\
58
	nautilus-gtk-extensions.c		\
59
	nautilus-icons-controller.c		\
60
	nautilus-icons-view-icon-item.c         \
61 62
	nautilus-lib-self-check-functions.c	\
	nautilus-self-checks.c			\
63
	nautilus-string.c			\
64 65 66
	ntl-content-view-frame.c		\
	ntl-meta-view-frame.c			\
	ntl-view-frame.c			\
Elliot Lee's avatar
Elliot Lee committed
67
	$(fsextension_idl_sources)
Elliot Lee's avatar
Elliot Lee committed
68 69

$(nautilus_idl_sources): nautilus_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
70
$(fsextension_idl_sources): fsextension_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
71 72 73 74 75

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
76 77 78 79 80
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