Makefile.am 5.49 KB
Newer Older
1
include $(top_srcdir)/Makefile.shared
2

3
noinst_LTLIBRARIES=libnautilus-private.la
Elliot Lee's avatar
Elliot Lee committed
4

5
AM_CPPFLAGS = 						\
6 7
	-I$(top_srcdir) 				\
	-I$(top_builddir) 				\
8
	-I$(top_srcdir)/libgd                           \
9 10 11
	$(BASE_CFLAGS)					\
	$(COMMON_CFLAGS)				\
	$(NAUTILUS_CFLAGS)				\
12
	$(WARNING_CFLAGS)				\
13
	$(DISABLE_DEPRECATED)				\
14
	$(TRACKER_CFLAGS)				\
15 16
	-DDATADIR=\""$(datadir)"\" 			\
	-DNAUTILUS_DATADIR=\""$(datadir)/nautilus"\" 	\
17
	-DNAUTILUS_EXTENSIONDIR=\""$(libdir)/nautilus/extensions-3.0"\" \
Darin Adler's avatar
Darin Adler committed
18
	$(NULL)
Elliot Lee's avatar
Elliot Lee committed
19

20 21 22
# Basic sanity checks
$(if $(GLIB_MKENUMS),,$(error Need to define GLIB_MKENUMS))

23 24 25 26 27 28
if ENABLE_TRACKER
nautilus_tracker_engine_sources = \
	nautilus-search-engine-tracker.c \
	nautilus-search-engine-tracker.h
endif

29 30 31 32 33
BUILT_SOURCES = 					\
	nautilus-private-enum-types.h			\
	nautilus-private-enum-types.c			\
	$(NULL)

34 35 36 37
ENUM_TYPES =						\
	nautilus-query.h				\
	nautilus-search-provider.h

38 39 40 41 42 43 44

nautilus-private-enum-types.h: nautilus-private-enum-types.h.template $(ENUM_TYPES) $(GLIB_MKENUMS)
	$(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template nautilus-private-enum-types.h.template $(ENUM_TYPES)) > $@

nautilus-private-enum-types.c: nautilus-private-enum-types.c.template $(ENUM_TYPES) $(GLIB_MKENUMS)
	$(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template nautilus-private-enum-types.c.template $(ENUM_TYPES)) > $@

45
libnautilus_private_la_LDFLAGS =	\
46
	-no-undefined			\
47
	$(NULL)
48

49
libnautilus_private_la_LIBADD =		\
50
	$(SELINUX_LIBS)			\
51
	$(TRACKER_LIBS)			\
52
	$(top_builddir)/eel/libeel-2.la \
53
	$(top_builddir)/libnautilus-extension/libnautilus-extension.la \
54
	$(top_builddir)/libgd/libgd.la  \
55 56 57
	$(BASE_LIBS)			\
	$(COMMON_LIBS)			\
	$(NAUTILUS_LIBS)		\
58
	-lm				\
59
	$(NULL)
60

61
libnautilus_private_la_SOURCES = \
Darin Adler's avatar
Darin Adler committed
62
	nautilus-bookmark.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
63
	nautilus-bookmark.h \
64 65 66 67 68 69 70
	nautilus-canvas-container.c \
	nautilus-canvas-container.h \
	nautilus-canvas-dnd.c \
	nautilus-canvas-dnd.h \
	nautilus-canvas-item.c \
	nautilus-canvas-item.h \
	nautilus-canvas-private.h \
71 72
	nautilus-clipboard-monitor.c \
	nautilus-clipboard-monitor.h \
Alexander Larsson's avatar
Alexander Larsson committed
73 74
	nautilus-clipboard.c \
	nautilus-clipboard.h \
75 76 77 78
	nautilus-column-chooser.c \
	nautilus-column-chooser.h \
	nautilus-column-utilities.c \
	nautilus-column-utilities.h \
79 80
	nautilus-debug.c \
	nautilus-debug.h \
Darin Adler's avatar
Darin Adler committed
81
	nautilus-default-file-icon.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
82
	nautilus-default-file-icon.h \
Alexander Larsson's avatar
Alexander Larsson committed
83 84
	nautilus-desktop-directory-file.c \
	nautilus-desktop-directory-file.h \
Alexander Larsson's avatar
Alexander Larsson committed
85 86
	nautilus-desktop-directory.c \
	nautilus-desktop-directory.h \
Alexander Larsson's avatar
Alexander Larsson committed
87 88 89 90
	nautilus-desktop-icon-file.c \
	nautilus-desktop-icon-file.h \
	nautilus-desktop-link-monitor.c \
	nautilus-desktop-link-monitor.h \
Alexander Larsson's avatar
Alexander Larsson committed
91 92
	nautilus-desktop-link.c \
	nautilus-desktop-link.h \
93 94
	nautilus-desktop-metadata.c \
	nautilus-desktop-metadata.h \
Darin Adler's avatar
Darin Adler committed
95
	nautilus-directory-async.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
96 97
	nautilus-directory-notify.h \
	nautilus-directory-private.h \
Darin Adler's avatar
Darin Adler committed
98
	nautilus-directory.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
99
	nautilus-directory.h \
100 101
	nautilus-dnd.c \
	nautilus-dnd.h \
Darin Adler's avatar
Darin Adler committed
102
	nautilus-entry.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
103 104
	nautilus-entry.h \
	nautilus-file-attributes.h \
Darin Adler's avatar
Darin Adler committed
105
	nautilus-file-changes-queue.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
106
	nautilus-file-changes-queue.h \
107 108
	nautilus-file-conflict-dialog.c \
	nautilus-file-conflict-dialog.h \
Darin Adler's avatar
Darin Adler committed
109
	nautilus-file-dnd.c \
110
	nautilus-file-dnd.h \
Darin Adler's avatar
Darin Adler committed
111
	nautilus-file-operations.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
112 113
	nautilus-file-operations.h \
	nautilus-file-private.h \
Darin Adler's avatar
Darin Adler committed
114 115 116
	nautilus-file-queue.c \
	nautilus-file-queue.h \
	nautilus-file-utilities.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
117
	nautilus-file-utilities.h \
Darin Adler's avatar
Darin Adler committed
118
	nautilus-file.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
119
	nautilus-file.h \
Darin Adler's avatar
Darin Adler committed
120
	nautilus-global-preferences.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
121
	nautilus-global-preferences.h \
Alexander Larsson's avatar
Alexander Larsson committed
122 123
	nautilus-icon-info.c \
	nautilus-icon-info.h \
124
	nautilus-icon-names.h \
125 126
	nautilus-keyfile-metadata.c \
	nautilus-keyfile-metadata.h \
Darin Adler's avatar
Darin Adler committed
127
	nautilus-lib-self-check-functions.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
128
	nautilus-lib-self-check-functions.h \
Darin Adler's avatar
Darin Adler committed
129 130
	nautilus-link.c \
	nautilus-link.h \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
131
	nautilus-metadata.h \
Alexander Larsson's avatar
Alexander Larsson committed
132
	nautilus-metadata.c \
Alexander Larsson's avatar
Alexander Larsson committed
133 134
	nautilus-mime-application-chooser.c \
	nautilus-mime-application-chooser.h \
135 136
	nautilus-module.c \
	nautilus-module.h \
Darin Adler's avatar
Darin Adler committed
137
	nautilus-monitor.c \
138
	nautilus-monitor.h \
William Jon McCann's avatar
William Jon McCann committed
139 140
	nautilus-profile.c \
	nautilus-profile.h \
Alexander Larsson's avatar
Alexander Larsson committed
141 142
	nautilus-progress-info.c \
	nautilus-progress-info.h \
143 144
	nautilus-progress-info-manager.c \
	nautilus-progress-info-manager.h \
Darin Adler's avatar
Darin Adler committed
145
	nautilus-program-choosing.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
146
	nautilus-program-choosing.h \
147
	nautilus-recent.c \
Alexander Larsson's avatar
Alexander Larsson committed
148
	nautilus-recent.h \
149 150 151 152
	nautilus-search-directory.c \
	nautilus-search-directory.h \
	nautilus-search-directory-file.c \
	nautilus-search-directory-file.h \
153 154
	nautilus-search-provider.c \
	nautilus-search-provider.h \
155 156
	nautilus-search-engine.c \
	nautilus-search-engine.h \
157 158
	nautilus-search-engine-model.c \
	nautilus-search-engine-model.h \
159 160
	nautilus-search-engine-simple.c \
	nautilus-search-engine-simple.h \
161 162
	nautilus-search-hit.c \
	nautilus-search-hit.h \
163 164
	nautilus-selection-canvas-item.c \
	nautilus-selection-canvas-item.h \
Alexander Larsson's avatar
Alexander Larsson committed
165 166
	nautilus-signaller.h \
	nautilus-signaller.c \
167 168
	nautilus-query.c \
	nautilus-query.h \
Darin Adler's avatar
Darin Adler committed
169 170 171
	nautilus-thumbnails.c \
	nautilus-thumbnails.h \
	nautilus-trash-monitor.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
172
	nautilus-trash-monitor.h \
173 174
	nautilus-tree-view-drag-dest.c \
	nautilus-tree-view-drag-dest.h \
Alexander Larsson's avatar
Alexander Larsson committed
175 176
	nautilus-ui-utilities.c \
	nautilus-ui-utilities.h \
177
	nautilus-video-mime-types.h \
Darin Adler's avatar
Darin Adler committed
178
	nautilus-vfs-directory.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
179
	nautilus-vfs-directory.h \
Darin Adler's avatar
Darin Adler committed
180
	nautilus-vfs-file.c \
Ramiro Estrugo's avatar
Ramiro Estrugo committed
181
	nautilus-vfs-file.h \
Amos Brocco's avatar
Amos Brocco committed
182 183 184 185
	nautilus-file-undo-operations.c \
	nautilus-file-undo-operations.h \
	nautilus-file-undo-manager.c \
	nautilus-file-undo-manager.h \
186
	$(nautilus_tracker_engine_sources) \
187
	$(NULL)
188

189 190 191 192
nodist_libnautilus_private_la_SOURCES =\
	$(BUILT_SOURCES) \
	$(NULL)

Alexander Larsson's avatar
Alexander Larsson committed
193
EXTRA_DIST =				\
194
	$(TRACKER_SOURCES)		\
195 196
	nautilus-private-enum-types.h.template	\
	nautilus-private-enum-types.c.template	\
197 198 199
	$(NULL)

CLEANFILES = \
200
	$(BUILT_SOURCES)				\
201
	$(NULL)
202 203

dist-hook:
204
	cd $(distdir); rm -f $(CLEANFILES)
William Jon McCann's avatar
William Jon McCann committed
205 206

-include $(top_srcdir)/git.mk