~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-03-12 11:30:04 UTC
  • mfrom: (0.41.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100312113004-b0fop4bkycszdd0z
Tags: 0.96~rc1+dfsg-0ubuntu1
* New upstream RC - FFE (LP: #537636):
  - Add OfficialDatabaseOnly option to clamav-base.postinst.in
  - Add LocalSocketGroup option to clamav-base.postinst.in
  - Add LocalSocketMode option to clamav-base.postinst.in
  - Add CrossFilesystems option to clamav-base.postinst.in
  - Add ClamukoScannerCount option to clamav-base.postinst.in
  - Add BytecodeSecurity opiton to clamav-base.postinst.in
  - Add DetectionStatsHostID option to clamav-freshclam.postinst.in
  - Add Bytecode option to clamav-freshclam.postinst.in
  - Add MilterSocketGroup option to clamav-milter.postinst.in
  - Add MilterSocketMode option to clamav-milter.postinst.in
  - Add ReportHostname option to clamav-milter.postinst.in
  - Bump libclamav SO version to 6.1.0 in libclamav6.install
  - Drop clamdmon from clamav.examples (no longer shipped by upstream)
  - Drop libclamav.a from libclamav-dev.install (not built by upstream)
  - Update SO version for lintian override for libclamav6
  - Add new Bytecode Testing Tool, usr/bin/clambc, to clamav.install
  - Add build-depends on python and python-setuptools for new test suite
  - Update debian/copyright for the embedded copy of llvm (using the system
    llvm is not currently feasible)

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17
17
#  MA 02110-1301, USA.
18
18
 
19
 
SUBDIRS = lzma .
20
 
 
21
 
AM_CPPFLAGS = -I$(top_srcdir) -I@srcdir@/nsis -I@srcdir@/lzma $(LTDLINCL)
22
 
 
 
19
AM_CPPFLAGS = -I$(top_srcdir) -I@srcdir@/nsis $(LTDLINCL)
23
20
lib_LTLIBRARIES =
24
 
EXTRA_DIST =
25
 
 
26
 
 
 
21
EXTRA_DIST = c++/Makefile.nollvm.in
27
22
if ENABLE_UNRAR
28
23
 
29
24
AM_CPPFLAGS += -DWARN_DLOPEN_FAIL
80
75
                                    md5.h\
81
76
                                    others_common.c \
82
77
                                    others.h \
 
78
                                    qsort.c \
83
79
                                    regex/strlcpy.c \
84
80
                                    regex/regcomp.c \
85
81
                                    regex/regerror.c \
100
96
                                    md5.h\
101
97
                                    others_common.c \
102
98
                                    others.h \
 
99
                                    qsort.c \
103
100
                                    regex/strlcpy.c \
104
101
                                    regex/regcomp.c \
105
102
                                    regex/regerror.c \
114
111
libclamav_internal_utils_nothreads_la_LDFLAGS=-static
115
112
libclamav_internal_utils_nothreads_la_CFLAGS=-DCL_NOTHREADS
116
113
 
117
 
libclamav_la_LIBADD = @LIBLTDL@ $(IFACELIBADD) lzma/liblzma.la libclamav_internal_utils.la @LIBCLAMAV_LIBS@ @THREAD_LIBS@
118
 
libclamav_la_DEPENDENCIES =  @LTDLDEPS@ $(IFACEDEP) libclamav_internal_utils.la
 
114
if ENABLE_LLVM
 
115
LLVMLIBADD=c++/libclamavcxx.la -lstdc++ -lm
 
116
LLVMDEP=c++/libclamavcxx.la
 
117
SUBDIRS=c++
 
118
else
 
119
LLVMLIBADD=libclamav_nocxx.la
 
120
LLVMDEP=libclamav_nocxx.la
 
121
c++/Makefile: c++/Makefile.nollvm.in
 
122
        $(AM_V_at) cp $< $@
 
123
distclean-recursive distdir maintainer-clean-recursive: c++/Makefile
 
124
endif
 
125
 
 
126
libclamav_nocxx_la_SOURCES = bytecode_nojit.c
 
127
 
 
128
libclamav_la_LIBADD = @LIBLTDL@ $(IFACELIBADD) $(LLVMLIBADD) libclamav_internal_utils.la @LIBCLAMAV_LIBS@ @THREAD_LIBS@ @LIBM@
 
129
libclamav_la_DEPENDENCIES =  @LTDLDEPS@ $(IFACEDEP) $(LLVMDEP) libclamav_internal_utils.la
119
130
libclamav_la_CFLAGS = -DSEARCH_LIBDIR=\"$(libdir)\"
120
131
libclamav_la_LDFLAGS = @TH_SAFE@ -version-info @LIBCLAMAV_VERSION@ -no-undefined
121
132
 
169
180
        msexpand.h \
170
181
        pe.c \
171
182
        pe.h \
 
183
        pe_icons.c \
 
184
        pe_icons.h \
172
185
        disasm.c \
173
186
        disasm.h \
 
187
        disasm-common.h \
174
188
        disasmpriv.h \
175
189
        upx.c \
176
190
        upx.h \
264
278
        hashtab.h \
265
279
        dconf.c \
266
280
        dconf.h \
 
281
        7z/LzmaDec.c \
 
282
        7z/LzmaDec.h \
 
283
        7z/Types.h \
267
284
        lzma_iface.c \
268
285
        lzma_iface.h \
 
286
        7z.c \
 
287
        7z.h \
 
288
        7z/7zFile.c \
 
289
        7z/7zFile.h \
 
290
        7z/7zStream.c \
 
291
        7z/CpuArch.h \
 
292
        7z/7zCrc.c \
 
293
        7z/7zCrc.h \
 
294
        7z/7zBuf.c \
 
295
        7z/7zBuf.h \
 
296
        7z/Bcj2.c \
 
297
        7z/Bcj2.h \
 
298
        7z/Bra.c \
 
299
        7z/Bra.h \
 
300
        7z/Bra86.c \
 
301
        7z/Archive/7z/7zIn.c \
 
302
        7z/Archive/7z/7zIn.h \
 
303
        7z/Archive/7z/7zDecode.c \
 
304
        7z/Archive/7z/7zDecode.h \
 
305
        7z/Archive/7z/7zItem.c \
 
306
        7z/Archive/7z/7zItem.h \
 
307
        7z/Archive/7z/7zHeader.c \
 
308
        7z/Archive/7z/7zHeader.h \
 
309
        7z/Archive/7z/7zExtract.c \
 
310
        7z/Archive/7z/7zExtract.h \
269
311
        explode.c \
270
312
        explode.h \
271
313
        textnorm.c \
282
324
        version.h\
283
325
        mpool.c\
284
326
        mpool.h \
 
327
        filtering.h\
 
328
        filtering.c\
 
329
        fmap.c \
 
330
        fmap.h \
 
331
        perflogging.c\
 
332
        perflogging.h\
285
333
        default.h\
286
334
        sha256.c\
287
335
        sha256.h\
288
 
        bignum.h
 
336
        bignum.h\
 
337
        bytecode.c\
 
338
        bytecode.h\
 
339
        bytecode_vm.c\
 
340
        bytecode_priv.h\
 
341
        clambc.h \
 
342
        cpio.c \
 
343
        cpio.h \
 
344
        macho.c \
 
345
        macho.h \
 
346
        ishield.c \
 
347
        ishield.h \
 
348
        type_desc.h \
 
349
        bcfeatures.h \
 
350
        bytecode_api.c \
 
351
        bytecode_api_decl.c \
 
352
        bytecode_api.h \
 
353
        bytecode_api_impl.h \
 
354
        bytecode_hooks.h \
 
355
        cache.c \
 
356
        cache.h
289
357
 
290
358
if !LINK_TOMMATH
291
359
libclamav_la_SOURCES += bignum.c \
295
363
.PHONY: version.h.tmp
296
364
version.c: version.h
297
365
version.h: version.h.tmp
298
 
        @if test -f version.h.static; then\
 
366
        $(AM_V_GEN) if test -f version.h.static; then\
299
367
                cp version.h.static version.h;\
300
368
        elif ! diff $@ version.h.tmp >/dev/null 2>/dev/null; then\
301
369
                cp version.h.tmp $@;\
302
370
        fi
303
371
 
304
372
version.h.tmp:
305
 
        @test -f version.h || touch version.h;\
 
373
        $(AM_V_GEN) test -f version.h || touch version.h;\
306
374
        rm -f $@;\
307
 
        REVISION="$$(LANG=C cd "$(top_srcdir)"; git describe --always 2>/dev/null)";\
308
 
        if test $$? -ne 0; then\
 
375
        REVISION="$$(LANG=C cd "$(top_srcdir)"; git describe --always 2>/dev/null || echo "exported")";\
 
376
        if test "$$REVISION" = "exported"; then\
309
377
           REVISION="r$$(LANG=C svnversion "$(top_srcdir)" 2>/dev/null || echo exported)";\
310
378
           if test "$$REVISION" = "rexported"; then\
311
379
            REVISION="";\
318
386
        fi
319
387
 
320
388
lib_LTLIBRARIES += libclamav.la
321
 
noinst_LTLIBRARIES = libclamav_internal_utils.la libclamav_internal_utils_nothreads.la
 
389
noinst_LTLIBRARIES = libclamav_internal_utils.la libclamav_internal_utils_nothreads.la libclamav_nocxx.la
322
390
EXTRA_DIST += regex/engine.c libclamav.map \
323
391
             jsparse/generated/operators.h jsparse/generated/keywords.h jsparse/future_reserved_words.list\
324
392
             jsparse/keywords.list jsparse/special_keywords.list jsparse/operators.gperf
325
 
COMMON_CLEANFILES=version.h version.h.tmp *.gcda *.gcno lzma/*.gcda lzma/*.gcno
 
393
COMMON_CLEANFILES=version.h version.h.tmp *.gcda *.gcno
326
394
if MAINTAINER_MODE
327
395
BUILT_SOURCES=jsparse/generated/operators.h jsparse/generated/keywords.h jsparse-keywords.gperf
328
396