From: stephan b. <sg...@us...> - 2004-12-23 06:27:33
|
Update of /cvsroot/pclasses/pclasses2/toc/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4075 Modified Files: create_makefile_stubs.sh Log Message: tweaks Index: create_makefile_stubs.sh =================================================================== RCS file: /cvsroot/pclasses/pclasses2/toc/bin/create_makefile_stubs.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- create_makefile_stubs.sh 23 Dec 2004 05:03:11 -0000 1.3 +++ create_makefile_stubs.sh 23 Dec 2004 06:27:24 -0000 1.4 @@ -120,20 +120,26 @@ cat <<EOF build_libs = 0 +LIBNAME = libfoo ifeq (1,\$(build_libs)) - STATIC_LIBS = thislib - thislib_a_OBJECTS = \$(OBJECTS) - thislib_so_OBJECTS = \$(thislib_a_OBJECTS) - # thislib_so_VERSION = \$(PACKAGE_VERSION) + STATIC_LIBS = \$(LIBNAME) + SHARED_LIBS = \$(LIBNAME) + \$(LIBNAME)_a_OBJECTS = \$(OBJECTS) + \$(LIBNAME)_so_OBJECTS = \$(\$(LIBNAME)_a_OBJECTS) + # \$(LIBNAME)_so_VERSION = \$(PACKAGE_VERSION) + # \$(LIBNAME)_so_LDADD = include \$(TOC_MAKESDIR)/SHARED_LIBS.make include \$(TOC_MAKESDIR)/STATIC_LIBS.make # Run targets STATIC_LIBS and SHARED_LIBS build these. +SHARED_LIBS: STATIC_LIBS endif build_bins = 0 +BINNAME = mybin ifeq (1,\$(build_bins)) - BIN_PROGRAMS = thisbin - thisbin_bin_OBJECTS = \$(OBJECTS) + BIN_PROGRAMS = \$(BINNAME) + \$(BINNAME)_bin_OBJECTS = \$(OBJECTS) +# \$(BINNAME)_bin_LDADD = include \$(TOC_MAKESDIR)/BIN_PROGRAMS.make INSTALL_BINS += \$(BIN_PROGRAMS) # Run target BIN_PROGRAMS to build these. |