1 |
#***************************************************************************** |
#***************************************************************************** |
2 |
# |
# |
3 |
# FILE NAME: $Id: Makefile,v 1.8 2008/09/23 15:43:25 mocchiut Exp $ |
# FILE NAME: $Id: Makefile,v 1.9 2008/09/24 08:47:56 mocchiut Exp $ |
4 |
# VERSION: |
# VERSION: |
5 |
# AUTHOR: Nergal S.r.l. |
# AUTHOR: Nergal S.r.l. |
6 |
# DATE: |
# DATE: |
97 |
libyoda.so.0.0.0: $(TARGETLIB) $(EXTLIB) |
libyoda.so.0.0.0: $(TARGETLIB) $(EXTLIB) |
98 |
$(CXX) \ |
$(CXX) \ |
99 |
$(PAM_BIT) -o $@ \ |
$(PAM_BIT) -o $@ \ |
100 |
-shared -nostdlib \ |
-shared \ |
101 |
-Wl,-soname \ |
-Wl,-soname \ |
102 |
-Wl,libyoda.so.0 \ |
-Wl,libyoda.so.0 \ |
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crti.o \ |
|
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ |
|
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o \ |
|
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crtn.o \ |
|
103 |
-Wl,--whole-archive \ |
-Wl,--whole-archive \ |
104 |
$^ \ |
$^ \ |
105 |
-Wl,--no-whole-archive |
-Wl,--no-whole-archive |
110 |
for sub_lib in $(TARGETLIB) $(EXTLIB) ; do \ |
for sub_lib in $(TARGETLIB) $(EXTLIB) ; do \ |
111 |
$(AR) -x $$sub_lib ; \ |
$(AR) -x $$sub_lib ; \ |
112 |
done ;\ |
done ;\ |
113 |
$(AR) -scrv libyoda.a *.o \ |
$(AR) -scrv libyoda.a *.o |
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crti.o \ |
|
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ |
|
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o \ |
|
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crtn.o |
|
114 |
|
|
115 |
$(TARGETLIB) : ${OBJS} |
$(TARGETLIB) : ${OBJS} |
116 |
$(AR) -scrv $@ $? |
$(AR) -scrv $@ $? |