From: stephan b. <sg...@us...> - 2004-12-23 06:25:42
|
Update of /cvsroot/pclasses/pclasses2/src/Net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3822 Modified Files: Makefile.toc Log Message: it builds :) Index: Makefile.toc =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/Net/Makefile.toc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.toc 23 Dec 2004 06:09:32 -0000 1.2 +++ Makefile.toc 23 Dec 2004 06:25:34 -0000 1.3 @@ -1,14 +1,7 @@ #!/usr/bin/make -f -################################################### -# AUTO-GENERATED guess at a toc-aware Makefile, -# based off of the contents of directory: -# ./src/Net -# Created by ./toc/bin/create_makefile_stubs.sh -# Thu Dec 23 01:31:56 CET 2004 -# It must be tweaked to suit your needs. -################################################### + include toc.make -############## FLEXES: + HEADERS = SocketOption.h DIST_FILES += $(HEADERS) INSTALL_PACKAGE_HEADERS += $(HEADERS) @@ -17,7 +10,9 @@ InetSocket.cpp \ NetworkAddress.cpp \ Socket.cpp + DIST_FILES += $(SOURCES) + OBJECTS = InetAddress.o \ InetSocket.o \ NetworkAddress.o \ @@ -25,27 +20,23 @@ CLEAN_FILES += $(OBJECTS) -build_libs = 0 +build_libs = 1 +LIBNAME = libpnet 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 -ifeq (1,$(build_bins)) - BIN_PROGRAMS = thisbin - thisbin_bin_OBJECTS = $(OBJECTS) - include $(TOC_MAKESDIR)/BIN_PROGRAMS.make - INSTALL_BINS += $(BIN_PROGRAMS) - # Run target BIN_PROGRAMS to build these. -endif -all: +all: SHARED_LIBS + ################################################### # end auto-generated rules ################################################### |