Makefile.am 2.94 KB
Newer Older
1 2
NULL=

Elliot Lee's avatar
Elliot Lee committed
3 4
lib_LTLIBRARIES=libnautilus.la

5 6
INCLUDES=-I$(top_srcdir) -I$(top_builddir) \
	$(GNOME_CFLAGS) \
7
	$(BONOBO_CFLAGS) \
8
	$(GNORBA_CFLAGS) \
Havoc Pennington's avatar
Havoc Pennington committed
9
	$(GNOMECANVASPIXBUF_INCLUDEDIR) \
10 11
	$(VFS_CFLAGS) \
	$(XML_CFLAGS) \
12 13
	$(WERROR) \
	-D_REENTRANT
Elliot Lee's avatar
Elliot Lee committed
14

15 16 17
libnautilus_la_LDFLAGS=\
	$(GNOME_LIBS) \
	$(GNORBA_LIBS) \
18
	$(BONOBO_LIBS) \
Havoc Pennington's avatar
Havoc Pennington committed
19
	$(GNOMECANVASPIXBUF_LIBS) \
20
	$(VFS_LIBS) \
21 22
	$(XML_LIBS) \
	$(LIBPNG)
23

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

libnautilusincludedir=$(includedir)/libnautilus
libnautilusinclude_HEADERS=			\
30
	bonobo-stream-vfs.h			\
Darin Adler's avatar
Darin Adler committed
31
	gdk-extensions.h			\
Elliot Lee's avatar
Elliot Lee committed
32 33
	gnome-icon-container.h			\
	gtkflist.h				\
Darin Adler's avatar
Darin Adler committed
34
	gtkscrollframe.h			\
35
	libnautilus.h				\
36
	nautilus-alloc.h			\
37
	nautilus-background.h			\
38
	nautilus-bonobo-extensions.h		\
39
	nautilus-bookmark.h			\
40
	nautilus-debug.h			\
41
	nautilus-directory.h			\
42
	nautilus-file-utilities.h		\
43
	nautilus-file.h				\
44
	nautilus-glib-extensions.h		\
45
	nautilus-global-preferences.h		\
46
	nautilus-gnome-extensions.h		\
47
	nautilus-gtk-extensions.h		\
48
	nautilus-icon-factory.h			\
49
	nautilus-icons-view-icon-item.h         \
50
	nautilus-metadata.h			\
51
	nautilus-mime-type.h			\
52
	nautilus-self-checks.h			\
53
	nautilus-string-list.h			\
54
	nautilus-string.h			\
55
	nautilus-xml-extensions.h		\
56
	nautilus-zoomable.h			\
57
	nautilus.h				\
58 59
	ntl-content-view-frame.h		\
	ntl-meta-view-frame.h			\
60 61
	ntl-view-frame.h			\
	$(NULL)
Elliot Lee's avatar
Elliot Lee committed
62

Elliot Lee's avatar
Elliot Lee committed
63
libnautilus_la_SOURCES=$(nautilus_idl_sources)	\
64
	bonobo-stream-vfs.c			\
Darin Adler's avatar
Darin Adler committed
65
	gdk-extensions.c			\
Elliot Lee's avatar
Elliot Lee committed
66
	gnome-icon-container.c			\
67 68
	gnome-icon-container-dnd.c		\
	gnome-icon-container-grid.c		\
Elliot Lee's avatar
Elliot Lee committed
69
	gtkflist.c				\
Darin Adler's avatar
Darin Adler committed
70
	gtkscrollframe.c			\
71
	nautilus-background-canvas-group.c	\
72
	nautilus-background.c			\
73
	nautilus-bonobo-extensions.c		\
74
	nautilus-bookmark.c			\
75
	nautilus-debug.c			\
76 77
	nautilus-default-file-icon.c		\
	nautilus-default-file-icon.h		\
78
	nautilus-directory.c			\
79
	nautilus-file-utilities.c		\
80
	nautilus-file.c				\
81
	nautilus-glib-extensions.c		\
82
	nautilus-global-preferences.c		\
83
	nautilus-gnome-extensions.c		\
84
	nautilus-gtk-extensions.c		\
85
	nautilus-icon-factory.c			\
86
	nautilus-icons-view-icon-item.c         \
87
	nautilus-lib-self-check-functions.c	\
88
	nautilus-mime-type.c			\
89
	nautilus-self-checks.c			\
90
	nautilus-string-list.c			\
91
	nautilus-string.c			\
92
	nautilus-xml-extensions.c		\
93
	nautilus-zoomable.c			\
94 95 96
	ntl-content-view-frame.c		\
	ntl-meta-view-frame.c			\
	ntl-view-frame.c			\
97 98
	$(fsextension_idl_sources)		\
	$(NULL)
Elliot Lee's avatar
Elliot Lee committed
99 100

$(nautilus_idl_sources): nautilus_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
101
$(fsextension_idl_sources): fsextension_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
102 103 104 105 106

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
107 108 109 110 111
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