Makefile.am 1.81 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		\
26 27
	nautilus-lib-self-check-functions.c	\
	nautilus-self-checks.c			\
Darin Adler's avatar
Darin Adler committed
28 29 30
	ntl-content-view-client.h		\
	ntl-meta-view-client.h			\
	ntl-view-client.h
Elliot Lee's avatar
Elliot Lee committed
31

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

47 48
libnautilus_la_LDFLAGS=$(GNOME_LIBS) \
		       $(GNORBA_LIBS) \
49
		       $(GDK_PIXBUF_LIBS)
50

Elliot Lee's avatar
Elliot Lee committed
51
$(nautilus_idl_sources): nautilus_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
52
$(fsextension_idl_sources): fsextension_idl_stamp
Elliot Lee's avatar
Elliot Lee committed
53 54 55 56 57

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
58 59 60 61 62
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