0
|
1 |
*** bison-2.3/lib/Makefile.in.orig Thu Nov 16 13:34:32 2006
|
|
2 |
--- bison-2.3/lib/Makefile.in Thu Nov 16 13:37:18 2006
|
|
3 |
***************
|
|
4 |
*** 108,113 ****
|
|
5 |
--- 108,116 ----
|
|
6 |
liby_a_LIBADD =
|
|
7 |
am_liby_a_OBJECTS = main.$(OBJEXT) yyerror.$(OBJEXT)
|
|
8 |
liby_a_OBJECTS = $(am_liby_a_OBJECTS)
|
|
9 |
+
|
|
10 |
+ main.o yyerror.o := CFLAGS += -DPIC -KPIC -xregs=no%appl
|
|
11 |
+
|
|
12 |
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
|
13 |
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
|
|
14 |
am__depfiles_maybe = depfiles
|
|
15 |
***************
|
|
16 |
*** 248,254 ****
|
|
17 |
BUILT_SOURCES = $(GETOPT_H) $(STDBOOL_H) $(UNISTD_H)
|
|
18 |
EXTRA_DIST = getopt_.h getopt_int.h stdbool_.h
|
|
19 |
MOSTLYCLEANFILES = getopt.h getopt.h-t stdbool.h stdbool.h-t unistd.h
|
|
20 |
! lib_LIBRARIES = $(YACC_LIBRARY)
|
|
21 |
EXTRA_LIBRARIES = liby.a
|
|
22 |
noinst_LIBRARIES = libbison.a
|
|
23 |
liby_a_SOURCES = main.c yyerror.c
|
|
24 |
--- 251,257 ----
|
|
25 |
BUILT_SOURCES = $(GETOPT_H) $(STDBOOL_H) $(UNISTD_H)
|
|
26 |
EXTRA_DIST = getopt_.h getopt_int.h stdbool_.h
|
|
27 |
MOSTLYCLEANFILES = getopt.h getopt.h-t stdbool.h stdbool.h-t unistd.h
|
|
28 |
! lib_LIBRARIES = $(YACC_LIBRARY) liby.so.1
|
|
29 |
EXTRA_LIBRARIES = liby.a
|
|
30 |
noinst_LIBRARIES = libbison.a
|
|
31 |
liby_a_SOURCES = main.c yyerror.c
|
|
32 |
***************
|
|
33 |
*** 363,368 ****
|
|
34 |
--- 366,374 ----
|
|
35 |
-rm -f liby.a
|
|
36 |
$(liby_a_AR) liby.a $(liby_a_OBJECTS) $(liby_a_LIBADD)
|
|
37 |
$(RANLIB) liby.a
|
|
38 |
+ liby.so.1: $(liby_a_OBJECTS) $(liby_a_DEPENDENCIES)
|
|
39 |
+ -rm -f liby.so.1
|
|
40 |
+ $(CC) $(CFLAGS) -G -h liby.so.1 -o liby.so.1 $(liby_a_OBJECTS)
|
|
41 |
|
|
42 |
mostlyclean-compile:
|
|
43 |
-rm -f *.$(OBJEXT)
|