Makefile.am 2.43 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-icon-factory.h			\
41
	nautilus-icons-controller.h		\
42 43
	nautilus-icons-view-icon-item.h         \
        nautilus-lib-self-check-functions.h	\
44
	nautilus-self-checks.h			\
45
	nautilus-string.h			\
46 47 48
	ntl-content-view-frame.h		\
	ntl-meta-view-frame.h			\
	ntl-view-frame.h
Elliot Lee's avatar
Elliot Lee committed
49

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

$(nautilus_idl_sources): nautilus_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
77
$(fsextension_idl_sources): fsextension_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
78 79 80 81 82

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
83 84 85 86 87
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