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

Darin Adler's avatar
Darin Adler committed
3
INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GNOME_CFLAGS) $(GNORBA_CFLAGS) $(WERROR)
Elliot Lee's avatar
Elliot Lee committed
4 5

nautilus_idl_sources=nautilus-stubs.c nautilus-skels.c nautilus.h nautilus-common.c
Elliot Lee's avatar
Elliot Lee committed
6
fsextension_idl_sources=fsextension-stubs.c fsextension-skels.c fsextension-common.c fsextension.h
Elliot Lee's avatar
Elliot Lee committed
7 8 9 10
BUILT_SOURCES=$(nautilus_idl_sources)

libnautilusincludedir=$(includedir)/libnautilus
libnautilusinclude_HEADERS=			\
Darin Adler's avatar
Darin Adler committed
11
	gdk-extensions.h			\
Elliot Lee's avatar
Elliot Lee committed
12 13 14 15 16 17 18
	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
19 20
	gtkscrollframe.h			\
	nautilus.h				\
21
	nautilus-file-utilities.h		\
Darin Adler's avatar
Darin Adler committed
22 23 24
	ntl-content-view-client.h		\
	ntl-meta-view-client.h			\
	ntl-view-client.h
Elliot Lee's avatar
Elliot Lee committed
25

Elliot Lee's avatar
Elliot Lee committed
26
libnautilus_la_SOURCES=$(nautilus_idl_sources)	\
Darin Adler's avatar
Darin Adler committed
27
	gdk-extensions.c			\
Elliot Lee's avatar
Elliot Lee committed
28 29 30 31
	gnome-icon-container-dnd.c		\
	gnome-icon-container-layout.c		\
	gnome-icon-container.c			\
	gtkflist.c				\
Darin Adler's avatar
Darin Adler committed
32
	gtkscrollframe.c			\
33
	nautilus-file-utilities.c		\
Darin Adler's avatar
Darin Adler committed
34 35
	ntl-content-view-client.c		\
	ntl-meta-view-client.c			\
Elliot Lee's avatar
Elliot Lee committed
36 37
	ntl-view-client.c			\
	$(fsextension_idl_sources)
Elliot Lee's avatar
Elliot Lee committed
38

39 40
libnautilus_la_LDFLAGS=$(GNOME_LIBS) $(GNORBA_LIBS) $(GDK_PIXBUF_LIBS)

Elliot Lee's avatar
Elliot Lee committed
41
$(nautilus_idl_sources): nautilus_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
42
$(fsextension_idl_sources): fsextension_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
43 44 45 46 47

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
48 49 50 51 52
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