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

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

libnautilusincludedir=$(includedir)/libnautilus
libnautilusinclude_HEADERS=			\
28
	libnautilus.h				\
29
	bonobo-stream-vfs.h			\
Darin Adler's avatar
Darin Adler committed
30
	gdk-extensions.h			\
Elliot Lee's avatar
Elliot Lee committed
31 32
	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.h				\
41
	nautilus-file-utilities.h		\
42
	nautilus-glib-extensions.h		\
43
	nautilus-gnome-extensions.h		\
44
	nautilus-gtk-extensions.h		\
45
	nautilus-icon-factory.h			\
46
	nautilus-icons-view-icon-item.h         \
47
	nautilus-metadata.h			\
48
	nautilus-mime-type.h			\
49
	nautilus-self-checks.h			\
50
	nautilus-string.h			\
51
	nautilus-zoomable.h			\
52 53 54
	ntl-content-view-frame.h		\
	ntl-meta-view-frame.h			\
	ntl-view-frame.h
Elliot Lee's avatar
Elliot Lee committed
55

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

$(nautilus_idl_sources): nautilus_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
88
$(fsextension_idl_sources): fsextension_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
89 90 91 92 93

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
94 95 96 97 98
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