1 |
#***************************************************************************** |
#***************************************************************************** |
2 |
# |
# |
3 |
# FILE NAME: $Id: Makefile,v 1.3 2008/09/23 09:21:47 mocchiut Exp $ |
# FILE NAME: $Id: Makefile,v 1.7 2008/09/23 15:22:21 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 \ |
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ |
104 |
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o \ |
/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 |
|
|
|
108 |
|
|
109 |
libyoda.a: $(TARGETLIB) $(EXTLIB) |
libyoda.a: $(TARGETLIB) $(EXTLIB) |
110 |
cd $(OBJDIR) ; \ |
cd $(OBJDIR) ; \ |
113 |
$(AR) -x $$sub_lib ; \ |
$(AR) -x $$sub_lib ; \ |
114 |
done ;\ |
done ;\ |
115 |
$(AR) -scrv libyoda.a *.o \ |
$(AR) -scrv libyoda.a *.o \ |
116 |
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ |
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ |
117 |
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o |
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o |
|
|
|
118 |
|
|
119 |
$(TARGETLIB) : ${OBJS} |
$(TARGETLIB) : ${OBJS} |
120 |
$(AR) -scrv $@ $? |
$(AR) -scrv $@ $? |