summaryrefslogtreecommitdiffstats
path: root/python/Makefile.am.inc
blob: f1f30a4a935f18a991d51f3f253cee7a8bbb2f01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
pyexec_LTLIBRARIES += python/zbar.la
python_zbar_la_CPPFLAGS = $(PYTHON_CFLAGS) $(AM_CPPFLAGS)
python_zbar_la_LDFLAGS = -shared -module -avoid-version -export-dynamic \
    -export-symbols-regex '(initzbar|PyInit_zbar)' $(PYTHON_LDFLAGS)
python_zbar_la_LIBADD = zbar/libzbar.la $(AM_LIBADD)

python_zbar_la_SOURCES = python/zbarmodule.c python/zbarmodule.h \
    python/enum.c python/exception.c python/symbol.c python/symbolset.c \
    python/symboliter.c python/image.c \
    python/processor.c python/imagescanner.c python/decoder.c python/scanner.c

EXTRA_DIST += python/test/barcode.png python/test/test_zbar.py \
    python/examples/processor.py python/examples/read_one.py