[PD-cvs] externals/grill/flext/buildsys/mac gnumake-gcc-ext.inc,1.2,1.3 gnumake-gcc-flext.inc,1.2,1.3
Thomas Grill
xovo at users.sourceforge.net
Wed Jan 5 06:04:12 CET 2005
Update of /cvsroot/pure-data/externals/grill/flext/buildsys/mac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12682/buildsys/mac
Modified Files:
gnumake-gcc-ext.inc gnumake-gcc-flext.inc
Log Message:
made default configurations generic
two more flext tutorials
fixes for Max headers
cleanups
updated build system
updated tutorials
revised the documentation
updated for OSX
upgraded version number
Index: gnumake-gcc-ext.inc
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/mac/gnumake-gcc-ext.inc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** gnumake-gcc-ext.inc 4 Jan 2005 04:58:52 -0000 1.2
--- gnumake-gcc-ext.inc 5 Jan 2005 05:04:10 -0000 1.3
***************
*** 1,70 ****
! # build class specific settings
!
! INCPATH += -I$(FLEXTINC)
! LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB)
! LIBS += -l$(FLEXTNAME)
!
! # obviously header precompilation os still buggy with gcc 3.3
!
! ifdef PRECOMPILE
! #PRECOMSRC=$(SRCDIR)/$(PRECOMPILE)
! else
! #PRECOMSRC=$(FLEXTINC)/flext.h
! endif
! ifdef PRECOMSRC
! PRECOMDST=$(OBJPATH)/$(notdir $(PRECOMSRC)).gch
! PRECOMINC = -include $(OBJPATH)/$(notdir $(PRECOMSRC))
! endif
!
! ##############################################
!
! CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS)))
! CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS)))
! COBJS=$(patsubst %.c,$(OBJPATH)/%.o,$(filter %.c,$(SRCS)))
! CPPOBJS=$(patsubst %.cpp,$(OBJPATH)/%.opp,$(filter %.cpp,$(SRCS)))
!
! ##############################################
!
! # default target
! _build_: $(TARGET)
!
! $(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
! touch $@
!
! # Attention: $@ doesn't work for paths with spaces....
! $(OBJPATH):
! -mkdir -p $(OBJPATH)
!
! # Attention: $@ doesn't work for paths with spaces....
! $(TARGETPATH):
! -mkdir -p $(TARGETPATH)
!
! $(PRECOMDST) : $(PRECOMSRC) $(patsubst %,$(SRCDIR)/%,$(HDRS))
! $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $(PRECOMSRC) -o $@
!
! $(OBJPATH)/%.opp : $(SRCDIR)/%.cpp
! $(CXX) -c $(CFLAGS) $(DEFS) $(PRECOMINC) $(INCPATH) $< -o $@
!
! $(OBJPATH)/%.o : $(SRCDIR)/%.c
! $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
!
! $(TARGET) :: $(OBJPATH) $(TARGETPATH)
!
! $(TARGET) :: $(PRECOMDST) $(COBJS) $(CPPOBJS)
! $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
! chmod 755 $@
!
! ##############################################
!
! _clean_:
! -rm -r $(TARGETPATH)
! -rm -r $(OBJPATH)
!
! ##############################################
!
! # Attention: $@ doesn't work for paths with spaces....
! $(INSTPATH):
! -mkdir -p $(INSTPATH)
!
! _install_:: $(INSTPATH)
! cp -R $(INSTTARGET) $(INSTPATH)
--- 1,70 ----
! # build class specific settings
!
! INCPATH += -I$(FLEXTINC)
! LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB)
! LIBS += -l$(FLEXTNAME)
!
! # obviously header precompilation os still buggy with gcc 3.3
!
! ifdef PRECOMPILE
! #PRECOMSRC=$(SRCDIR)/$(PRECOMPILE)
! else
! #PRECOMSRC=$(FLEXTINC)/flext.h
! endif
! ifdef PRECOMSRC
! PRECOMDST=$(OBJPATH)/$(notdir $(PRECOMSRC)).gch
! PRECOMINC = -include $(OBJPATH)/$(notdir $(PRECOMSRC))
! endif
!
! ##############################################
!
! CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS)))
! CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS)))
! COBJS=$(patsubst %.c,$(OBJPATH)/%.o,$(filter %.c,$(SRCS)))
! CPPOBJS=$(patsubst %.cpp,$(OBJPATH)/%.opp,$(filter %.cpp,$(SRCS)))
!
! ##############################################
!
! # default target
! _build_: $(TARGET)
!
! $(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
! touch $@
!
! # Attention: $@ doesn't work for paths with spaces....
! $(OBJPATH):
! -mkdir -p $(OBJPATH)
!
! # Attention: $@ doesn't work for paths with spaces....
! $(TARGETPATH):
! -mkdir -p $(TARGETPATH)
!
! $(PRECOMDST) : $(PRECOMSRC) $(patsubst %,$(SRCDIR)/%,$(HDRS))
! $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $(PRECOMSRC) -o $@
!
! $(OBJPATH)/%.opp : $(SRCDIR)/%.cpp
! $(CXX) -c $(CFLAGS) $(DEFS) $(PRECOMINC) $(INCPATH) $< -o $@
!
! $(OBJPATH)/%.o : $(SRCDIR)/%.c
! $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
!
! $(TARGET) :: $(OBJPATH) $(TARGETPATH)
!
! $(TARGET) :: $(PRECOMDST) $(COBJS) $(CPPOBJS)
! $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
! chmod 755 $@
!
! ##############################################
!
! _clean_:
! -rm -r $(TARGETPATH)
! -rm -r $(OBJPATH)
!
! ##############################################
!
! # Attention: $@ doesn't work for paths with spaces....
! $(INSTPATH):
! -mkdir -p $(INSTPATH)
!
! _install_:: $(INSTPATH)
! cp -R $(INSTTARGET) $(INSTPATH)
Index: gnumake-gcc-flext.inc
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** gnumake-gcc-flext.inc 4 Jan 2005 04:58:52 -0000 1.2
--- gnumake-gcc-flext.inc 5 Jan 2005 05:04:10 -0000 1.3
***************
*** 1,77 ****
! # build class specific settings
!
! ifdef SHARED
! #LDFLAGS += -dylib_install_name $(FLEXTSHLIB)/$(OUTNAME).$(EXT)
! endif
!
! ##############################################
!
! CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS)))
! CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS)))
! COBJS=$(patsubst %.c,$(OBJPATH)/%.o,$(filter %.c,$(SRCS)))
! CPPOBJS=$(patsubst %.cpp,$(OBJPATH)/%.opp,$(filter %.cpp,$(SRCS)))
!
! # default target
! _build_: $(TARGET)
!
! $(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
! touch $@
!
! $(OBJPATH):
! -mkdir -p $@
!
! $(TARGETPATH):
! -mkdir -p $@
!
! ifdef PRECOMPILE
! PRECOMSRC=$(SRCDIR)/$(PRECOMPILE)
! PRECOMDST=$(OBJPATH)/$(notdir $(PRECOMSRC)).gch
! PRECOMINC = -include $(OBJPATH)/$(notdir $(PRECOMSRC))
! endif
!
! $(PRECOMDST): $(PRECOMSRC) $(patsubst %,$(SRCDIR)/%,$(HDRS))
! $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $(PRECOMSRC) -o $@
!
! $(OBJPATH)/%.opp : $(SRCDIR)/%.cpp
! $(CXX) -c $(CFLAGS) $(DEFS) $(PRECOMINC) $(INCPATH) $< -o $@
!
! $(OBJPATH)/%.o : $(SRCDIR)/%.c
! $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
!
! $(TARGET) :: $(OBJPATH) $(TARGETPATH)
!
! $(TARGET) :: $(PRECOMDST) $(COBJS) $(CPPOBJS)
! ifdef SHARED
! $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
! chmod 755 $@
! else
! libtool -static -o $@ $(COBJS) $(CPPOBJS)
! endif
!
! ##############################################
!
! _clean_:
! -rm -r $(TARGETPATH)
! -rm -r $(OBJPATH)
!
! ##############################################
!
! ifdef SHARED
! FLEXTLIBINST=$(FLEXTSHLIB)
! else
! FLEXTLIBINST=$(FLEXTLIB)
! endif
!
! $(FLEXTINC):
! -mkdir -p $@
!
! $(FLEXTLIBINST):
! -mkdir -p $@
!
! _install_: $(FLEXTINC) $(FLEXTLIBINST)
! install $(TARGET) $(FLEXTLIBINST)
! ifndef SHARED
! # have to rerun ranlib at install dir ?!
! ranlib $(FLEXTLIBINST)/$(notdir $(TARGET))
! endif
! install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)
--- 1,77 ----
! # build class specific settings
!
! ifdef SHARED
! #LDFLAGS += -dylib_install_name $(FLEXTSHLIB)/$(OUTNAME).$(EXT)
! endif
!
! ##############################################
!
! CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS)))
! CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS)))
! COBJS=$(patsubst %.c,$(OBJPATH)/%.o,$(filter %.c,$(SRCS)))
! CPPOBJS=$(patsubst %.cpp,$(OBJPATH)/%.opp,$(filter %.cpp,$(SRCS)))
!
! # default target
! _build_: $(TARGET)
!
! $(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
! touch $@
!
! $(OBJPATH):
! -mkdir -p $@
!
! $(TARGETPATH):
! -mkdir -p $@
!
! ifdef PRECOMPILE
! PRECOMSRC=$(SRCDIR)/$(PRECOMPILE)
! PRECOMDST=$(OBJPATH)/$(notdir $(PRECOMSRC)).gch
! PRECOMINC = -include $(OBJPATH)/$(notdir $(PRECOMSRC))
! endif
!
! $(PRECOMDST): $(PRECOMSRC) $(patsubst %,$(SRCDIR)/%,$(HDRS))
! $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $(PRECOMSRC) -o $@
!
! $(OBJPATH)/%.opp : $(SRCDIR)/%.cpp
! $(CXX) -c $(CFLAGS) $(DEFS) $(PRECOMINC) $(INCPATH) $< -o $@
!
! $(OBJPATH)/%.o : $(SRCDIR)/%.c
! $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
!
! $(TARGET) :: $(OBJPATH) $(TARGETPATH)
!
! $(TARGET) :: $(PRECOMDST) $(COBJS) $(CPPOBJS)
! ifdef SHARED
! $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
! chmod 755 $@
! else
! libtool -static -o $@ $(COBJS) $(CPPOBJS)
! endif
!
! ##############################################
!
! _clean_:
! -rm -r $(TARGETPATH)
! -rm -r $(OBJPATH)
!
! ##############################################
!
! ifdef SHARED
! FLEXTLIBINST=$(FLEXTSHLIB)
! else
! FLEXTLIBINST=$(FLEXTLIB)
! endif
!
! $(FLEXTINC):
! -mkdir -p $@
!
! $(FLEXTLIBINST):
! -mkdir -p $@
!
! _install_: $(FLEXTINC) $(FLEXTLIBINST)
! install $(TARGET) $(FLEXTLIBINST)
! ifndef SHARED
! # have to rerun ranlib at install dir ?!
! ranlib $(FLEXTLIBINST)/$(notdir $(TARGET))
! endif
! install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)
More information about the Pd-cvs
mailing list