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

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

11 12 13 14 15 16 17
libnautilus_la_LDFLAGS=\
	$(GNOME_LIBS) \
	$(GNORBA_LIBS) \
	$(GDK_PIXBUF_LIBS) -lcanvas_pixbuf \
	$(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 31
	gnome-icon-container-dnd.h		\
	gnome-icon-container-layout.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
32 33
	gtkscrollframe.h			\
	nautilus.h				\
34
	nautilus-background.h			\
35
	nautilus-directory.h			\
36
	nautilus-file-utilities.h		\
37 38 39
	nautilus-gtk-extensions.h		\
	nautilus-lib-self-check-functions.h	\
	nautilus-self-checks.h			\
40
	nautilus-string.h			\
41 42 43
	ntl-content-view-frame.h		\
	ntl-meta-view-frame.h			\
	ntl-view-frame.h
Elliot Lee's avatar
Elliot Lee committed
44

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

$(nautilus_idl_sources): nautilus_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
66
$(fsextension_idl_sources): fsextension_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
67 68 69 70 71

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
72 73 74 75 76
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