Makefile.am 2.02 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-background.h			\
26
	nautilus-file-utilities.h		\
27 28 29
	nautilus-gtk-extensions.h		\
	nautilus-lib-self-check-functions.h	\
	nautilus-self-checks.h			\
30
	nautilus-string.h			\
31 32 33
	ntl-content-view-frame.h		\
	ntl-meta-view-frame.h			\
	ntl-view-frame.h
Elliot Lee's avatar
Elliot Lee committed
34

Elliot Lee's avatar
Elliot Lee committed
35
libnautilus_la_SOURCES=$(nautilus_idl_sources)	\
Darin Adler's avatar
Darin Adler committed
36
	gdk-extensions.c			\
Elliot Lee's avatar
Elliot Lee committed
37 38 39 40
	gnome-icon-container-dnd.c		\
	gnome-icon-container-layout.c		\
	gnome-icon-container.c			\
	gtkflist.c				\
Darin Adler's avatar
Darin Adler committed
41
	gtkscrollframe.c			\
42 43
	nautilus-background.c			\
	nautilus-background-canvas-group.c	\
44
	nautilus-file-utilities.c		\
45
	nautilus-gtk-extensions.c		\
46 47
	nautilus-lib-self-check-functions.c	\
	nautilus-self-checks.c			\
48
	nautilus-string.c			\
49 50 51
	ntl-content-view-frame.c		\
	ntl-meta-view-frame.c			\
	ntl-view-frame.c			\
Elliot Lee's avatar
Elliot Lee committed
52
	$(fsextension_idl_sources)
Elliot Lee's avatar
Elliot Lee committed
53

54 55
libnautilus_la_LDFLAGS=$(GNOME_LIBS) \
		       $(GNORBA_LIBS) \
Elliot Lee's avatar
Elliot Lee committed
56
		       $(GDK_PIXBUF_LIBS) -lcanvas_pixbuf
57

Elliot Lee's avatar
Elliot Lee committed
58
$(nautilus_idl_sources): nautilus_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
59
$(fsextension_idl_sources): fsextension_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
60 61 62 63 64

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
65 66 67 68 69
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