diff options
author | Will Estes <wlestes@users.sourceforge.net> | 2007-04-14 12:25:58 +0000 |
---|---|---|
committer | Will Estes <wlestes@users.sourceforge.net> | 2007-04-14 12:25:58 +0000 |
commit | 366d53f8e9bd15453ed72004608730f7a61eb90c (patch) | |
tree | be9f2aa5316fc1976c702f9a7888bee781094fea /Makefile.am | |
parent | bf86176f501ae037f9c23f4754e0ac7d5a919962 (diff) |
provide for a PIC version of libfl.a for shared libraries using flex scanners
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index e767ac3..5bad607 100644 --- a/Makefile.am +++ b/Makefile.am @@ -39,7 +39,9 @@ m4 = @M4@ indent = @INDENT@ bin_PROGRAMS = flex -lib_LIBRARIES = libfl.a +lib_LIBRARIES = \ + libfl.a \ + libfl_pic.a flex_SOURCES = \ ccl.c \ @@ -68,6 +70,14 @@ libfl_a_SOURCES = \ libmain.c \ libyywrap.c +libfl_pic_a_SOURCES = \ + libmain.c \ + libyywrap.c + +libfl_pic_a_CFLAGS = \ + -fPIC \ + $(AM_CFLAGS) + noinst_HEADERS = \ flexdef.h \ flexint.h \ |