Ignore:
Timestamp:
Mar 8, 2012 6:35:03 AM (12 years ago)
Author:
bennylp
Message:

Closed #1462: Added support for building libresample as shared library for GNU targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/build/rules.mak

    r3428 r3967  
    1010# 
    1111LIB = $($(APP)_LIB) 
     12 
     13# 
     14# The full path of output lib file (e.g. ../lib/libapp.a). 
     15# 
     16SHLIB = $($(APP)_SHLIB) 
    1217 
    1318# 
     
    8287        $(AR) $(LIB) $(OBJS) 
    8388        $(RANLIB) $(LIB) 
     89 
     90$(SHLIB): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) 
     91        if test ! -d $(LIBDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(LIBDIR)),$(HOST_MKDIR)); fi 
     92        $(LD) $(LDOUT)$(subst /,$(HOST_PSEP),$(SHLIB)) \ 
     93            $(subst /,$(HOST_PSEP),$(OBJS)) $($(APP)_LDFLAGS) 
    8494 
    8595$(EXE): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) 
Note: See TracChangeset for help on using the changeset viewer.