[PD-cvs] externals/grill/flext/buildsys/lnx gnumake-gcc-ext.inc,1.4,1.5 gnumake-gcc-flext.inc,1.4,1.5 gnumake-gcc.inc,1.5,1.6

Thomas Grill xovo at users.sourceforge.net
Fri Mar 4 05:56:28 CET 2005


Update of /cvsroot/pure-data/externals/grill/flext/buildsys/lnx
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8275/buildsys/lnx

Modified Files:
	gnumake-gcc-ext.inc gnumake-gcc-flext.inc gnumake-gcc.inc 
Log Message:
fixed shared library versioning
library versioning for linux
fixed eol-style


Index: gnumake-gcc.inc
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** gnumake-gcc.inc	13 Jan 2005 04:59:08 -0000	1.5
--- gnumake-gcc.inc	4 Mar 2005 04:56:26 -0000	1.6
***************
*** 3,11 ****
  OBJPATH=$(OUTPATH)/$(OUTSUB)
  TARGETPATH=$(OBJPATH)
- TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
  
  ##############################################
  
! CFLAGS += -pthread
  LDFLAGS += -pthread -shared -Wl,-x 
  
--- 3,10 ----
  OBJPATH=$(OUTPATH)/$(OUTSUB)
  TARGETPATH=$(OBJPATH)
  
  ##############################################
  
! CFLAGS += -pthread -fPIC
  LDFLAGS += -pthread -shared -Wl,-x 
  

Index: gnumake-gcc-ext.inc
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** gnumake-gcc-ext.inc	13 Jan 2005 04:59:08 -0000	1.4
--- gnumake-gcc-ext.inc	4 Mar 2005 04:56:17 -0000	1.5
***************
*** 1,4 ****
--- 1,6 ----
  # build class specific settings
  
+ TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
+ 
  INCPATH += -I$(FLEXTINC)
  LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB)

Index: gnumake-gcc-flext.inc
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** gnumake-gcc-flext.inc	13 Jan 2005 04:59:08 -0000	1.4
--- gnumake-gcc-flext.inc	4 Mar 2005 04:56:26 -0000	1.5
***************
*** 1,4 ****
--- 1,11 ----
  # build class specific settings
  
+ ifdef SHARED
+ SONAME=$(OUTNAME).$(EXT)
+ TARGET=$(TARGETPATH)/$(OUTNAME).$(PKGVERSION).$(EXT)
+ else
+ TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
+ endif
+ 
  ##############################################
  
***************
*** 22,26 ****
  $(TARGET) :: $(COBJS) $(CPPOBJS)
  ifdef SHARED
! 	$(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
  	chmod 755 $@
  ifndef DEBUG
--- 29,33 ----
  $(TARGET) :: $(COBJS) $(CPPOBJS)
  ifdef SHARED
! 	$(CXX) $(LDFLAGS) $(LIBPATH) -o $@ -Wl,-soname,$(SONAME) $(COBJS) $(CPPOBJS) $(LIBS)
  	chmod 755 $@
  ifndef DEBUG
***************
*** 54,56 ****
--- 61,66 ----
  _install_: $(FLEXTINC) $(FLEXTLIBINST)
  	install $(TARGET) $(FLEXTLIBINST)
+ ifdef SHARED
+ 	ldconfig -l $(TARGET)
+ endif
  	install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)





More information about the Pd-cvs mailing list