Update of /cvsroot/pure-data/externals/grill/flext/buildsys/lnx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12682/buildsys/lnx
Modified Files: gnumake-gcc-ext.inc gnumake-gcc-flext.inc gnumake-gcc.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.inc =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** gnumake-gcc.inc 3 Jan 2005 05:00:26 -0000 1.1 --- gnumake-gcc.inc 5 Jan 2005 05:04:09 -0000 1.2 *************** *** 1,10 **** ##############################################
! TARGETPATH=$(OUTPATH)/$(OUTSUB) TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
##############################################
! LDFLAGS += -shared -Wl,-x
############################################## --- 1,11 ---- ##############################################
! OBJPATH=$(OUTPATH)/$(OUTSUB) ! TARGETPATH=$(OBJPATH) TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
##############################################
! LDFLAGS += -shared
##############################################
Index: gnumake-gcc-ext.inc =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** gnumake-gcc-ext.inc 3 Jan 2005 05:00:26 -0000 1.1 --- gnumake-gcc-ext.inc 5 Jan 2005 05:04:09 -0000 1.2 *************** *** 1,41 **** ! # build class specific settings ! ! INCPATH += -I$(FLEXTINC) ! LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB) ! LIBS += -l$(FLEXTNAME) ! ! ############################################## ! ! # default target ! _build_: $(TARGET) ! ! $(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS)) ! touch $@ ! ! $(TARGETPATH): ! mkdir -p $@ ! ! $(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp ! $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ ! ! $(TARGETPATH)/%.o : $(SRCDIR)/%.c ! $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ ! ! $(TARGET):: $(TARGETPATH) ! ! $(TARGET):: $(COBJS) $(CPPOBJS) ! $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS) ! chmod 755 $@ ! ! ############################################## ! ! _clean_: ! rm $(COBJS) $(CPPOBJS) $(TARGET) ! ! ############################################## ! ! $(INSTPATH): ! -mkdir -p $@ ! ! _install_: $(INSTPATH) ! install $(TARGET) $(INSTPATH) --- 1,42 ---- ! # build class specific settings ! ! INCPATH += -I$(FLEXTINC) ! LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB) ! LIBS += -l$(FLEXTNAME) ! ! ############################################## ! ! # default target ! _build_: $(TARGET) ! ! $(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS)) ! touch $@ ! ! $(TARGETPATH): ! mkdir -p $@ ! ! $(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp ! $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ ! ! $(TARGETPATH)/%.o : $(SRCDIR)/%.c ! $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ ! ! $(TARGET):: $(TARGETPATH) ! ! $(TARGET):: $(COBJS) $(CPPOBJS) ! $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS) ! chmod 755 $@ ! strip --strip-unneeded $@ ! ! ############################################## ! ! _clean_: ! rm $(COBJS) $(CPPOBJS) $(TARGET) ! ! ############################################## ! ! $(INSTPATH): ! -mkdir -p $@ ! ! _install_: $(INSTPATH) ! install $(TARGET) $(INSTPATH)
Index: gnumake-gcc-flext.inc =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** gnumake-gcc-flext.inc 3 Jan 2005 05:00:26 -0000 1.1 --- gnumake-gcc-flext.inc 5 Jan 2005 05:04:09 -0000 1.2 *************** *** 1,51 **** ! # build class specific settings ! ! ############################################## ! ! # default target ! _build_: $(TARGET) ! ! $(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS)) ! touch $@ ! ! $(TARGETPATH): ! -mkdir -p $@ ! ! $(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp ! $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ ! ! $(TARGETPATH)/%.o : $(SRCDIR)/%.c ! $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ ! ! $(TARGET) :: $(TARGETPATH) ! ! $(TARGET) :: $(COBJS) $(CPPOBJS) ! ifdef SHARED ! $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS) ! chmod 755 $@ ! else ! $(AR) rc $@ $(COBJS) $(CPPOBJS) ! endif ! ! ############################################## ! ! _clean_: ! rm $(COBJS) $(CPPOBJS) $(TARGET) ! ! ############################################## ! ! ifdef SHARED ! FLEXTLIBINST=$(FLEXTSHLIB) ! else ! FLEXTLIBINST=$(FLEXTLIB) ! endif ! ! $(FLEXTINC): ! -mkdir -p $@ ! ! $(FLEXTLIBINST): ! -mkdir -p $@ ! ! _install_: $(FLEXTINC) $(FLEXTLIBINST) ! install $(TARGET) $(FLEXTLIBINST) ! install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC) --- 1,52 ---- ! # build class specific settings ! ! ############################################## ! ! # default target ! _build_: $(TARGET) ! ! $(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS)) ! touch $@ ! ! $(TARGETPATH): ! -mkdir -p $@ ! ! $(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp ! $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ ! ! $(TARGETPATH)/%.o : $(SRCDIR)/%.c ! $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ ! ! $(TARGET) :: $(TARGETPATH) ! ! $(TARGET) :: $(COBJS) $(CPPOBJS) ! ifdef SHARED ! $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS) ! chmod 755 $@ ! strip --strip-unneeded $@ ! else ! $(AR) rc $@ $(COBJS) $(CPPOBJS) ! endif ! ! ############################################## ! ! _clean_: ! rm $(COBJS) $(CPPOBJS) $(TARGET) ! ! ############################################## ! ! ifdef SHARED ! FLEXTLIBINST=$(FLEXTSHLIB) ! else ! FLEXTLIBINST=$(FLEXTLIB) ! endif ! ! $(FLEXTINC): ! -mkdir -p $@ ! ! $(FLEXTLIBINST): ! -mkdir -p $@ ! ! _install_: $(FLEXTINC) $(FLEXTLIBINST) ! install $(TARGET) $(FLEXTLIBINST) ! install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)