Makefile.am 1.57 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 21 22 23
	gtkscrollframe.h			\
	nautilus.h				\
	ntl-content-view-client.h		\
	ntl-meta-view-client.h			\
	ntl-view-client.h
Elliot Lee's avatar
Elliot Lee committed
24

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

37 38
libnautilus_la_LDFLAGS=$(GNOME_LIBS) $(GNORBA_LIBS) $(GDK_PIXBUF_LIBS)

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

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
46 47 48 49 50
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