Building a library of libraries under 6.3.0 SP2

bridged with qnx.development_tools
Post Reply
RIchard Doucet

Building a library of libraries under 6.3.0 SP2

Post by RIchard Doucet » Wed Nov 09, 2005 4:01 pm

Is there an easier way to do this? In the past, we created a library
project, then modified the makefile as follows:

include ../../common.mk (existing)
include ../../objfiles.mk (added)

When then defined the objfiles.mk as follows:

VARIANT = $(CPU)/$(notdir $(CURDIR))

only_objs = $(PATH)/Acc/AccAttributes/$(VARIANT)/*.o \
.
.
.
$(PATH)/Apm/ApmDir/$(VARIANT)/*.o

This works ok under SP2, such that when I select my project, it will
recompile the depedencies if required, but it does not rebuild the libraries
(.a, .so) themselves.

Shahrad

Re: Building a library of libraries under 6.3.0 SP2

Post by Shahrad » Sat Jun 10, 2006 1:06 am

Hello Richard,

I read this email and it is intreating for me, because I have a problem that
maybe you can help me.

We are in the beggining of porting a project to QNX and trying to make
project in Momentics. Our project tree has lots of branches, qhich are
libraries for main program. If we want to create a make file for
subdirectory to compile it as a library and then link to main program, how
can we do that.

I appreciate your time and reply.

Regards,
Sharad


"RIchard Doucet" <doucetr@DONTaeclSPAM.caME> wrote in message
news:dkt5du$ak2$1@inn.qnx.com...
Is there an easier way to do this? In the past, we created a library
project, then modified the makefile as follows:

include ../../common.mk (existing)
include ../../objfiles.mk (added)

When then defined the objfiles.mk as follows:

VARIANT = $(CPU)/$(notdir $(CURDIR))

only_objs = $(PATH)/Acc/AccAttributes/$(VARIANT)/*.o \
.
.
.
$(PATH)/Apm/ApmDir/$(VARIANT)/*.o

This works ok under SP2, such that when I select my project, it will
recompile the depedencies if required, but it does not rebuild the
libraries
(.a, .so) themselves.

Post Reply

Return to “qnx.development_tools”