~ubuntu-branches/ubuntu/utopic/clamav/utopic-security

« back to all changes in this revision

Viewing changes to libclamav/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2014-02-01 11:06:17 UTC
  • mfrom: (0.35.37 sid)
  • Revision ID: package-import@ubuntu.com-20140201110617-33h2xxk09dep0ui4
Tags: 0.98.1+dfsg-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - Drop build-dep on electric-fence (in Universe)
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes
  - Add autopkgtest

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
2
#  Copyright (C) 2002 - 2007 Tomasz Kojm <tkojm@clamav.net>
 
3
#  Copyright (C) 2008 - 2013 Sourcefire, Inc.
3
4
#
4
5
#  This program is free software; you can redistribute it and/or modify
5
6
#  it under the terms of the GNU General Public License as published by
17
18
#  MA 02110-1301, USA.
18
19
 
19
20
AM_CPPFLAGS = -I$(top_srcdir) -I@srcdir@/nsis $(LTDLINCL)
 
21
AM_CFLAGS=@WERR_CFLAGS@
20
22
lib_LTLIBRARIES =
21
23
EXTRA_DIST = c++/Makefile.nollvm.in
22
24
if ENABLE_UNRAR
90
92
                                    regex/utils.h
91
93
 
92
94
libclamav_internal_utils_la_LDFLAGS=-static
93
 
libclamav_internal_utils_la_CFLAGS=  -fPIC -DPIC
 
95
libclamav_internal_utils_la_CFLAGS=$(AM_CFLAGS)  -fPIC -DPIC
94
96
 
95
97
libclamav_internal_utils_nothreads_la_SOURCES=str.c\
96
98
                                    str.h\
113
115
                                    regex/utils.h
114
116
 
115
117
libclamav_internal_utils_nothreads_la_LDFLAGS=-static
116
 
libclamav_internal_utils_nothreads_la_CFLAGS=-DCL_NOTHREADS
 
118
libclamav_internal_utils_nothreads_la_CFLAGS=$(AM_CFLAGS) -DCL_NOTHREADS
117
119
 
118
120
if ENABLE_LLVM
119
121
LLVMLIBADD=c++/libclamavcxx.la -lstdc++ -lm
131
133
 
132
134
libclamav_la_LIBADD = @LIBLTDL@ $(IFACELIBADD) $(LLVMLIBADD) libclamav_internal_utils.la @LIBCLAMAV_LIBS@ @THREAD_LIBS@ @LIBM@
133
135
libclamav_la_DEPENDENCIES =  @LTDLDEPS@ $(IFACEDEP) $(LLVMDEP) libclamav_internal_utils.la
134
 
libclamav_la_CFLAGS = -DSEARCH_LIBDIR=\"$(libdir)\"
135
 
libclamav_la_LDFLAGS = @TH_SAFE@ -version-info @LIBCLAMAV_VERSION@ -no-undefined
 
136
libclamav_la_CFLAGS =$(AM_CFLAGS) $(XML_CPPFLAGS) -DSEARCH_LIBDIR=\"$(libdir)\"
 
137
libclamav_la_LDFLAGS = @TH_SAFE@ $(XML_LIBS) -version-info @LIBCLAMAV_VERSION@ -no-undefined
136
138
 
137
139
if VERSIONSCRIPT
138
140
libclamav_la_LDFLAGS += -Wl,@VERSIONSCRIPTFLAG@,@top_srcdir@/libclamav/libclamav.map
284
286
        hashtab.h \
285
287
        dconf.c \
286
288
        dconf.h \
287
 
        7z/LzmaDec.c \
288
 
        7z/LzmaDec.h \
289
 
        7z/Types.h \
290
289
        lzma_iface.c \
291
290
        lzma_iface.h \
292
 
        7z.c \
293
 
        7z.h \
 
291
        7z_iface.c \
 
292
        7z_iface.h \
 
293
        7z/7z.h \
 
294
        7z/7zAlloc.c \
 
295
        7z/7zAlloc.h \
 
296
        7z/7zBuf.c \
 
297
        7z/7zBuf.h \
 
298
        7z/7zBuf2.c \
 
299
        7z/7zCrc.c \
 
300
        7z/7zCrc.h \
 
301
        7z/7zDec.c \
294
302
        7z/7zFile.c \
295
303
        7z/7zFile.h \
 
304
        7z/7zIn.c \
296
305
        7z/7zStream.c \
297
 
        7z/CpuArch.h \
298
 
        7z/7zCrc.c \
299
 
        7z/7zCrc.h \
300
 
        7z/7zBuf.c \
301
 
        7z/7zBuf.h \
 
306
        7z/7zVersion.h \
302
307
        7z/Bcj2.c \
303
308
        7z/Bcj2.h \
304
309
        7z/Bra.c \
305
310
        7z/Bra.h \
306
311
        7z/Bra86.c \
307
 
        7z/Archive/7z/7zIn.c \
308
 
        7z/Archive/7z/7zIn.h \
309
 
        7z/Archive/7z/7zDecode.c \
310
 
        7z/Archive/7z/7zDecode.h \
311
 
        7z/Archive/7z/7zItem.c \
312
 
        7z/Archive/7z/7zItem.h \
313
 
        7z/Archive/7z/7zHeader.c \
314
 
        7z/Archive/7z/7zHeader.h \
315
 
        7z/Archive/7z/7zExtract.c \
316
 
        7z/Archive/7z/7zExtract.h \
 
312
        7z/CpuArch.h \
 
313
        7z/Lzma2Dec.c \
 
314
        7z/Lzma2Dec.h \
 
315
        7z/LzmaDec.c \
 
316
        7z/LzmaDec.h \
 
317
        7z/Ppmd.h \
 
318
        7z/Ppmd7.c \
 
319
        7z/Ppmd7.h \
 
320
        7z/Ppmd7Dec.c \
 
321
        7z/Types.h \
 
322
        7z/Xz.c \
 
323
        7z/Xz.h \
 
324
        7z/XzCrc64.c \
 
325
        7z/XzCrc64.h \
 
326
        7z/XzDec.c \
 
327
        7z/XzIn.c \
 
328
        7z/Sha256.h \
 
329
        7z/Delta.c \
 
330
        7z/Delta.h \
 
331
        7z/Alloc.h \
 
332
        7z/BraIA64.c \
 
333
        7z/CpuArch.c \
 
334
        7z/CpuArch.h \
 
335
        7z/7zCrcOpt.c \
 
336
        7z/RotateDefs.h \
317
337
        explode.c \
318
338
        explode.h \
319
339
        textnorm.c \
341
361
        sha256.h\
342
362
        sha1.c\
343
363
        sha1.h\
344
 
        bignum.h\
345
364
        bytecode.c\
346
365
        bytecode.h\
347
366
        bytecode_vm.c\
367
386
        builtin_bytecodes.h\
368
387
        events.c\
369
388
        events.h \
 
389
        adc.c \
 
390
        adc.h \
 
391
        dmg.c \
 
392
        dmg.h \
 
393
        xar.c \
 
394
        xar.h \
 
395
        xz_iface.c \
 
396
        xz_iface.h \
 
397
        sf_base64decode.c \
 
398
        sf_base64decode.h \
 
399
        hfsplus.c \
 
400
        hfsplus.h \
 
401
        swf.c \
 
402
        swf.h \
 
403
        jpeg.c \
 
404
        jpeg.h \
 
405
        png.c \
 
406
        png.h \
 
407
        iso9660.c \
 
408
        iso9660.h \
370
409
        arc4.c \
371
 
        arc4.h
 
410
        arc4.h \
 
411
        rijndael.c \
 
412
        rijndael.h \
 
413
        crtmgr.c \
 
414
        crtmgr.h \
 
415
        asn1.c \
 
416
        asn1.h
372
417
 
373
 
if !LINK_TOMMATH
374
 
libclamav_la_SOURCES += bignum.c \
375
 
                     bignum_class.h
376
 
endif
 
418
libclamav_la_SOURCES += bignum.h\
 
419
        bignum_fast.h\
 
420
        tomsfastmath/addsub/fp_add.c\
 
421
        tomsfastmath/addsub/fp_add_d.c\
 
422
        tomsfastmath/addsub/fp_addmod.c\
 
423
        tomsfastmath/addsub/fp_cmp.c\
 
424
        tomsfastmath/addsub/fp_cmp_d.c\
 
425
        tomsfastmath/addsub/fp_cmp_mag.c\
 
426
        tomsfastmath/addsub/fp_sub.c\
 
427
        tomsfastmath/addsub/fp_sub_d.c\
 
428
        tomsfastmath/addsub/fp_submod.c\
 
429
        tomsfastmath/addsub/s_fp_add.c\
 
430
        tomsfastmath/addsub/s_fp_sub.c\
 
431
        tomsfastmath/bin/fp_radix_size.c\
 
432
        tomsfastmath/bin/fp_read_radix.c\
 
433
        tomsfastmath/bin/fp_read_signed_bin.c\
 
434
        tomsfastmath/bin/fp_read_unsigned_bin.c\
 
435
        tomsfastmath/bin/fp_reverse.c\
 
436
        tomsfastmath/bin/fp_s_rmap.c\
 
437
        tomsfastmath/bin/fp_signed_bin_size.c\
 
438
        tomsfastmath/bin/fp_to_signed_bin.c\
 
439
        tomsfastmath/bin/fp_to_unsigned_bin.c\
 
440
        tomsfastmath/bin/fp_toradix.c\
 
441
        tomsfastmath/bin/fp_toradix_n.c\
 
442
        tomsfastmath/bin/fp_unsigned_bin_size.c\
 
443
        tomsfastmath/bit/fp_cnt_lsb.c\
 
444
        tomsfastmath/bit/fp_count_bits.c\
 
445
        tomsfastmath/bit/fp_div_2.c\
 
446
        tomsfastmath/bit/fp_div_2d.c\
 
447
        tomsfastmath/bit/fp_lshd.c\
 
448
        tomsfastmath/bit/fp_mod_2d.c\
 
449
        tomsfastmath/bit/fp_rshd.c\
 
450
        tomsfastmath/divide/fp_div.c\
 
451
        tomsfastmath/divide/fp_div_d.c\
 
452
        tomsfastmath/divide/fp_mod.c\
 
453
        tomsfastmath/divide/fp_mod_d.c\
 
454
        tomsfastmath/exptmod/fp_2expt.c\
 
455
        tomsfastmath/exptmod/fp_exptmod.c\
 
456
        tomsfastmath/misc/fp_ident.c\
 
457
        tomsfastmath/misc/fp_set.c\
 
458
        tomsfastmath/mont/fp_montgomery_calc_normalization.c\
 
459
        tomsfastmath/mont/fp_montgomery_reduce.c\
 
460
        tomsfastmath/mont/fp_montgomery_setup.c\
 
461
        tomsfastmath/mul/fp_mul.c\
 
462
        tomsfastmath/mul/fp_mul_comba.c\
 
463
        tomsfastmath/mul/fp_mul_2.c\
 
464
        tomsfastmath/mul/fp_mul_2d.c\
 
465
        tomsfastmath/mul/fp_mul_comba_12.c\
 
466
        tomsfastmath/mul/fp_mul_comba_17.c\
 
467
        tomsfastmath/mul/fp_mul_comba_20.c\
 
468
        tomsfastmath/mul/fp_mul_comba_24.c\
 
469
        tomsfastmath/mul/fp_mul_comba_28.c\
 
470
        tomsfastmath/mul/fp_mul_comba_3.c\
 
471
        tomsfastmath/mul/fp_mul_comba_32.c\
 
472
        tomsfastmath/mul/fp_mul_comba_4.c\
 
473
        tomsfastmath/mul/fp_mul_comba_48.c\
 
474
        tomsfastmath/mul/fp_mul_comba_6.c\
 
475
        tomsfastmath/mul/fp_mul_comba_64.c\
 
476
        tomsfastmath/mul/fp_mul_comba_7.c\
 
477
        tomsfastmath/mul/fp_mul_comba_8.c\
 
478
        tomsfastmath/mul/fp_mul_comba_9.c\
 
479
        tomsfastmath/mul/fp_mul_comba_small_set.c\
 
480
        tomsfastmath/mul/fp_mul_d.c\
 
481
        tomsfastmath/mul/fp_mulmod.c\
 
482
        tomsfastmath/numtheory/fp_invmod.c\
 
483
        tomsfastmath/sqr/fp_sqr.c\
 
484
        tomsfastmath/sqr/fp_sqr_comba_12.c\
 
485
        tomsfastmath/sqr/fp_sqr_comba_17.c\
 
486
        tomsfastmath/sqr/fp_sqr_comba_20.c\
 
487
        tomsfastmath/sqr/fp_sqr_comba_24.c\
 
488
        tomsfastmath/sqr/fp_sqr_comba_28.c\
 
489
        tomsfastmath/sqr/fp_sqr_comba_3.c\
 
490
        tomsfastmath/sqr/fp_sqr_comba_32.c\
 
491
        tomsfastmath/sqr/fp_sqr_comba_4.c\
 
492
        tomsfastmath/sqr/fp_sqr_comba_48.c\
 
493
        tomsfastmath/sqr/fp_sqr_comba_6.c\
 
494
        tomsfastmath/sqr/fp_sqr_comba_64.c\
 
495
        tomsfastmath/sqr/fp_sqr_comba_7.c\
 
496
        tomsfastmath/sqr/fp_sqr_comba_8.c\
 
497
        tomsfastmath/sqr/fp_sqr_comba_9.c\
 
498
        tomsfastmath/sqr/fp_sqr_comba_generic.c\
 
499
        tomsfastmath/sqr/fp_sqr_comba_small_set.c\
 
500
        tomsfastmath/sqr/fp_sqrmod.c
377
501
 
378
502
.PHONY: version.h.tmp
379
503
version.c: version.h
399
523
 
400
524
lib_LTLIBRARIES += libclamav.la
401
525
noinst_LTLIBRARIES = libclamav_internal_utils.la libclamav_internal_utils_nothreads.la libclamav_nocxx.la
402
 
EXTRA_DIST += regex/engine.c libclamav.map \
 
526
EXTRA_DIST += regex/engine.c tomsfastmath/sqr/fp_sqr_comba.c tomsfastmath/mul/fp_mul_comba.c libclamav.map \
403
527
             jsparse/generated/operators.h jsparse/generated/keywords.h jsparse/future_reserved_words.list\
404
528
             jsparse/keywords.list jsparse/special_keywords.list jsparse/operators.gperf
405
529
COMMON_CLEANFILES=version.h version.h.tmp *.gcda *.gcno