1 |
#***************************************************************************** |
#***************************************************************************** |
2 |
# |
# |
3 |
# FILE NAME: $Id: Makefile,v 1.7 2008/09/23 15:22:21 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 \ |
103 |
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ |
-Wl,--whole-archive \ |
104 |
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o \ |
$^ \ |
105 |
-Wl,--whole-archive \ |
-Wl,--no-whole-archive |
|
$^ \ |
|
|
-Wl,--no-whole-archive |
|
106 |
|
|
107 |
libyoda.a: $(TARGETLIB) $(EXTLIB) |
libyoda.a: $(TARGETLIB) $(EXTLIB) |
108 |
cd $(OBJDIR) ; \ |
cd $(OBJDIR) ; \ |
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/crtbeginS.o \ |
|
|
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o |
|
114 |
|
|
115 |
$(TARGETLIB) : ${OBJS} |
$(TARGETLIB) : ${OBJS} |
116 |
$(AR) -scrv $@ $? |
$(AR) -scrv $@ $? |