1 |
#***************************************************************************** |
#***************************************************************************** |
2 |
# |
# |
3 |
# FILE NAME: $Id: Makefile,v 1.2 2008/09/23 07:57:55 mocchiut Exp $ |
# FILE NAME: $Id: Makefile,v 1.5 2008/09/23 14:02:47 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 \ |
103 |
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ |
104 |
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o \ |
105 |
-Wl,--whole-archive \ |
-Wl,--whole-archive \ |
106 |
$^ \ |
$^ \ |
107 |
-Wl,--no-whole-archive |
-Wl,--no-whole-archive |
113 |
for sub_lib in $(TARGETLIB) $(EXTLIB) ; do \ |
for sub_lib in $(TARGETLIB) $(EXTLIB) ; do \ |
114 |
$(AR) -x $$sub_lib ; \ |
$(AR) -x $$sub_lib ; \ |
115 |
done ;\ |
done ;\ |
116 |
$(AR) -scrv libyoda.a *.o |
$(AR) -scrv libyoda.a *.o \ |
117 |
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ |
118 |
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o |
119 |
|
|
120 |
$(TARGETLIB) : ${OBJS} |
$(TARGETLIB) : ${OBJS} |
121 |
$(AR) -scrv $@ $? |
$(AR) -scrv $@ $? |