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

3 4 5 6 7
INCLUDES=-I$(top_srcdir) -I$(top_builddir) \
	$(GNOME_CFLAGS) \
	$(GNORBA_CFLAGS) \
	$(GDK_PIXBUF_CFLAGS) \
	$(WERROR)
Elliot Lee's avatar
Elliot Lee committed
8 9

nautilus_idl_sources=nautilus-stubs.c nautilus-skels.c nautilus.h nautilus-common.c
Elliot Lee's avatar
Elliot Lee committed
10
fsextension_idl_sources=fsextension-stubs.c fsextension-skels.c fsextension-common.c fsextension.h
Elliot Lee's avatar
Elliot Lee committed
11 12 13 14
BUILT_SOURCES=$(nautilus_idl_sources)

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

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

43 44
libnautilus_la_LDFLAGS=$(GNOME_LIBS) \
		       $(GNORBA_LIBS) \
45
		       $(GDK_PIXBUF_LIBS)
46

Elliot Lee's avatar
Elliot Lee committed
47
$(nautilus_idl_sources): nautilus_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
48
$(fsextension_idl_sources): fsextension_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
49 50 51 52 53

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
54 55 56 57 58
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