File: Makefile.am

package info (click to toggle)
libgocr 0.7.2-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,888 kB
  • ctags: 3,506
  • sloc: sh: 8,723; ansic: 7,872; makefile: 242
file content (30 lines) | stat: -rw-r--r-- 770 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# add -static to the LDFLAGS if you want to debug it easily.
# or you can do 'libtool gdb prog', but not if you use DDD.

noinst_PROGRAMS = image imagewrite charfind module modtest

INCLUDES = -I../include
GOCRLIB = ../src/libgocr.la

image_SOURCES = image.c
image_LDADD = $(GOCRLIB)
image_LDFLAGS = 

imagewrite_SOURCES = imagewrite.c
imagewrite_LDADD = $(GOCRLIB)
imagewrite_LDFLAGS =

charfind_SOURCES = charfind.c
charfind_LDADD = $(GOCRLIB)
charfind_LDFLAGS = -static

module_SOURCES = module.c
module_LDFLAGS = -export-dynamic -static -dlopen "self" -dlopen  /home/gocr/modules/modules/libtester.la
module_LDADD = $(GOCRLIB)

modtest_SOURCES = modtest.c
modtest_LDFLAGS = -export-dynamic
modtest_LDADD = $(GOCRLIB)

clean-local:
	rm -f imagewrite.ppm charfind.ppm