summaryrefslogtreecommitdiff
path: root/libstroke/Makefile.am
blob: e0d81d87220e9c83e565072a7f146080902625dd (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# A brief demonstration of using Automake with Libtool. -*-Makefile-*-
#
# NOTE: Don't forget that in the libtool distribution, files in this
# directory are distributed by the demo_distfiles variable in the top
# level Makefile.
AUTOMAKE_OPTIONS = foreign

#tclpath::
#	echo ${ENABLE_TCL}

#if ENABLE_TCL
#SEL_BIB = libstroke.la libstroke_tcl.la
#else
#SEL_BIB = libstroke.la
#endif
#
#SEL_FIB =
#if ENABLE_TCL
#libstroke_tcl_la_SOURCES = tcl.c stroke.c
#SEL_FIB = libstroke_tcl.la
#endif
#SEL_FIB = $(SEL_FIB) libstroke.la
#
#lib_LTLIBRARIES = $(SEL_FIB)

lib_LTLIBRARIES = libstroke.la
#libstroke_tcl_la_LDFLAGS = -ltcl -version-info 0:5:0
libstroke_la_SOURCES = stroke.c stroke.h

libstroke_la_LDFLAGS = -version-info 0:5:0

include_HEADERS = stroke.h

INCLUDES = -I$(top_srcdir)/libstroke @X_CFLAGS@  

EXTRA_DIST = 

MOSTLYCLEANFILES = core *~ 
CLEANFILES = core *~ 
DISTCLEANFILES = core *~ 
MAINTAINERCLEANFILES = core *~ 

# Unfortunately, in order to test libtool thoroughly, we need access
# to its private directory.
objdir = `sed -n -e 's/^objdir=\"\(.*\)\"$$/\1/p' ./libtool`