1 |
#***************************************************************************** |
#***************************************************************************** |
2 |
# |
# |
3 |
# FILE NAME: $Id: Makefile,v 1.3 2008/09/23 09:21:47 mocchiut Exp $ |
# FILE NAME: $Id: Makefile,v 1.4 2008/09/23 11:06:38 mocchiut Exp $ |
4 |
# VERSION: |
# VERSION: |
5 |
# AUTHOR: Nergal S.r.l. |
# AUTHOR: Nergal S.r.l. |
6 |
# DATE: |
# DATE: |
100 |
-shared -nostdlib \ |
-shared -nostdlib \ |
101 |
-Wl,-soname \ |
-Wl,-soname \ |
102 |
-Wl,libyoda.so.0 \ |
-Wl,libyoda.so.0 \ |
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ |
|
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o \ |
|
103 |
-Wl,--whole-archive \ |
-Wl,--whole-archive \ |
104 |
$^ \ |
$^ \ |
105 |
-Wl,--no-whole-archive |
-Wl,--no-whole-archive |
111 |
for sub_lib in $(TARGETLIB) $(EXTLIB) ; do \ |
for sub_lib in $(TARGETLIB) $(EXTLIB) ; do \ |
112 |
$(AR) -x $$sub_lib ; \ |
$(AR) -x $$sub_lib ; \ |
113 |
done ;\ |
done ;\ |
114 |
$(AR) -scrv libyoda.a *.o \ |
$(AR) -scrv libyoda.a *.o |
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ |
|
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o |
|
115 |
|
|
116 |
|
|
117 |
$(TARGETLIB) : ${OBJS} |
$(TARGETLIB) : ${OBJS} |