X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=etc%2Fafpd%2FMakefile.am;h=8da04df46164dee494a61f281a5c945c7323e216;hp=2404ad7dbf8fb5df1dd3b707ee7ebe76d9460ebb;hb=dc0f3a5d97e0878f6f0e85ae3ae74ad68be6c037;hpb=815ef35acb8a352e4572e1d524a9d404d10a3f70 diff --git a/etc/afpd/Makefile.am b/etc/afpd/Makefile.am index 2404ad7d..8da04df4 100644 --- a/etc/afpd/Makefile.am +++ b/etc/afpd/Makefile.am @@ -3,7 +3,7 @@ pkgconfdir = @PKGCONFDIR@ sbin_PROGRAMS = afpd -noinst_PROGRAMS = hash fce +noinst_PROGRAMS = hash fce spot srp afpd_SOURCES = \ afp_avahi.c \ @@ -35,6 +35,8 @@ afpd_SOURCES = \ nfsquota.c \ ofork.c \ quota.c \ + spotlight.c \ + spotlight_marshalling.c \ status.c \ switch.c \ uam.c \ @@ -65,7 +67,8 @@ endif noinst_HEADERS = auth.h afp_config.h desktop.h directory.h fce_api_internal.h file.h \ filedir.h fork.h icon.h mangle.h misc.h status.h switch.h \ uam_auth.h uid.h unix.h volume.h hash.h acls.h acl_mappings.h extattrs.h \ - dircache.h afp_zeroconf.h afp_avahi.h afp_mdns.h + dircache.h afp_zeroconf.h afp_avahi.h afp_mdns.h spotlight.h \ + spotlight_rawquery_parser.h hash_SOURCES = hash.c hash_CFLAGS = -DKAZLIB_TEST_MAIN -I$(top_srcdir)/include @@ -73,3 +76,30 @@ hash_CFLAGS = -DKAZLIB_TEST_MAIN -I$(top_srcdir)/include fce_SOURCES = fce_api.c fce_util.c fce_CFLAGS = -DFCE_TEST_MAIN -I$(top_srcdir)/include fce_LDADD = $(top_builddir)/libatalk/libatalk.la + +AM_YFLAGS = -d +BUILT_SOURCES = spotlight_rawquery_parser.h + +if HAVE_TRACKER +spot_SOURCES = spotlight.c spotlight_marshalling.c +spot_CFLAGS = -DSPOT_TEST_MAIN +spot_LDADD = $(top_builddir)/libatalk/libatalk.la + +moduledir = @UAMS_PATH@ +module_LTLIBRARIES = mod_spotlight.la + +mod_spotlight_la_SOURCES = \ + spotlight_module.c \ + spotlight_SPARQL_map.c \ + spotlight_rawquery_parser.y \ + spotlight_rawquery_lexer.l +mod_spotlight_la_CFLAGS = -DDBUS_API_SUBJECT_TO_CHANGE @TRACKER_CFLAGS@ @TRACKER_MINER_CFLAGS@ +mod_spotlight_la_LDFLAGS = -module -avoid-version @TRACKER_LIBS@ @TRACKER_MINER_LIBS@ + +srp_SOURCES = \ + spotlight_SPARQL_map.c \ + spotlight_rawquery_parser.y \ + spotlight_rawquery_lexer.l +srp_CFLAGS = -DMAIN -I$(top_srcdir)/include @TRACKER_CFLAGS@ +srp_LDADD = $(top_builddir)/libatalk/libatalk.la +endif