Browse code

clamonacc - make symbol passing via c/cpp flags explicit; fix include pathing for libclamav include headers; autojunk'd

Mickey Sola authored on 2019/03/23 04:29:59
Showing 12 changed files
... ...
@@ -114,34 +114,6 @@ target_triplet = @target@
114 114
 @ENABLE_CLAMSUBMIT_TRUE@am__append_1 = clamsubmit
115 115
 @ENABLE_FUZZ_TRUE@am__append_2 = fuzz
116 116
 subdir = .
117
-DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
118
-	$(top_srcdir)/configure $(am__configure_deps) \
119
-	$(srcdir)/clamav-config.h.in \
120
-	$(top_srcdir)/libclammspack/config.h.in \
121
-	$(srcdir)/clamav-config.in $(srcdir)/libclamav.pc.in \
122
-	$(srcdir)/platform.h.in \
123
-	$(top_srcdir)/docs/man/clamav-milter.8.in \
124
-	$(top_srcdir)/docs/man/clamav-milter.conf.5.in \
125
-	$(top_srcdir)/docs/man/clambc.1.in \
126
-	$(top_srcdir)/docs/man/clamconf.1.in \
127
-	$(top_srcdir)/docs/man/clamd.8.in \
128
-	$(top_srcdir)/docs/man/clamd.conf.5.in \
129
-	$(top_srcdir)/docs/man/clamdscan.1.in \
130
-	$(top_srcdir)/docs/man/clamscan.1.in \
131
-	$(top_srcdir)/docs/man/freshclam.1.in \
132
-	$(top_srcdir)/docs/man/freshclam.conf.5.in \
133
-	$(top_srcdir)/docs/man/sigtool.1.in \
134
-	$(top_srcdir)/docs/man/clamdtop.1.in \
135
-	$(top_srcdir)/docs/man/clamsubmit.1.in \
136
-	$(srcdir)/clamav-types.h.in COPYING config/ar-lib \
137
-	config/compile config/config.guess config/config.rpath \
138
-	config/config.sub config/install-sh config/missing \
139
-	config/ylwrap config/ltmain.sh $(top_srcdir)/config/ar-lib \
140
-	$(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \
141
-	$(top_srcdir)/config/config.rpath \
142
-	$(top_srcdir)/config/config.sub \
143
-	$(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
144
-	$(top_srcdir)/config/missing
145 117
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
146 118
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
147 119
 	$(top_srcdir)/m4/ax_check_uname_syscall.m4 \
... ...
@@ -326,9 +298,10 @@ DIST_SUBDIRS = libltdl libclamav libfreshclam clamscan clamd clamdscan clamonacc
326 326
 	freshclam sigtool clamconf database docs etc clamav-milter \
327 327
 	test clamdtop clambc unit_tests clamsubmit libfreshclam
328 328
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/clamav-config.h.in \
329
-	$(srcdir)/clamav-config.in $(srcdir)/libclamav.pc.in \
330
-	$(srcdir)/platform.h.in $(top_srcdir)/config/ar-lib \
331
-	$(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \
329
+	$(srcdir)/clamav-config.in $(srcdir)/clamav-types.h.in \
330
+	$(srcdir)/libclamav.pc.in $(srcdir)/platform.h.in \
331
+	$(top_srcdir)/config/ar-lib $(top_srcdir)/config/compile \
332
+	$(top_srcdir)/config/config.guess \
332 333
 	$(top_srcdir)/config/config.rpath \
333 334
 	$(top_srcdir)/config/config.sub \
334 335
 	$(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
... ...
@@ -348,8 +321,8 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/clamav-config.h.in \
348 348
 	$(top_srcdir)/docs/man/sigtool.1.in \
349 349
 	$(top_srcdir)/libclammspack/config.h.in COPYING config/ar-lib \
350 350
 	config/compile config/config.guess config/config.rpath \
351
-	config/config.sub config/install-sh config/ltmain.sh \
352
-	config/missing config/ylwrap
351
+	config/config.sub config/depcomp config/install-sh \
352
+	config/ltmain.sh config/missing config/ylwrap
353 353
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
354 354
 distdir = $(PACKAGE)-$(VERSION)
355 355
 top_distdir = $(distdir)
... ...
@@ -22,6 +22,9 @@ if BUILD_CLAMD
22 22
 
23 23
 bin_PROGRAMS = clamonacc
24 24
 
25
+clamonacc_CPPFLAGS="-g"
26
+clamonacc_CFLAGS="-g"
27
+
25 28
 clamonacc_SOURCES = \
26 29
     $(top_srcdir)/shared/output.c \
27 30
     $(top_srcdir)/shared/output.h \
... ...
@@ -186,6 +186,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
186 186
 	$(top_srcdir)/m4/reorganization/libs/curl.m4 \
187 187
 	$(top_srcdir)/m4/reorganization/substitutions.m4 \
188 188
 	$(top_srcdir)/m4/reorganization/strni.m4 \
189
+	$(top_srcdir)/m4/reorganization/types.m4 \
189 190
 	$(top_srcdir)/configure.ac
190 191
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
191 192
 	$(ACLOCAL_M4)
... ...
@@ -211,23 +212,29 @@ am__clamonacc_SOURCES_DIST = $(top_srcdir)/shared/output.c \
211 211
 	./inotif/onaccess_hash.c ./inotif/onaccess_hash.h \
212 212
 	./misc/onaccess_others.c ./misc/onaccess_others.h \
213 213
 	./scan/onaccess_scth.c ./scan/onaccess_scth.h
214
-@BUILD_CLAMD_TRUE@am_clamonacc_OBJECTS = output.$(OBJEXT) \
215
-@BUILD_CLAMD_TRUE@	optparser.$(OBJEXT) misc.$(OBJEXT) \
216
-@BUILD_CLAMD_TRUE@	getopt.$(OBJEXT) actions.$(OBJEXT) \
217
-@BUILD_CLAMD_TRUE@	clamdcom.$(OBJEXT) clamonacc.$(OBJEXT) \
218
-@BUILD_CLAMD_TRUE@	onaccess_client.$(OBJEXT) \
219
-@BUILD_CLAMD_TRUE@	onaccess_proto.$(OBJEXT) \
220
-@BUILD_CLAMD_TRUE@	onaccess_ddd.$(OBJEXT) \
221
-@BUILD_CLAMD_TRUE@	onaccess_fan.$(OBJEXT) \
222
-@BUILD_CLAMD_TRUE@	onaccess_hash.$(OBJEXT) \
223
-@BUILD_CLAMD_TRUE@	onaccess_others.$(OBJEXT) \
224
-@BUILD_CLAMD_TRUE@	onaccess_scth.$(OBJEXT)
214
+@BUILD_CLAMD_TRUE@am_clamonacc_OBJECTS = clamonacc-output.$(OBJEXT) \
215
+@BUILD_CLAMD_TRUE@	clamonacc-optparser.$(OBJEXT) \
216
+@BUILD_CLAMD_TRUE@	clamonacc-misc.$(OBJEXT) \
217
+@BUILD_CLAMD_TRUE@	clamonacc-getopt.$(OBJEXT) \
218
+@BUILD_CLAMD_TRUE@	clamonacc-actions.$(OBJEXT) \
219
+@BUILD_CLAMD_TRUE@	clamonacc-clamdcom.$(OBJEXT) \
220
+@BUILD_CLAMD_TRUE@	clamonacc-clamonacc.$(OBJEXT) \
221
+@BUILD_CLAMD_TRUE@	clamonacc-onaccess_client.$(OBJEXT) \
222
+@BUILD_CLAMD_TRUE@	clamonacc-onaccess_proto.$(OBJEXT) \
223
+@BUILD_CLAMD_TRUE@	clamonacc-onaccess_ddd.$(OBJEXT) \
224
+@BUILD_CLAMD_TRUE@	clamonacc-onaccess_fan.$(OBJEXT) \
225
+@BUILD_CLAMD_TRUE@	clamonacc-onaccess_hash.$(OBJEXT) \
226
+@BUILD_CLAMD_TRUE@	clamonacc-onaccess_others.$(OBJEXT) \
227
+@BUILD_CLAMD_TRUE@	clamonacc-onaccess_scth.$(OBJEXT)
225 228
 clamonacc_OBJECTS = $(am_clamonacc_OBJECTS)
226 229
 clamonacc_LDADD = $(LDADD)
227 230
 AM_V_lt = $(am__v_lt_@AM_V@)
228 231
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
229 232
 am__v_lt_0 = --silent
230 233
 am__v_lt_1 = 
234
+clamonacc_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
235
+	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(clamonacc_CFLAGS) \
236
+	$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
231 237
 AM_V_P = $(am__v_P_@AM_V@)
232 238
 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
233 239
 am__v_P_0 = false
... ...
@@ -241,8 +248,9 @@ am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
241 241
 am__v_at_0 = @
242 242
 am__v_at_1 = 
243 243
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/libclammspack
244
-depcomp =
245
-am__depfiles_maybe =
244
+depcomp = $(SHELL) $(top_srcdir)/config/depcomp
245
+am__depfiles_maybe = depfiles
246
+am__mv = mv -f
246 247
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
247 248
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
248 249
 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
... ...
@@ -287,7 +295,7 @@ am__define_uniq_tagged_files = \
287 287
   done | $(am__uniquify_input)`
288 288
 ETAGS = etags
289 289
 CTAGS = ctags
290
-am__DIST_COMMON = $(srcdir)/Makefile.in
290
+am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/config/depcomp
291 291
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
292 292
 ACLOCAL = @ACLOCAL@
293 293
 AMTAR = @AMTAR@
... ...
@@ -337,6 +345,8 @@ CXXDEPMODE = @CXXDEPMODE@
337 337
 CXXFLAGS = @CXXFLAGS@
338 338
 CYGPATH_W = @CYGPATH_W@
339 339
 DBDIR = @DBDIR@
340
+DEFINE_SF32_PREFIX = @DEFINE_SF32_PREFIX@
341
+DEFINE_SF64_PREFIX = @DEFINE_SF64_PREFIX@
340 342
 DEFS = @DEFS@ -DCL_NOLIBCLAMAV
341 343
 DEPDIR = @DEPDIR@
342 344
 DLLTOOL = @DLLTOOL@
... ...
@@ -351,6 +361,7 @@ FGREP = @FGREP@
351 351
 FRESHCLAM_CPPFLAGS = @FRESHCLAM_CPPFLAGS@
352 352
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
353 353
 GCOV = @GCOV@
354
+GENERATE_WARNING = @GENERATE_WARNING@
354 355
 GENHTML = @GENHTML@
355 356
 GETENT = @GETENT@
356 357
 GPERF = @GPERF@
... ...
@@ -365,6 +376,11 @@ INSTALL_DATA = @INSTALL_DATA@
365 365
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
366 366
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
367 367
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
368
+INT16_DEF = @INT16_DEF@
369
+INT32_DEF = @INT32_DEF@
370
+INT64_DEF = @INT64_DEF@
371
+INT8_DEF = @INT8_DEF@
372
+INT_TYPES_HEADER = @INT_TYPES_HEADER@
368 373
 JSON_CPPFLAGS = @JSON_CPPFLAGS@
369 374
 JSON_LDFLAGS = @JSON_LDFLAGS@
370 375
 JSON_LIBS = @JSON_LIBS@
... ...
@@ -446,6 +462,10 @@ SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@
446 446
 SYSTEMD_LIBS = @SYSTEMD_LIBS@
447 447
 THREAD_LIBS = @THREAD_LIBS@
448 448
 TH_SAFE = @TH_SAFE@
449
+UINT16_DEF = @UINT16_DEF@
450
+UINT32_DEF = @UINT32_DEF@
451
+UINT64_DEF = @UINT64_DEF@
452
+UINT8_DEF = @UINT8_DEF@
449 453
 VERSION = @VERSION@
450 454
 VERSIONSCRIPTFLAG = @VERSIONSCRIPTFLAG@
451 455
 WERR_CFLAGS = @WERR_CFLAGS@
... ...
@@ -519,6 +539,8 @@ target_vendor = @target_vendor@
519 519
 top_build_prefix = @top_build_prefix@
520 520
 top_builddir = @top_builddir@
521 521
 top_srcdir = @top_srcdir@
522
+@BUILD_CLAMD_TRUE@clamonacc_CPPFLAGS = "-g"
523
+@BUILD_CLAMD_TRUE@clamonacc_CFLAGS = "-g"
522 524
 @BUILD_CLAMD_TRUE@clamonacc_SOURCES = \
523 525
 @BUILD_CLAMD_TRUE@    $(top_srcdir)/shared/output.c \
524 526
 @BUILD_CLAMD_TRUE@    $(top_srcdir)/shared/output.h \
... ...
@@ -565,9 +587,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__confi
565 565
 	      exit 1;; \
566 566
 	  esac; \
567 567
 	done; \
568
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps clamonacc/Makefile'; \
568
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign clamonacc/Makefile'; \
569 569
 	$(am__cd) $(top_srcdir) && \
570
-	  $(AUTOMAKE) --foreign --ignore-deps clamonacc/Makefile
570
+	  $(AUTOMAKE) --foreign clamonacc/Makefile
571 571
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
572 572
 	@case '$?' in \
573 573
 	  *config.status*) \
... ...
@@ -653,7 +675,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
653 653
 
654 654
 clamonacc$(EXEEXT): $(clamonacc_OBJECTS) $(clamonacc_DEPENDENCIES) $(EXTRA_clamonacc_DEPENDENCIES) 
655 655
 	@rm -f clamonacc$(EXEEXT)
656
-	$(AM_V_CCLD)$(LINK) $(clamonacc_OBJECTS) $(clamonacc_LDADD) $(LIBS)
656
+	$(AM_V_CCLD)$(clamonacc_LINK) $(clamonacc_OBJECTS) $(clamonacc_LDADD) $(LIBS)
657 657
 
658 658
 mostlyclean-compile:
659 659
 	-rm -f *.$(OBJEXT)
... ...
@@ -661,92 +683,237 @@ mostlyclean-compile:
661 661
 distclean-compile:
662 662
 	-rm -f *.tab.c
663 663
 
664
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-actions.Po@am__quote@
665
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-clamdcom.Po@am__quote@
666
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-clamonacc.Po@am__quote@
667
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-getopt.Po@am__quote@
668
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-misc.Po@am__quote@
669
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-onaccess_client.Po@am__quote@
670
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-onaccess_ddd.Po@am__quote@
671
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-onaccess_fan.Po@am__quote@
672
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-onaccess_hash.Po@am__quote@
673
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-onaccess_others.Po@am__quote@
674
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-onaccess_proto.Po@am__quote@
675
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-onaccess_scth.Po@am__quote@
676
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-optparser.Po@am__quote@
677
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamonacc-output.Po@am__quote@
678
+
664 679
 .c.o:
665
-	$(AM_V_CC)$(COMPILE) -c -o $@ $<
680
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
681
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
682
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
683
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
684
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
666 685
 
667 686
 .c.obj:
668
-	$(AM_V_CC)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
687
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
688
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
689
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
690
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
691
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
669 692
 
670 693
 .c.lo:
671
-	$(AM_V_CC)$(LTCOMPILE) -c -o $@ $<
672
-
673
-output.o: $(top_srcdir)/shared/output.c
674
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o output.o `test -f '$(top_srcdir)/shared/output.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/output.c
675
-
676
-output.obj: $(top_srcdir)/shared/output.c
677
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o output.obj `if test -f '$(top_srcdir)/shared/output.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/output.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/output.c'; fi`
678
-
679
-optparser.o: $(top_srcdir)/shared/optparser.c
680
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o optparser.o `test -f '$(top_srcdir)/shared/optparser.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/optparser.c
681
-
682
-optparser.obj: $(top_srcdir)/shared/optparser.c
683
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o optparser.obj `if test -f '$(top_srcdir)/shared/optparser.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/optparser.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/optparser.c'; fi`
684
-
685
-misc.o: $(top_srcdir)/shared/misc.c
686
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc.o `test -f '$(top_srcdir)/shared/misc.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/misc.c
687
-
688
-misc.obj: $(top_srcdir)/shared/misc.c
689
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc.obj `if test -f '$(top_srcdir)/shared/misc.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/misc.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/misc.c'; fi`
690
-
691
-getopt.o: $(top_srcdir)/shared/getopt.c
692
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt.o `test -f '$(top_srcdir)/shared/getopt.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/getopt.c
693
-
694
-getopt.obj: $(top_srcdir)/shared/getopt.c
695
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt.obj `if test -f '$(top_srcdir)/shared/getopt.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/getopt.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/getopt.c'; fi`
696
-
697
-actions.o: $(top_srcdir)/shared/actions.c
698
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o actions.o `test -f '$(top_srcdir)/shared/actions.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/actions.c
699
-
700
-actions.obj: $(top_srcdir)/shared/actions.c
701
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o actions.obj `if test -f '$(top_srcdir)/shared/actions.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/actions.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/actions.c'; fi`
702
-
703
-clamdcom.o: $(top_srcdir)/shared/clamdcom.c
704
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o clamdcom.o `test -f '$(top_srcdir)/shared/clamdcom.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/clamdcom.c
705
-
706
-clamdcom.obj: $(top_srcdir)/shared/clamdcom.c
707
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o clamdcom.obj `if test -f '$(top_srcdir)/shared/clamdcom.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/clamdcom.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/clamdcom.c'; fi`
708
-
709
-onaccess_client.o: ./client/onaccess_client.c
710
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_client.o `test -f './client/onaccess_client.c' || echo '$(srcdir)/'`./client/onaccess_client.c
711
-
712
-onaccess_client.obj: ./client/onaccess_client.c
713
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_client.obj `if test -f './client/onaccess_client.c'; then $(CYGPATH_W) './client/onaccess_client.c'; else $(CYGPATH_W) '$(srcdir)/./client/onaccess_client.c'; fi`
714
-
715
-onaccess_proto.o: ./client/onaccess_proto.c
716
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_proto.o `test -f './client/onaccess_proto.c' || echo '$(srcdir)/'`./client/onaccess_proto.c
717
-
718
-onaccess_proto.obj: ./client/onaccess_proto.c
719
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_proto.obj `if test -f './client/onaccess_proto.c'; then $(CYGPATH_W) './client/onaccess_proto.c'; else $(CYGPATH_W) '$(srcdir)/./client/onaccess_proto.c'; fi`
720
-
721
-onaccess_ddd.o: ./inotif/onaccess_ddd.c
722
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_ddd.o `test -f './inotif/onaccess_ddd.c' || echo '$(srcdir)/'`./inotif/onaccess_ddd.c
723
-
724
-onaccess_ddd.obj: ./inotif/onaccess_ddd.c
725
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_ddd.obj `if test -f './inotif/onaccess_ddd.c'; then $(CYGPATH_W) './inotif/onaccess_ddd.c'; else $(CYGPATH_W) '$(srcdir)/./inotif/onaccess_ddd.c'; fi`
726
-
727
-onaccess_fan.o: ./fanotif/onaccess_fan.c
728
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_fan.o `test -f './fanotif/onaccess_fan.c' || echo '$(srcdir)/'`./fanotif/onaccess_fan.c
729
-
730
-onaccess_fan.obj: ./fanotif/onaccess_fan.c
731
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_fan.obj `if test -f './fanotif/onaccess_fan.c'; then $(CYGPATH_W) './fanotif/onaccess_fan.c'; else $(CYGPATH_W) '$(srcdir)/./fanotif/onaccess_fan.c'; fi`
732
-
733
-onaccess_hash.o: ./inotif/onaccess_hash.c
734
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_hash.o `test -f './inotif/onaccess_hash.c' || echo '$(srcdir)/'`./inotif/onaccess_hash.c
735
-
736
-onaccess_hash.obj: ./inotif/onaccess_hash.c
737
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_hash.obj `if test -f './inotif/onaccess_hash.c'; then $(CYGPATH_W) './inotif/onaccess_hash.c'; else $(CYGPATH_W) '$(srcdir)/./inotif/onaccess_hash.c'; fi`
738
-
739
-onaccess_others.o: ./misc/onaccess_others.c
740
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_others.o `test -f './misc/onaccess_others.c' || echo '$(srcdir)/'`./misc/onaccess_others.c
741
-
742
-onaccess_others.obj: ./misc/onaccess_others.c
743
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_others.obj `if test -f './misc/onaccess_others.c'; then $(CYGPATH_W) './misc/onaccess_others.c'; else $(CYGPATH_W) '$(srcdir)/./misc/onaccess_others.c'; fi`
744
-
745
-onaccess_scth.o: ./scan/onaccess_scth.c
746
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_scth.o `test -f './scan/onaccess_scth.c' || echo '$(srcdir)/'`./scan/onaccess_scth.c
747
-
748
-onaccess_scth.obj: ./scan/onaccess_scth.c
749
-	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o onaccess_scth.obj `if test -f './scan/onaccess_scth.c'; then $(CYGPATH_W) './scan/onaccess_scth.c'; else $(CYGPATH_W) '$(srcdir)/./scan/onaccess_scth.c'; fi`
694
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
695
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
696
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
697
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
698
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
699
+
700
+clamonacc-output.o: $(top_srcdir)/shared/output.c
701
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-output.o -MD -MP -MF $(DEPDIR)/clamonacc-output.Tpo -c -o clamonacc-output.o `test -f '$(top_srcdir)/shared/output.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/output.c
702
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-output.Tpo $(DEPDIR)/clamonacc-output.Po
703
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$(top_srcdir)/shared/output.c' object='clamonacc-output.o' libtool=no @AMDEPBACKSLASH@
704
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
705
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-output.o `test -f '$(top_srcdir)/shared/output.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/output.c
706
+
707
+clamonacc-output.obj: $(top_srcdir)/shared/output.c
708
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-output.obj -MD -MP -MF $(DEPDIR)/clamonacc-output.Tpo -c -o clamonacc-output.obj `if test -f '$(top_srcdir)/shared/output.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/output.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/output.c'; fi`
709
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-output.Tpo $(DEPDIR)/clamonacc-output.Po
710
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$(top_srcdir)/shared/output.c' object='clamonacc-output.obj' libtool=no @AMDEPBACKSLASH@
711
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
712
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-output.obj `if test -f '$(top_srcdir)/shared/output.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/output.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/output.c'; fi`
713
+
714
+clamonacc-optparser.o: $(top_srcdir)/shared/optparser.c
715
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-optparser.o -MD -MP -MF $(DEPDIR)/clamonacc-optparser.Tpo -c -o clamonacc-optparser.o `test -f '$(top_srcdir)/shared/optparser.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/optparser.c
716
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-optparser.Tpo $(DEPDIR)/clamonacc-optparser.Po
717
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$(top_srcdir)/shared/optparser.c' object='clamonacc-optparser.o' libtool=no @AMDEPBACKSLASH@
718
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
719
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-optparser.o `test -f '$(top_srcdir)/shared/optparser.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/optparser.c
720
+
721
+clamonacc-optparser.obj: $(top_srcdir)/shared/optparser.c
722
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-optparser.obj -MD -MP -MF $(DEPDIR)/clamonacc-optparser.Tpo -c -o clamonacc-optparser.obj `if test -f '$(top_srcdir)/shared/optparser.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/optparser.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/optparser.c'; fi`
723
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-optparser.Tpo $(DEPDIR)/clamonacc-optparser.Po
724
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$(top_srcdir)/shared/optparser.c' object='clamonacc-optparser.obj' libtool=no @AMDEPBACKSLASH@
725
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
726
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-optparser.obj `if test -f '$(top_srcdir)/shared/optparser.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/optparser.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/optparser.c'; fi`
727
+
728
+clamonacc-misc.o: $(top_srcdir)/shared/misc.c
729
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-misc.o -MD -MP -MF $(DEPDIR)/clamonacc-misc.Tpo -c -o clamonacc-misc.o `test -f '$(top_srcdir)/shared/misc.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/misc.c
730
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-misc.Tpo $(DEPDIR)/clamonacc-misc.Po
731
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$(top_srcdir)/shared/misc.c' object='clamonacc-misc.o' libtool=no @AMDEPBACKSLASH@
732
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
733
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-misc.o `test -f '$(top_srcdir)/shared/misc.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/misc.c
734
+
735
+clamonacc-misc.obj: $(top_srcdir)/shared/misc.c
736
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-misc.obj -MD -MP -MF $(DEPDIR)/clamonacc-misc.Tpo -c -o clamonacc-misc.obj `if test -f '$(top_srcdir)/shared/misc.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/misc.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/misc.c'; fi`
737
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-misc.Tpo $(DEPDIR)/clamonacc-misc.Po
738
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$(top_srcdir)/shared/misc.c' object='clamonacc-misc.obj' libtool=no @AMDEPBACKSLASH@
739
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
740
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-misc.obj `if test -f '$(top_srcdir)/shared/misc.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/misc.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/misc.c'; fi`
741
+
742
+clamonacc-getopt.o: $(top_srcdir)/shared/getopt.c
743
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-getopt.o -MD -MP -MF $(DEPDIR)/clamonacc-getopt.Tpo -c -o clamonacc-getopt.o `test -f '$(top_srcdir)/shared/getopt.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/getopt.c
744
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-getopt.Tpo $(DEPDIR)/clamonacc-getopt.Po
745
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$(top_srcdir)/shared/getopt.c' object='clamonacc-getopt.o' libtool=no @AMDEPBACKSLASH@
746
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
747
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-getopt.o `test -f '$(top_srcdir)/shared/getopt.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/getopt.c
748
+
749
+clamonacc-getopt.obj: $(top_srcdir)/shared/getopt.c
750
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-getopt.obj -MD -MP -MF $(DEPDIR)/clamonacc-getopt.Tpo -c -o clamonacc-getopt.obj `if test -f '$(top_srcdir)/shared/getopt.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/getopt.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/getopt.c'; fi`
751
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-getopt.Tpo $(DEPDIR)/clamonacc-getopt.Po
752
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$(top_srcdir)/shared/getopt.c' object='clamonacc-getopt.obj' libtool=no @AMDEPBACKSLASH@
753
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
754
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-getopt.obj `if test -f '$(top_srcdir)/shared/getopt.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/getopt.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/getopt.c'; fi`
755
+
756
+clamonacc-actions.o: $(top_srcdir)/shared/actions.c
757
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-actions.o -MD -MP -MF $(DEPDIR)/clamonacc-actions.Tpo -c -o clamonacc-actions.o `test -f '$(top_srcdir)/shared/actions.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/actions.c
758
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-actions.Tpo $(DEPDIR)/clamonacc-actions.Po
759
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$(top_srcdir)/shared/actions.c' object='clamonacc-actions.o' libtool=no @AMDEPBACKSLASH@
760
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
761
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-actions.o `test -f '$(top_srcdir)/shared/actions.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/actions.c
762
+
763
+clamonacc-actions.obj: $(top_srcdir)/shared/actions.c
764
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-actions.obj -MD -MP -MF $(DEPDIR)/clamonacc-actions.Tpo -c -o clamonacc-actions.obj `if test -f '$(top_srcdir)/shared/actions.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/actions.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/actions.c'; fi`
765
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-actions.Tpo $(DEPDIR)/clamonacc-actions.Po
766
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$(top_srcdir)/shared/actions.c' object='clamonacc-actions.obj' libtool=no @AMDEPBACKSLASH@
767
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
768
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-actions.obj `if test -f '$(top_srcdir)/shared/actions.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/actions.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/actions.c'; fi`
769
+
770
+clamonacc-clamdcom.o: $(top_srcdir)/shared/clamdcom.c
771
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-clamdcom.o -MD -MP -MF $(DEPDIR)/clamonacc-clamdcom.Tpo -c -o clamonacc-clamdcom.o `test -f '$(top_srcdir)/shared/clamdcom.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/clamdcom.c
772
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-clamdcom.Tpo $(DEPDIR)/clamonacc-clamdcom.Po
773
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$(top_srcdir)/shared/clamdcom.c' object='clamonacc-clamdcom.o' libtool=no @AMDEPBACKSLASH@
774
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
775
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-clamdcom.o `test -f '$(top_srcdir)/shared/clamdcom.c' || echo '$(srcdir)/'`$(top_srcdir)/shared/clamdcom.c
776
+
777
+clamonacc-clamdcom.obj: $(top_srcdir)/shared/clamdcom.c
778
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-clamdcom.obj -MD -MP -MF $(DEPDIR)/clamonacc-clamdcom.Tpo -c -o clamonacc-clamdcom.obj `if test -f '$(top_srcdir)/shared/clamdcom.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/clamdcom.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/clamdcom.c'; fi`
779
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-clamdcom.Tpo $(DEPDIR)/clamonacc-clamdcom.Po
780
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$(top_srcdir)/shared/clamdcom.c' object='clamonacc-clamdcom.obj' libtool=no @AMDEPBACKSLASH@
781
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
782
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-clamdcom.obj `if test -f '$(top_srcdir)/shared/clamdcom.c'; then $(CYGPATH_W) '$(top_srcdir)/shared/clamdcom.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/shared/clamdcom.c'; fi`
783
+
784
+clamonacc-clamonacc.o: clamonacc.c
785
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-clamonacc.o -MD -MP -MF $(DEPDIR)/clamonacc-clamonacc.Tpo -c -o clamonacc-clamonacc.o `test -f 'clamonacc.c' || echo '$(srcdir)/'`clamonacc.c
786
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-clamonacc.Tpo $(DEPDIR)/clamonacc-clamonacc.Po
787
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='clamonacc.c' object='clamonacc-clamonacc.o' libtool=no @AMDEPBACKSLASH@
788
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
789
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-clamonacc.o `test -f 'clamonacc.c' || echo '$(srcdir)/'`clamonacc.c
790
+
791
+clamonacc-clamonacc.obj: clamonacc.c
792
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-clamonacc.obj -MD -MP -MF $(DEPDIR)/clamonacc-clamonacc.Tpo -c -o clamonacc-clamonacc.obj `if test -f 'clamonacc.c'; then $(CYGPATH_W) 'clamonacc.c'; else $(CYGPATH_W) '$(srcdir)/clamonacc.c'; fi`
793
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-clamonacc.Tpo $(DEPDIR)/clamonacc-clamonacc.Po
794
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='clamonacc.c' object='clamonacc-clamonacc.obj' libtool=no @AMDEPBACKSLASH@
795
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
796
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-clamonacc.obj `if test -f 'clamonacc.c'; then $(CYGPATH_W) 'clamonacc.c'; else $(CYGPATH_W) '$(srcdir)/clamonacc.c'; fi`
797
+
798
+clamonacc-onaccess_client.o: ./client/onaccess_client.c
799
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_client.o -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_client.Tpo -c -o clamonacc-onaccess_client.o `test -f './client/onaccess_client.c' || echo '$(srcdir)/'`./client/onaccess_client.c
800
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_client.Tpo $(DEPDIR)/clamonacc-onaccess_client.Po
801
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./client/onaccess_client.c' object='clamonacc-onaccess_client.o' libtool=no @AMDEPBACKSLASH@
802
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
803
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_client.o `test -f './client/onaccess_client.c' || echo '$(srcdir)/'`./client/onaccess_client.c
804
+
805
+clamonacc-onaccess_client.obj: ./client/onaccess_client.c
806
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_client.obj -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_client.Tpo -c -o clamonacc-onaccess_client.obj `if test -f './client/onaccess_client.c'; then $(CYGPATH_W) './client/onaccess_client.c'; else $(CYGPATH_W) '$(srcdir)/./client/onaccess_client.c'; fi`
807
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_client.Tpo $(DEPDIR)/clamonacc-onaccess_client.Po
808
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./client/onaccess_client.c' object='clamonacc-onaccess_client.obj' libtool=no @AMDEPBACKSLASH@
809
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
810
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_client.obj `if test -f './client/onaccess_client.c'; then $(CYGPATH_W) './client/onaccess_client.c'; else $(CYGPATH_W) '$(srcdir)/./client/onaccess_client.c'; fi`
811
+
812
+clamonacc-onaccess_proto.o: ./client/onaccess_proto.c
813
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_proto.o -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_proto.Tpo -c -o clamonacc-onaccess_proto.o `test -f './client/onaccess_proto.c' || echo '$(srcdir)/'`./client/onaccess_proto.c
814
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_proto.Tpo $(DEPDIR)/clamonacc-onaccess_proto.Po
815
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./client/onaccess_proto.c' object='clamonacc-onaccess_proto.o' libtool=no @AMDEPBACKSLASH@
816
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
817
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_proto.o `test -f './client/onaccess_proto.c' || echo '$(srcdir)/'`./client/onaccess_proto.c
818
+
819
+clamonacc-onaccess_proto.obj: ./client/onaccess_proto.c
820
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_proto.obj -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_proto.Tpo -c -o clamonacc-onaccess_proto.obj `if test -f './client/onaccess_proto.c'; then $(CYGPATH_W) './client/onaccess_proto.c'; else $(CYGPATH_W) '$(srcdir)/./client/onaccess_proto.c'; fi`
821
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_proto.Tpo $(DEPDIR)/clamonacc-onaccess_proto.Po
822
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./client/onaccess_proto.c' object='clamonacc-onaccess_proto.obj' libtool=no @AMDEPBACKSLASH@
823
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
824
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_proto.obj `if test -f './client/onaccess_proto.c'; then $(CYGPATH_W) './client/onaccess_proto.c'; else $(CYGPATH_W) '$(srcdir)/./client/onaccess_proto.c'; fi`
825
+
826
+clamonacc-onaccess_ddd.o: ./inotif/onaccess_ddd.c
827
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_ddd.o -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_ddd.Tpo -c -o clamonacc-onaccess_ddd.o `test -f './inotif/onaccess_ddd.c' || echo '$(srcdir)/'`./inotif/onaccess_ddd.c
828
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_ddd.Tpo $(DEPDIR)/clamonacc-onaccess_ddd.Po
829
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./inotif/onaccess_ddd.c' object='clamonacc-onaccess_ddd.o' libtool=no @AMDEPBACKSLASH@
830
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
831
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_ddd.o `test -f './inotif/onaccess_ddd.c' || echo '$(srcdir)/'`./inotif/onaccess_ddd.c
832
+
833
+clamonacc-onaccess_ddd.obj: ./inotif/onaccess_ddd.c
834
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_ddd.obj -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_ddd.Tpo -c -o clamonacc-onaccess_ddd.obj `if test -f './inotif/onaccess_ddd.c'; then $(CYGPATH_W) './inotif/onaccess_ddd.c'; else $(CYGPATH_W) '$(srcdir)/./inotif/onaccess_ddd.c'; fi`
835
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_ddd.Tpo $(DEPDIR)/clamonacc-onaccess_ddd.Po
836
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./inotif/onaccess_ddd.c' object='clamonacc-onaccess_ddd.obj' libtool=no @AMDEPBACKSLASH@
837
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
838
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_ddd.obj `if test -f './inotif/onaccess_ddd.c'; then $(CYGPATH_W) './inotif/onaccess_ddd.c'; else $(CYGPATH_W) '$(srcdir)/./inotif/onaccess_ddd.c'; fi`
839
+
840
+clamonacc-onaccess_fan.o: ./fanotif/onaccess_fan.c
841
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_fan.o -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_fan.Tpo -c -o clamonacc-onaccess_fan.o `test -f './fanotif/onaccess_fan.c' || echo '$(srcdir)/'`./fanotif/onaccess_fan.c
842
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_fan.Tpo $(DEPDIR)/clamonacc-onaccess_fan.Po
843
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./fanotif/onaccess_fan.c' object='clamonacc-onaccess_fan.o' libtool=no @AMDEPBACKSLASH@
844
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
845
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_fan.o `test -f './fanotif/onaccess_fan.c' || echo '$(srcdir)/'`./fanotif/onaccess_fan.c
846
+
847
+clamonacc-onaccess_fan.obj: ./fanotif/onaccess_fan.c
848
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_fan.obj -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_fan.Tpo -c -o clamonacc-onaccess_fan.obj `if test -f './fanotif/onaccess_fan.c'; then $(CYGPATH_W) './fanotif/onaccess_fan.c'; else $(CYGPATH_W) '$(srcdir)/./fanotif/onaccess_fan.c'; fi`
849
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_fan.Tpo $(DEPDIR)/clamonacc-onaccess_fan.Po
850
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./fanotif/onaccess_fan.c' object='clamonacc-onaccess_fan.obj' libtool=no @AMDEPBACKSLASH@
851
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
852
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_fan.obj `if test -f './fanotif/onaccess_fan.c'; then $(CYGPATH_W) './fanotif/onaccess_fan.c'; else $(CYGPATH_W) '$(srcdir)/./fanotif/onaccess_fan.c'; fi`
853
+
854
+clamonacc-onaccess_hash.o: ./inotif/onaccess_hash.c
855
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_hash.o -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_hash.Tpo -c -o clamonacc-onaccess_hash.o `test -f './inotif/onaccess_hash.c' || echo '$(srcdir)/'`./inotif/onaccess_hash.c
856
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_hash.Tpo $(DEPDIR)/clamonacc-onaccess_hash.Po
857
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./inotif/onaccess_hash.c' object='clamonacc-onaccess_hash.o' libtool=no @AMDEPBACKSLASH@
858
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
859
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_hash.o `test -f './inotif/onaccess_hash.c' || echo '$(srcdir)/'`./inotif/onaccess_hash.c
860
+
861
+clamonacc-onaccess_hash.obj: ./inotif/onaccess_hash.c
862
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_hash.obj -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_hash.Tpo -c -o clamonacc-onaccess_hash.obj `if test -f './inotif/onaccess_hash.c'; then $(CYGPATH_W) './inotif/onaccess_hash.c'; else $(CYGPATH_W) '$(srcdir)/./inotif/onaccess_hash.c'; fi`
863
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_hash.Tpo $(DEPDIR)/clamonacc-onaccess_hash.Po
864
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./inotif/onaccess_hash.c' object='clamonacc-onaccess_hash.obj' libtool=no @AMDEPBACKSLASH@
865
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
866
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_hash.obj `if test -f './inotif/onaccess_hash.c'; then $(CYGPATH_W) './inotif/onaccess_hash.c'; else $(CYGPATH_W) '$(srcdir)/./inotif/onaccess_hash.c'; fi`
867
+
868
+clamonacc-onaccess_others.o: ./misc/onaccess_others.c
869
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_others.o -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_others.Tpo -c -o clamonacc-onaccess_others.o `test -f './misc/onaccess_others.c' || echo '$(srcdir)/'`./misc/onaccess_others.c
870
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_others.Tpo $(DEPDIR)/clamonacc-onaccess_others.Po
871
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./misc/onaccess_others.c' object='clamonacc-onaccess_others.o' libtool=no @AMDEPBACKSLASH@
872
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
873
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_others.o `test -f './misc/onaccess_others.c' || echo '$(srcdir)/'`./misc/onaccess_others.c
874
+
875
+clamonacc-onaccess_others.obj: ./misc/onaccess_others.c
876
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_others.obj -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_others.Tpo -c -o clamonacc-onaccess_others.obj `if test -f './misc/onaccess_others.c'; then $(CYGPATH_W) './misc/onaccess_others.c'; else $(CYGPATH_W) '$(srcdir)/./misc/onaccess_others.c'; fi`
877
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_others.Tpo $(DEPDIR)/clamonacc-onaccess_others.Po
878
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./misc/onaccess_others.c' object='clamonacc-onaccess_others.obj' libtool=no @AMDEPBACKSLASH@
879
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
880
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_others.obj `if test -f './misc/onaccess_others.c'; then $(CYGPATH_W) './misc/onaccess_others.c'; else $(CYGPATH_W) '$(srcdir)/./misc/onaccess_others.c'; fi`
881
+
882
+clamonacc-onaccess_scth.o: ./scan/onaccess_scth.c
883
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_scth.o -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_scth.Tpo -c -o clamonacc-onaccess_scth.o `test -f './scan/onaccess_scth.c' || echo '$(srcdir)/'`./scan/onaccess_scth.c
884
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_scth.Tpo $(DEPDIR)/clamonacc-onaccess_scth.Po
885
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./scan/onaccess_scth.c' object='clamonacc-onaccess_scth.o' libtool=no @AMDEPBACKSLASH@
886
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
887
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_scth.o `test -f './scan/onaccess_scth.c' || echo '$(srcdir)/'`./scan/onaccess_scth.c
888
+
889
+clamonacc-onaccess_scth.obj: ./scan/onaccess_scth.c
890
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -MT clamonacc-onaccess_scth.obj -MD -MP -MF $(DEPDIR)/clamonacc-onaccess_scth.Tpo -c -o clamonacc-onaccess_scth.obj `if test -f './scan/onaccess_scth.c'; then $(CYGPATH_W) './scan/onaccess_scth.c'; else $(CYGPATH_W) '$(srcdir)/./scan/onaccess_scth.c'; fi`
891
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/clamonacc-onaccess_scth.Tpo $(DEPDIR)/clamonacc-onaccess_scth.Po
892
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='./scan/onaccess_scth.c' object='clamonacc-onaccess_scth.obj' libtool=no @AMDEPBACKSLASH@
893
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
894
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(clamonacc_CPPFLAGS) $(CPPFLAGS) $(clamonacc_CFLAGS) $(CFLAGS) -c -o clamonacc-onaccess_scth.obj `if test -f './scan/onaccess_scth.c'; then $(CYGPATH_W) './scan/onaccess_scth.c'; else $(CYGPATH_W) '$(srcdir)/./scan/onaccess_scth.c'; fi`
750 895
 
751 896
 mostlyclean-libtool:
752 897
 	-rm -f *.lo
... ...
@@ -879,6 +1046,7 @@ clean: clean-am
879 879
 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
880 880
 
881 881
 distclean: distclean-am
882
+	-rm -rf ./$(DEPDIR)
882 883
 	-rm -f Makefile
883 884
 distclean-am: clean-am distclean-compile distclean-generic \
884 885
 	distclean-tags
... ...
@@ -924,6 +1092,7 @@ install-ps-am:
924 924
 installcheck-am: installcheck-binPROGRAMS
925 925
 
926 926
 maintainer-clean: maintainer-clean-am
927
+	-rm -rf ./$(DEPDIR)
927 928
 	-rm -f Makefile
928 929
 maintainer-clean-am: distclean-am maintainer-clean-generic
929 930
 
... ...
@@ -35,8 +35,6 @@
35 35
 #include <time.h>
36 36
 #include <signal.h>
37 37
 
38
-#include "clamav.h"
39
-
40 38
 #include "libclamav/clamav.h"
41 39
 #include "libclamav/others.h"
42 40
 #include "shared/output.h"
... ...
@@ -65,17 +63,18 @@ int main(int argc, char **argv)
65 65
 	/* Initialize context */
66 66
 	ctx = onas_init_context();
67 67
 	if(ctx == NULL) {
68
-		mprintf("!Clamonacc: can't initialize context\n");
68
+		logg("!Clamonacc: can't initialize context\n");
69 69
 		return 2;
70 70
 	}
71 71
 
72 72
 	/* Parse out all our command line options */
73 73
 	opts = optparse(NULL, argc, argv, 1, OPT_CLAMDSCAN, OPT_CLAMSCAN, NULL);
74 74
 	if(opts == NULL) {
75
-		mprintf("!Clamonacc: can't parse command line options\n");
75
+		logg("!Clamonacc: can't parse command line options\n");
76 76
 		return 2;
77 77
 	}
78 78
 	ctx->opts = opts;
79
+        printf("opts\n");
79 80
 
80 81
 
81 82
 	clamdopts = optparse(optget(opts, "config-file")->strarg, 0, NULL, 1, OPT_CLAMD, 0, NULL);
... ...
@@ -84,25 +83,27 @@ int main(int argc, char **argv)
84 84
 		return 2;
85 85
 	}
86 86
 	ctx->clamdopts = clamdopts;
87
+        printf("clamdopts\n");
87 88
 
88 89
 	/* Setup our client */
89 90
 	switch(onas_setup_client(&ctx)) {
90 91
 		case CL_SUCCESS:
91
-			if (onas_check_client_connection()) {
92
+			if (CL_SUCCESS == onas_check_client_connection()) {
92 93
 				break;
93 94
 			}
94 95
 		case CL_BREAK:
95 96
 			ret = 0;
97
+			logg("!Clamonacc: can't setup client\n");
96 98
 			goto clean_up;
97 99
 			break;
98 100
 		case CL_EARG:
99 101
 		default:
100
-			mprintf("!Clamonacc: can't setup client\n");
102
+			logg("!Clamonacc: can't setup client\n");
101 103
 			ret = 2;
102 104
 			goto clean_up;
103 105
 			break;
104 106
 	}
105
-
107
+	printf("client\n");
106 108
 #if defined(FANOTIFY)
107 109
 	/* Setup fanotify */
108 110
 	switch(onas_setup_fanotif(&ctx)) {
... ...
@@ -22,7 +22,7 @@
22 22
 #ifndef __ONAS_CLAMONACC_H
23 23
 #define __ONAS_CLAMONACC_H
24 24
 
25
-#include "clamav.h"
25
+#include "libclamav/clamav.h"
26 26
 
27 27
 struct onas_context {
28 28
 	const struct optstruct *opts;
... ...
@@ -190,11 +190,13 @@ cl_error_t onas_setup_client (struct onas_context **ctx) {
190 190
 
191 191
     if(optget(opts, "version")->enabled) {
192 192
 	print_server_version(ctx);
193
+	printf("here?");
193 194
 	return CL_BREAK;
194 195
     }
195 196
 
196 197
     if(optget(opts, "help")->enabled) {
197 198
     	help();
199
+	printf("here???");
198 200
 	return CL_BREAK;
199 201
     }
200 202
 
... ...
@@ -243,6 +245,8 @@ cl_error_t onas_setup_client (struct onas_context **ctx) {
243 243
 
244 244
     maxstream = optget((*ctx)->clamdopts, "StreamMaxLength")->numarg;
245 245
 
246
+
247
+    printf("here????");
246 248
     return CL_SUCCESS;
247 249
 }
248 250
 
... ...
@@ -54,7 +54,7 @@
54 54
 #include "../client/onaccess_client.h"
55 55
 
56 56
 extern pthread_t ddd_pid;
57
-extern reload;
57
+extern int reload;
58 58
 
59 59
 /*static void onas_fan_exit(int sig)
60 60
 {
... ...
@@ -23,7 +23,7 @@
23 23
 #define __FAN_H
24 24
 
25 25
 #include "../clamonacc.h"
26
-#include "clamav.h"
26
+#include "libclamav/clamav.h"
27 27
 
28 28
 void *onas_fan_th(void *arg);
29 29
 cl_error_t onas_setup_fanotif(struct onas_context **ctx);
... ...
@@ -39,7 +39,7 @@
39 39
 #include <sys/fanotify.h>
40 40
 #include <sys/inotify.h>
41 41
 
42
-#include "clamav.h"
42
+#include "libclamav/clamav.h"
43 43
 
44 44
 #include "../fanotif/onaccess_fan.h"
45 45
 #include "onaccess_hash.h"
... ...
@@ -65,11 +65,11 @@ static int onas_ddd_watch_hierarchy(const char *pathname, size_t len, int fd, ui
65 65
 static int onas_ddd_unwatch(const char *pathname, int fan_fd, int in_fd);
66 66
 static int onas_ddd_unwatch_hierarchy(const char *pathname, size_t len, int fd, uint32_t type);
67 67
 
68
-static void onas_ddd_handle_in_moved_to(struct ddd_thrarg *tharg, const char *path, const char *child_path, const struct inotify_event *event, int wd, uint64_t in_mask);
69
-static void onas_ddd_handle_in_create(struct ddd_thrarg *tharg, const char *path, const char *child_path, const struct inotify_event *event, int wd, uint64_t in_mask);
70
-static void onas_ddd_handle_in_moved_from(struct ddd_thrarg *tharg, const char *path, const char *child_path, const struct inotify_event *event, int wd);
71
-static void onas_ddd_handle_in_delete(struct ddd_thrarg *tharg, const char *path, const char *child_path, const struct inotify_event *event, int wd);
72
-static void onas_ddd_handle_extra_scanning(struct ddd_thrarg *tharg, const char *pathname, int extra_options);
68
+static void onas_ddd_handle_in_moved_to(struct onas_context *ctx, const char *path, const char *child_path, const struct inotify_event *event, int wd, uint64_t in_mask);
69
+static void onas_ddd_handle_in_create(struct onas_context *ctx, const char *path, const char *child_path, const struct inotify_event *event, int wd, uint64_t in_mask);
70
+static void onas_ddd_handle_in_moved_from(struct onas_context *ctx, const char *path, const char *child_path, const struct inotify_event *event, int wd);
71
+static void onas_ddd_handle_in_delete(struct onas_context *ctx, const char *path, const char *child_path, const struct inotify_event *event, int wd);
72
+static void onas_ddd_handle_extra_scanning(struct onas_context *ctx, const char *pathname, int extra_options);
73 73
 
74 74
 static void onas_ddd_exit(int sig);
75 75
 
... ...
@@ -322,7 +322,7 @@ cl_error_t onas_enable_inotif_ddd(struct onas_context **ctx) {
322 322
 }
323 323
 
324 324
 void *onas_ddd_th(void *arg) {
325
-    struct ddd_thrarg *tharg = (struct ddd_thrarg *)arg;
325
+	struct onas_context *ctx = (struct onas_context *) arg;
326 326
     sigset_t sigset;
327 327
     struct sigaction act;
328 328
     const struct optstruct *pt;
... ...
@@ -351,6 +351,8 @@ void *onas_ddd_th(void *arg) {
351 351
     sigaction(SIGUSR1, &act, NULL);
352 352
     sigaction(SIGSEGV, &act, NULL);
353 353
 
354
+        logg("*ClamInotif: Starting inotify event thread\n");
355
+
354 356
     onas_in_fd = inotify_init1(IN_NONBLOCK);
355 357
     if (onas_in_fd == -1) {
356 358
 		logg("!ClamInotif: Could not init inotify.");
... ...
@@ -363,8 +365,13 @@ void *onas_ddd_th(void *arg) {
363 363
         return NULL;
364 364
     }
365 365
 
366
+
367
+        logg("*ClamInotif: Dynamically determining directory hierarchy...\n");
366 368
     /* Add provided paths recursively. */
367
-    if ((pt = optget(tharg->opts, "OnAccessIncludePath"))->enabled) {
369
+	if((pt = optget(ctx->opts, "OnAccessIncludePath"))->enabled) {
370
+
371
+		logg("*ClamInotif: asdkljfhaskjldf\n");
372
+		printf("pt = %s\n", pt->strarg);
368 373
         while (pt) {
369 374
             if (!strcmp(pt->strarg, "/")) {
370 375
 				logg("!ClamInotif: Not including path '%s' while DDD is enabled\n", pt->strarg);
... ...
@@ -376,19 +383,23 @@ void *onas_ddd_th(void *arg) {
376 376
                 if (onas_ht_add_hierarchy(ddd_ht, pt->strarg)) {
377 377
 					logg("!ClamInotif: Can't include path '%s'\n", pt->strarg);
378 378
                     return NULL;
379
-                } else
379
+				} else {
380
+					printf("Blah\n");
380 381
 					logg("ClamInotif: Protecting directory '%s' (and all sub-directories)\n", pt->strarg);
381 382
             }
383
+			}
382 384
 
383 385
             pt = (struct optstruct *)pt->nextarg;
386
+			printf("Blah\n");
384 387
         }
385 388
     } else {
389
+		printf("Blah\n");
386 390
 		logg("!ClamInotif: Please specify at least one path with OnAccessIncludePath\n");
387 391
         return NULL;
388 392
     }
389 393
 
390 394
     /* Remove provided paths recursively. */
391
-    if ((pt = optget(tharg->opts, "OnAccessExcludePath"))->enabled) {
395
+	if((pt = optget(ctx->opts, "OnAccessExcludePath"))->enabled) {
392 396
         while (pt) {
393 397
             size_t ptlen = strlen(pt->strarg);
394 398
             if (onas_ht_get(ddd_ht, pt->strarg, ptlen, NULL) == CL_SUCCESS) {
... ...
@@ -404,13 +415,13 @@ void *onas_ddd_th(void *arg) {
404 404
     }
405 405
 
406 406
     /* Watch provided paths recursively */
407
-    if ((pt = optget(tharg->opts, "OnAccessIncludePath"))->enabled) {
407
+	if((pt = optget(ctx->opts, "OnAccessIncludePath"))->enabled) {
408 408
         while (pt) {
409 409
             size_t ptlen = strlen(pt->strarg);
410 410
             if (onas_ht_get(ddd_ht, pt->strarg, ptlen, NULL) == CL_SUCCESS) {
411
-                if (onas_ddd_watch(pt->strarg, tharg->fan_fd, tharg->fan_mask, onas_in_fd, in_mask)) {
411
+				if(onas_ddd_watch(pt->strarg, ctx->fan_fd, ctx->fan_mask, onas_in_fd, in_mask)) {
412 412
 					logg("!ClamInotif: Could not watch path '%s', %s\n", pt->strarg, strerror(errno));
413
-                    if (errno == EINVAL && optget(tharg->opts, "OnAccessPrevention")->enabled) {
413
+					if(errno == EINVAL && optget(ctx->opts, "OnAccessPrevention")->enabled) {
414 414
 						logg("!ClamInotif: When using the OnAccessPrevention option, please ensure your kernel\n\t\t\twas compiled with CONFIG_FANOTIFY_ACCESS_PERMISSIONS set to Y\n");
415 415
 
416 416
                         kill(getpid(), SIGTERM);
... ...
@@ -424,7 +435,7 @@ void *onas_ddd_th(void *arg) {
424 424
 
425 425
     /* TODO: Re-enable OnAccessExtraScanning once the thread resource consumption issue is resolved. */
426 426
 #if 0
427
-	if(optget(tharg->opts, "OnAccessExtraScanning")->enabled) {
427
+	if(optget(ctx->opts, "OnAccessExtraScanning")->enabled) {
428 428
 		logg("ClamInotif: Extra scanning and notifications enabled.\n");
429 429
 }
430 430
 #endif
... ...
@@ -463,72 +474,71 @@ void *onas_ddd_th(void *arg) {
463 463
                     snprintf(child_path, size, "%s/%s", path, child);
464 464
 
465 465
                 if (event->mask & IN_DELETE) {
466
-                    onas_ddd_handle_in_delete(tharg, path, child_path, event, wd);
466
+					onas_ddd_handle_in_delete(ctx, path, child_path, event, wd);
467 467
 
468 468
                 } else if (event->mask & IN_MOVED_FROM) {
469
-                    onas_ddd_handle_in_moved_from(tharg, path, child_path, event, wd);
469
+					onas_ddd_handle_in_moved_from(ctx, path, child_path, event, wd);
470 470
 
471 471
                 } else if (event->mask & IN_CREATE) {
472
-                    onas_ddd_handle_in_create(tharg, path, child_path, event, wd, in_mask);
472
+					onas_ddd_handle_in_create(ctx, path, child_path, event, wd, in_mask);
473 473
 
474 474
                 } else if (event->mask & IN_MOVED_TO) {
475
-                    onas_ddd_handle_in_moved_to(tharg, path, child_path, event, wd, in_mask);
475
+					onas_ddd_handle_in_moved_to(ctx, path, child_path, event, wd, in_mask);
476 476
                 }
477 477
             }
478 478
         }
479 479
     }
480 480
 
481
+        logg("*ClamInotif: Exiting inotify event thread\n");
481 482
     return NULL;
482 483
 }
483 484
 
484
-static void onas_ddd_handle_in_delete(struct ddd_thrarg *tharg,
485
-                                      const char *path, const char *child_path, const struct inotify_event *event, int wd)
486
-{
485
+
486
+static void onas_ddd_handle_in_delete(struct onas_context *ctx,
487
+		const char *path, const char *child_path, const struct inotify_event *event, int wd) {
487 488
 
488 489
     struct stat s;
489 490
     if (stat(child_path, &s) == 0 && S_ISREG(s.st_mode)) return;
490 491
     if (!(event->mask & IN_ISDIR)) return;
491 492
 
492 493
 	logg("*ClamInotif: DELETE - Removing %s from %s with wd:%d\n", child_path, path, wd);
493
-    onas_ddd_unwatch(child_path, tharg->fan_fd, onas_in_fd);
494
+	onas_ddd_unwatch(child_path, ctx->fan_fd, onas_in_fd);
494 495
     onas_ht_rm_hierarchy(ddd_ht, child_path, strlen(child_path), 0);
495 496
 
496 497
     return;
497 498
 }
498 499
 
499
-static void onas_ddd_handle_in_moved_from(struct ddd_thrarg *tharg,
500
-                                          const char *path, const char *child_path, const struct inotify_event *event, int wd)
501
-{
500
+static void onas_ddd_handle_in_moved_from(struct onas_context *ctx,
501
+		const char *path, const char *child_path, const struct inotify_event *event, int wd) {
502 502
 
503 503
     struct stat s;
504 504
     if (stat(child_path, &s) == 0 && S_ISREG(s.st_mode)) return;
505 505
     if (!(event->mask & IN_ISDIR)) return;
506 506
 
507 507
 	logg("*ClamInotif: MOVED_FROM - Removing %s from %s with wd:%d\n", child_path, path, wd);
508
-    onas_ddd_unwatch(child_path, tharg->fan_fd, onas_in_fd);
508
+	onas_ddd_unwatch(child_path, ctx->fan_fd, onas_in_fd);
509 509
     onas_ht_rm_hierarchy(ddd_ht, child_path, strlen(child_path), 0);
510 510
 
511 511
     return;
512 512
 }
513 513
 
514
-static void onas_ddd_handle_in_create(struct ddd_thrarg *tharg,
515
-                                      const char *path, const char *child_path, const struct inotify_event *event, int wd, uint64_t in_mask)
516
-{
514
+static void onas_ddd_handle_in_create(struct onas_context *ctx,
515
+		const char *path, const char *child_path, const struct inotify_event *event, int wd, uint64_t in_mask) {
517 516
 
518 517
     struct stat s;
519 518
 
520 519
     /* TODO: Re-enable OnAccessExtraScanning once the thread resource consumption issue is resolved. */
521 520
 #if 0
522
-	if (optget(tharg->opts, "OnAccessExtraScanning")->enabled) {
521
+	if (optget(ctx->opts, "OnAccessExtraScanning")->enabled) {
523 522
 		if(stat(child_path, &s) == 0 && S_ISREG(s.st_mode)) {
524
-			onas_ddd_handle_extra_scanning(tharg, child_path, ONAS_SCTH_ISFILE);
523
+			onas_ddd_handle_extra_scanning(ctx, child_path, ONAS_SCTH_ISFILE);
525 524
 
526 525
 		} else if(stat(child_path, &s) == 0 && S_ISDIR(s.st_mode)) {
527 526
 			logg("*ClamInotif: CREATE - Adding %s to %s with wd:%d\n", child_path, path, wd);
528 527
 			onas_ht_add_hierarchy(ddd_ht, child_path);
529
-			onas_ddd_watch(child_path, tharg->fan_fd, tharg->fan_mask, onas_in_fd, in_mask);
528
+			onas_ddd_watch(child_path, ctx->fan_fd, ctx->fan_mask, onas_in_fd, in_mask);
530 529
 
531
-			onas_ddd_handle_extra_scanning(tharg, child_path, ONAS_SCTH_ISDIR);
530
+			onas_ddd_handle_extra_scanning(ctx, child_path, ONAS_SCTH_ISDIR);
532 531
 		}
533 532
 	}
534 533
 	else
... ...
@@ -539,29 +549,28 @@ static void onas_ddd_handle_in_create(struct ddd_thrarg *tharg,
539 539
 
540 540
 		logg("*ClamInotif: MOVED_TO - Adding %s to %s with wd:%d\n", child_path, path, wd);
541 541
         onas_ht_add_hierarchy(ddd_ht, child_path);
542
-        onas_ddd_watch(child_path, tharg->fan_fd, tharg->fan_mask, onas_in_fd, in_mask);
542
+		onas_ddd_watch(child_path, ctx->fan_fd, ctx->fan_mask, onas_in_fd, in_mask);
543 543
     }
544 544
 
545 545
     return;
546 546
 }
547 547
 
548
-static void onas_ddd_handle_in_moved_to(struct ddd_thrarg *tharg,
549
-                                        const char *path, const char *child_path, const struct inotify_event *event, int wd, uint64_t in_mask)
550
-{
548
+static void onas_ddd_handle_in_moved_to(struct onas_context *ctx,
549
+		const char *path, const char *child_path, const struct inotify_event *event, int wd, uint64_t in_mask) {
551 550
 
552 551
     struct stat s;
553 552
     /* TODO: Re-enable OnAccessExtraScanning once the thread resource consumption issue is resolved. */
554 553
 #if 0
555
-	if (optget(tharg->opts, "OnAccessExtraScanning")->enabled) {
554
+	if (optget(ctx->opts, "OnAccessExtraScanning")->enabled) {
556 555
 		if(stat(child_path, &s) == 0 && S_ISREG(s.st_mode)) {
557
-			onas_ddd_handle_extra_scanning(tharg, child_path, ONAS_SCTH_ISFILE);
556
+			onas_ddd_handle_extra_scanning(ctx, child_path, ONAS_SCTH_ISFILE);
558 557
 
559 558
 		} else if(stat(child_path, &s) == 0 && S_ISDIR(s.st_mode)) {
560 559
 			logg("*ClamInotif: MOVED_TO - Adding %s to %s with wd:%d\n", child_path, path, wd);
561 560
 			onas_ht_add_hierarchy(ddd_ht, child_path);
562
-			onas_ddd_watch(child_path, tharg->fan_fd, tharg->fan_mask, onas_in_fd, in_mask);
561
+			onas_ddd_watch(child_path, ctx->fan_fd, ctx->fan_mask, onas_in_fd, in_mask);
563 562
 
564
-			onas_ddd_handle_extra_scanning(tharg, child_path, ONAS_SCTH_ISDIR);
563
+			onas_ddd_handle_extra_scanning(ctx, child_path, ONAS_SCTH_ISDIR);
565 564
 		}
566 565
 	}
567 566
 	else
... ...
@@ -572,14 +581,14 @@ static void onas_ddd_handle_in_moved_to(struct ddd_thrarg *tharg,
572 572
 
573 573
 		logg("*ClamInotif: MOVED_TO - Adding %s to %s with wd:%d\n", child_path, path, wd);
574 574
         onas_ht_add_hierarchy(ddd_ht, child_path);
575
-        onas_ddd_watch(child_path, tharg->fan_fd, tharg->fan_mask, onas_in_fd, in_mask);
575
+		onas_ddd_watch(child_path, ctx->fan_fd, ctx->fan_mask, onas_in_fd, in_mask);
576 576
     }
577 577
 
578 578
     return;
579 579
 }
580 580
 
581
-static void onas_ddd_handle_extra_scanning(struct ddd_thrarg *tharg, const char *pathname, int extra_options)
582
-{
581
+
582
+static void onas_ddd_handle_extra_scanning(struct onas_context *ctx, const char *pathname, int extra_options) {
583 583
 
584 584
     int thread_started             = 1;
585 585
     struct scth_thrarg *scth_tharg = NULL;
... ...
@@ -594,12 +603,10 @@ static void onas_ddd_handle_extra_scanning(struct ddd_thrarg *tharg, const char
594 594
         if (!(scth_tharg = (struct scth_thrarg *)calloc(sizeof(struct scth_thrarg), 1))) break;
595 595
         if (!(scth_tharg->options = (struct cl_scan_options *)calloc(sizeof(struct cl_scan_options), 1))) break;
596 596
 
597
-        (void)memcpy(scth_tharg->options, tharg->options, sizeof(struct cl_scan_options));
598 597
 
599 598
         scth_tharg->extra_options = extra_options;
600
-        scth_tharg->opts          = tharg->opts;
599
+		scth_tharg->opts = ctx->opts;
601 600
         scth_tharg->pathname      = strdup(pathname);
602
-        scth_tharg->engine        = tharg->engine;
603 601
 
604 602
         thread_started = pthread_create(&scth_pid, &scth_attr, onas_scan_th, scth_tharg);
605 603
     } while (0);
... ...
@@ -22,7 +22,7 @@
22 22
 #define __ONAS_IN_H
23 23
 
24 24
 #include "shared/optparser.h"
25
-#include "clamav.h"
25
+#include "libclamav/clamav.h"
26 26
 
27 27
 /*
28 28
  * Extra options for onas_scan_th(). 
... ...
@@ -34,7 +34,7 @@
34 34
 #include "shared/optparser.h"
35 35
 #include "shared/output.h"
36 36
 
37
-#include "others.h"
37
+#include "libclamav/others.h"
38 38
 #include "clamd/priv_fts.h"
39 39
 #include "../misc/onaccess_others.h"
40 40
 #include "onaccess_scth.h"
... ...
@@ -29923,6 +29923,7 @@ elif test $ac_cv_sizeof_long_long = 8; then
29923 29923
 
29924 29924
 fi
29925 29925
 
29926
+
29926 29927
 cat >confcache <<\_ACEOF
29927 29928
 # This file is a shell script that caches the results of configure
29928 29929
 # tests run on this system so they can be shared between configure