Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, March 28, 2024

Diff for libplaton/Rules.make.in between version 1.4 and 1.8

version 1.4, 2002/10/04 20:09:07 version 1.8, 2002/12/03 16:56:36
Line 9 
Line 9 
 # PARTICULAR PURPOSE.  # PARTICULAR PURPOSE.
   
 # Make rules for libplaton library.  # Make rules for libplaton library.
 # $Platon: $  # $Platon: libplaton/Rules.make.in,v 1.7 2002/10/21 13:40:16 nepto Exp $
   
 PACKAGE = @PACKAGE@  PACKAGE = @PACKAGE@
 VERSION = @VERSION@  VERSION = @VERSION@
   
 CVSTAG  = $(PACKAGE)-$(subst .,_,$(VERSION))  CVSTAG  = $(PACKAGE)-$(subst .,_,$(VERSION))
   
   unexport SUBDIRS
   unexport SOURCES
   unexport HEADERS
   unexport OBJECTS
   unexport MAIN_OBJECT
   unexport SUBDIR_OBJECTS
   
 # Default settings {{{  # Default settings {{{
 LIBSTATIC          = $(PACKAGE).a  LIBSTATIC          = $(PACKAGE).a
 LIBDYNAMIC         = $(PACKAGE).so  LIBDYNAMIC         = $(PACKAGE).so
Line 71  POST_UNINSTALL   = :
Line 78  POST_UNINSTALL   = :
 CC       = @CC@  CC       = @CC@
 CPP      = @CPP@  CPP      = @CPP@
 CXX      = @CXX@  CXX      = @CXX@
 CFLAGS   = -O2 -Wall -Wshadow -pedantic  CFLAGS   = -O2 -Wall -Wno-shadow -pedantic
 CPPFLAGS = @CPPFLAGS@  CPPFLAGS = @CPPFLAGS@
 LDFLAGS  = @LDFLAGS@  LDFLAGS  = @LDFLAGS@
 DEFS     = @DEFS@  DEFS     = @DEFS@
 INCLUDES = -I. -I$(srcdir) -I$(top_builddir)  INCLUDES = -I. -I$(top_srcdir) -I$(top_builddir)
   
   
 COMPILE      = $(CC)  $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)  COMPILE      = $(CC)  $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
Line 95  makefiles: \
Line 102  makefiles: \
         $(top_builddir)/platon/misc/Makefile \          $(top_builddir)/platon/misc/Makefile \
         $(top_builddir)/platon/net/atlantis/Makefile \          $(top_builddir)/platon/net/atlantis/Makefile \
         $(top_builddir)/platon/net/smtp/Makefile \          $(top_builddir)/platon/net/smtp/Makefile \
           $(top_builddir)/platon/net/pop3/Makefile \
         $(top_builddir)/platon/net/Makefile \          $(top_builddir)/platon/net/Makefile \
         $(top_builddir)/platon/str/Makefile \          $(top_builddir)/platon/str/Makefile \
         $(top_builddir)/platon/Makefile \          $(top_builddir)/platon/Makefile \
Line 119  $(top_builddir)/config.status: $(top_src
Line 127  $(top_builddir)/config.status: $(top_src
           && $(SHELL) ./config.status --recheck            && $(SHELL) ./config.status --recheck
   
 $(top_srcdir)/configure: $(top_srcdir)/configure.in  $(top_srcdir)/configure: $(top_srcdir)/configure.in
         @cd $(top_builddir) \          @here=`pwd`; \
           $(SHELL) ./config.status --recheck \          cd $(top_builddir) \
             && cd $(top_srcdir) \          && $(SHELL) ./config.status --recheck \
             && $(AUTOCONF)          && cd $$here && cd $(top_srcdir) \
           && $(AUTOCONF)
   
 $(top_builddir)/config.h: $(top_srcdir)/config.h.in $(top_builddir)/config.status  $(top_builddir)/config.h: $(top_srcdir)/config.h.in $(top_builddir)/config.status
         @cd $(top_builddir) \          @cd $(top_builddir) \
Line 137  $(top_srcdir)/config.h.in: $(top_srcdir)
Line 146  $(top_srcdir)/config.h.in: $(top_srcdir)
   
 # Makefiles }}}  # Makefiles }}}
   
 all-subdirs:  #
         @here=`pwd`; \  # A rule to do nothing
         if [ "X" != "X$(SUBDIRS)" ]; then \  #
                 for i in ""$(SUBDIRS); do \  dummy:
                         echo "Making all in $$i" && cd $$i; \  
                         make; \  #
                         cd $$here; \  # A rule to make subdirectories
                 done; \  #
         fi  subdir-list = $(sort $(patsubst %,_subdir_%,$(SUBDIRS)))
   all-subdirs: dummy $(subdir-list)
   
   ifdef SUBDIRS
   $(subdir-list) : dummy
               $(MAKE) -C $(patsubst _subdir_%,%,$@)
   endif
   
 .SUFFIXES:  .SUFFIXES:
   
Line 160  $(LIBSTATIC):    $(OBJECTS)
Line 174  $(LIBSTATIC):    $(OBJECTS)
 $(LIBDYNAMICV): $(OBJECTS)  $(LIBDYNAMICV): $(OBJECTS)
         $(LD) $(LDFLAGS) -shared -o $@ $(OBJECTS)          $(LD) $(LDFLAGS) -shared -o $@ $(OBJECTS)
   
 %.o: %.c $(CONFIG_HEADER)  %.o: $(srcdir)/%.c $(CONFIG_HEADER)
         @echo '$(COMPILE) -c $<'; \          @echo '$(COMPILE) -c $<'; \
         $(COMPILE) -Wp,-MD,.deps/$(*F).pp -o $@ -c $<          $(COMPILE) -Wp,-MD,.deps/$(*F).pp -o $@ -c $<
         @-cp .deps/$(*F).pp .deps/$(*F).P; \          @-cp .deps/$(*F).pp .deps/$(*F).P; \
Line 169  $(LIBDYNAMICV):    $(OBJECTS)
Line 183  $(LIBDYNAMICV):    $(OBJECTS)
             >> .deps/$(*F).P; \              >> .deps/$(*F).P; \
         rm .deps/$(*F).pp          rm .deps/$(*F).pp
   
 %.o: %.cpp $(CONFIG_HEADER)  %.o: $(srcdir)/%.cpp $(CONFIG_HEADER)
         @echo '$(COMPILE_CXX) -c $<'; \          @echo '$(COMPILE_CXX) -c $<'; \
         $(COMPILE_CXX) -Wp,-MD,.deps/$(*F).pp -o $@ -c $<          $(COMPILE_CXX) -Wp,-MD,.deps/$(*F).pp -o $@ -c $<
         @-cp .deps/$(*F).pp .deps/$(*F).P; \          @-cp .deps/$(*F).pp .deps/$(*F).P; \
Line 178  $(LIBDYNAMICV):    $(OBJECTS)
Line 192  $(LIBDYNAMICV):    $(OBJECTS)
             >> .deps/$(*F).P; \              >> .deps/$(*F).P; \
         rm .deps/$(*F).pp          rm .deps/$(*F).pp
   
   SUBDIR_OBJECTS = $(sort $(patsubst %,%.o,$(SUBDIRS)))
   $(MAIN_OBJECT): $(OBJECTS) $(SUBDIR_OBJECTS)
           $(LD) -r -o $@ $(OBJECTS) $(SUBDIR_OBJECTS)
   
 test: $(top_builddir)/config.h  test: $(top_builddir)/config.h
         $(CC) $(INCLUDES) -Wall -g -ggdb -DSELF_CFG -DDEBUG=1 -o test-$(PACKAGE) $(SOURCES)          $(CC) $(INCLUDES) -Wall -g -ggdb -DSELF_CFG -DDEBUG=1 -o test-$(PACKAGE) $(SOURCES)
Line 195  documentation:
Line 212  documentation:
 clean: clean-subdirs clean-hdr clean-tags clean-generic  clean: clean-subdirs clean-hdr clean-tags clean-generic
         -rm -rf  *.o core *.core .deps lib*          -rm -rf  *.o core *.core .deps lib*
   
 clean-subdirs:  subdir-list-clean = $(sort $(patsubst %,_subdir_clean_%,$(SUBDIRS)))
         @here=`pwd`; \  clean-subdirs: dummy $(subdir-list-clean)
         if [ "X" != "X$(SUBDIRS)" ]; then \  
                 for i in ""$(SUBDIRS); do \  ifdef SUBDIRS
                         echo "Making all in $$i" && cd $$i; \  $(subdir-list-clean) : dummy
                         make clean; \              $(MAKE) -C $(patsubst _subdir_clean_%,%,$@) clean
                         cd $$here; \  endif
                 done; \  
         fi  
   
 clean-hdr:  clean-hdr:
         -rm -f $(top_builddir)/config.h          -rm -f $(top_builddir)/config.h

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.8

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top