~ubuntu-branches/ubuntu/maverick/tn5250/maverick

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Carey Evans
  • Date: 2009-12-17 22:23:00 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20091217222300-cyutcin1bc0m9wrd
Tags: 0.17.4-2
Fix many compiler warnings, especially implicit pointer conversions
(closes: #561165, #561166).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Process this file with automake to produce Makefile.in
2
 
 
3
 
lib_LTLIBRARIES =       lib5250.la
4
 
 
5
 
bin_PROGRAMS =          scs2ascii\
6
 
                        scs2pdf\
7
 
                        scs2ps\
8
 
                        tn5250\
9
 
                        lp5250d
10
 
 
11
 
lib5250_la_SOURCES =    buffer.c\
12
 
                        conf.c\
13
 
                        cursesterm.c\
14
 
                        debug.c\
15
 
                        dbuffer.c\
16
 
                        display.c\
17
 
                        field.c\
18
 
                        menu.c\
19
 
                        printsession.c\
20
 
                        record.c\
21
 
                        scrollbar.c\
22
 
                        scs.c\
23
 
                        session.c\
24
 
                        slangterm.c\
25
 
                        sslstream.c\
26
 
                        stream.c\
27
 
                        terminal.c\
28
 
                        telnetstr.c\
29
 
                        utility.c\
30
 
                        version.c\
31
 
                        wtd.c\
32
 
                        macro.c\
33
 
                        window.c
34
 
 
35
 
lib5250_la_LIBADD =     @with_extra_libs@
36
 
 
37
 
INCLUDES = @PYTHON_CFLAGS@ \
38
 
        -DSYSCONFDIR=\"$(sysconfdir)\"
39
 
 
40
 
# Here's where we build the python module.
41
 
if PYTHON
42
 
pysodir =               @PYTHON_PREFIX@/lib/python@PYTHON_VERSION@/lib-dynload
43
 
pyso_LTLIBRARIES =      libtn5250module.la
44
 
 
45
 
# For some icky reason, automake or libtool pukes on the below line.  So we
46
 
# just add all the SOURCES (sigh).
47
 
# libtn5250module_la_LIBADD =   lib5250.la
48
 
 
49
 
libtn5250module_la_LIBADD =     @with_exra_libs@
50
 
 
51
 
libtn5250module_la_SOURCES =    tn5250-python.c\
52
 
                        $(lib5250_la_SOURCES)
53
 
endif
54
 
 
55
 
 
56
 
tn5250_SOURCES =        tn5250.c
57
 
 
58
 
tn5250_LDADD =          @with_extra_libs@ lib5250.la
59
 
 
60
 
scs2ascii_SOURCES =     scs2ascii.c
61
 
 
62
 
scs2ascii_LDADD =       @with_extra_libs@ lib5250.la
63
 
 
64
 
scs2pdf_SOURCES =       scs2pdf.c
65
 
 
66
 
scs2pdf_LDADD =         @with_extra_libs@ lib5250.la
67
 
 
68
 
scs2ps_SOURCES =        scs2ps.c
69
 
 
70
 
scs2ps_LDADD =          @with_extra_libs@ lib5250.la
71
 
 
72
 
lp5250d_SOURCES =       lp5250d.c
73
 
 
74
 
lp5250d_LDADD =         @with_extra_libs@ lib5250.la
75
 
 
76
 
pkginclude_HEADERS =    buffer.h\
77
 
                        codes5250.h\
78
 
                        conf.h\
79
 
                        config.h\
80
 
                        cursesterm.h\
81
 
                        debug.h\
82
 
                        dbuffer.h\
83
 
                        display.h\
84
 
                        field.h\
85
 
                        menu.h\
86
 
                        printsession.h\
87
 
                        record.h\
88
 
                        scrollbar.h\
89
 
                        scs.h\
90
 
                        session.h\
91
 
                        slangterm.h\
92
 
                        stream.h\
93
 
                        terminal.h\
94
 
                        utility.h\
95
 
                        wtd.h\
96
 
                        window.h\
97
 
                        macro.h
98
 
 
99
 
include_HEADERS =       tn5250.h
100
 
 
101
 
noinst_HEADERS =        transmaps.h\
102
 
                        tn5250-private.h
103
 
 
104
 
EXTRA_DIST =            .lclintrc\
105
 
                        transmaps
106
 
 
107
 
lclint:
108
 
        @echo "lint checking with lclint... "
109
 
        @( lclint tn5250.c $(lib5250_la_SOURCES) > lclint.err 2>&1 ; \
110
 
          retval=$$? ; \
111
 
          echo "`grep -c :.*:.*: lclint.err` errors." ; \
112
 
          exit $$retval )
113
 
 
114
 
config.h: tn5250-config.h
115
 
        cat tn5250-config.h |sed -e 's/VERSION/TN5250_LIB_VERSION/g' -e '/PACKAGE/d' >config.h
116
 
 
117
 
#
118
 
# We generate our library docs using robodoc.
119
 
#
120
 
DOCFILES = $(lib5250_la_SOURCES) $(pkginclude_HEADERS)
121
 
 
122
 
docs:
123
 
        ( rm -f index.xrefs ; \
124
 
          for file in $(DOCFILES) ; do \
125
 
            robodoc $$file ../doc/$$file.html GENXREF ../doc/$$file.xref ; \
126
 
            echo "../doc/$$file.xref" >>../doc/index.xrefs ; \
127
 
          done ; \
128
 
          for file in $(DOCFILES) ; do \
129
 
            robodoc $$file ../doc/$$file.html HTML -x ../doc/index.xrefs ; \
130
 
          done ; \
131
 
          robodoc ../doc/index.xrefs ../doc/index.html INDEX HTML ; \
132
 
          rm -f ../doc/*.xref ../doc/index.xrefs )
133
 
 
134
 
clean-local:
135
 
        rm -f *~ *.xref index.xrefs index.html
136
 
 
137
 
distclean-local:
138
 
        rm -f config.h
139
 
 
140
 
install-exec-local:
141
 
if PYTHON
142
 
        ( cd $(pysodir) && ln -sf libtn5250module.so tn5250module.so )
143
 
else
144
 
        : 
145
 
endif
146
 
 
147
 
.PHONY: lclint
148