Makefile.am 2.31 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
	$(WERROR)
Elliot Lee's avatar
Elliot Lee committed
11

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

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

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

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

$(nautilus_idl_sources): nautilus_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
73
$(fsextension_idl_sources): fsextension_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
74 75 76 77 78

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
79 80 81 82 83
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