/[cvs]/eggdrop1.6/Makefile.in
ViewVC logotype

Diff of /eggdrop1.6/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.33 by wcc, Fri Sep 27 22:16:24 2002 UTC revision 1.34 by wcc, Tue Dec 9 22:21:46 2003 UTC
# Line 86  egg_install_msg =  echo "" && \ Line 86  egg_install_msg =  echo "" && \
86  MAKE_MODEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD)' \  MAKE_MODEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD)' \
87  'STRIP=$(MOD_STRIP)' 'RANLIB=$(RANLIB)' 'CFLGS=$(CFLGS)' \  'STRIP=$(MOD_STRIP)' 'RANLIB=$(RANLIB)' 'CFLGS=$(CFLGS)' \
88  'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' \  'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' \
89  'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=' 'MODOBJS='  'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(standard build)' 'MODOBJS='
90    
91  MAKE_MODULES = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \  MAKE_MODULES = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \
92  'STRIP=$(SHLIB_STRIP)' 'CFLGS=$(CFLGS)' 'XLIBS=$(XLIBS)' 'MOD_EXT=$(MOD_EXT)'  'STRIP=$(SHLIB_STRIP)' 'CFLGS=$(CFLGS)' 'XLIBS=$(XLIBS)' 'MOD_EXT=$(MOD_EXT)'
# Line 109  MAKE_DEBMODULES = $(MAKE) 'MAKE=$(MAKE)' Line 109  MAKE_DEBMODULES = $(MAKE) 'MAKE=$(MAKE)'
109  MAKE_SDEBUG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD) -g' \  MAKE_SDEBUG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD) -g' \
110  'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLGS=-g3 $(DEBCFLAGS) -DSTATIC $(CFLGS)' \  'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLGS=-g3 $(DEBCFLAGS) -DSTATIC $(CFLGS)' \
111  'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' 'XLIBS=$(XLIBS)' \  'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' 'XLIBS=$(XLIBS)' \
112  'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(static and debug version)' 'MODOBJS=mod/*.o'  'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(static debug version)' 'MODOBJS=mod/*.o'
113    
114  MAKE_DEPEND = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \  MAKE_DEPEND = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \
115  'STRIP=$(STRIP)' 'CFLGS=$(CFLGS)'  'STRIP=$(STRIP)' 'CFLGS=$(CFLGS)'
# Line 144  distrib: distclean Line 144  distrib: distclean
144      @(echo "all:"; \      @(echo "all:"; \
145      echo "  @echo \"\""; \      echo "  @echo \"\""; \
146      echo "  @echo \"Before you can compile your bot you have to configure it.\""; \      echo "  @echo \"Before you can compile your bot you have to configure it.\""; \
147      echo "  @echo \"So please start the configure script now:\""; \      echo "  @echo \"Please start the configure script now:\""; \
148      echo "  @echo \"\""; \      echo "  @echo \"\""; \
149      echo "  @echo \" % ./configure\""; \      echo "  @echo \" % ./configure\""; \
150      echo "  @echo \"\""; ) > Makefile      echo "  @echo \"\""; ) > Makefile
# Line 189  clean-modconfig: Line 189  clean-modconfig:
189  conftest:  conftest:
190      @if test ! -f .modules; then \      @if test ! -f .modules; then \
191          echo ""; \          echo ""; \
192          echo "You have NOT configured the modules yet. This has to be done"; \          echo "You have NOT configured modules yet. This has to be done before you"; \
193          echo "before you can start compiling."; \          echo "can start compiling."; \
194          echo ""; \          echo ""; \
195          echo "   Run \"make config\" or \"make iconfig\" now."; \          echo "   Run \"make config\" or \"make iconfig\" now."; \
196          echo ""; \          echo ""; \
# Line 204  eggdrop: modegg modules Line 204  eggdrop: modegg modules
204  modegg: modtest  modegg: modtest
205      @rm -f src/mod/mod.xlibs      @rm -f src/mod/mod.xlibs
206      @cd src && $(MAKE_MODEGG) $(EGGEXEC)      @cd src && $(MAKE_MODEGG) $(EGGEXEC)
     @echo ""  
     @$(egg_test_run)  
     @ls -l $(EGGEXEC)  
207    
208  modules: modtest  modules: modtest
209      @cd src/mod && $(MAKE_MODULES) modules      @cd src/mod && $(MAKE_MODULES) modules
210      @echo ""      @echo ""
211      @echo "modules made:"      @echo "Test run of ./eggdrop -v:"
212        @$(egg_test_run)
213        @echo ""
214        @echo "Eggdrop successfully compiled:"
215        @ls -l $(EGGEXEC)
216        @echo ""
217        @echo "Modules successfully compiled:"
218      @ls -l *.$(MOD_EXT)      @ls -l *.$(MOD_EXT)
219      @$(egg_install_msg)      @$(egg_install_msg)
220    
# Line 226  static: eggtest Line 229  static: eggtest
229      @echo ""      @echo ""
230      @cd src && $(MAKE_STATIC) $(EGGEXEC)      @cd src && $(MAKE_STATIC) $(EGGEXEC)
231      @echo ""      @echo ""
232        @echo "Test run of ./eggdrop -v:"
233      @$(egg_test_run)      @$(egg_test_run)
234        @echo ""
235        @echo "Eggdrop successfully compiled:"
236      @ls -l $(EGGEXEC)      @ls -l $(EGGEXEC)
237        @echo ""
238      @$(egg_install_msg)      @$(egg_install_msg)
239    
240  debug: debegg debmodules  debug: debegg debmodules
241    
242  debegg: modtest  debegg: modtest
243      @cd src && $(MAKE_DEBEGG) $(EGGEXEC)      @cd src && $(MAKE_DEBEGG) $(EGGEXEC)
     @echo ""  
     @$(egg_test_run)  
     @ls -l $(EGGEXEC)  
244    
245  debmodules: modtest  debmodules: modtest
246      @cd src/mod && $(MAKE_DEBMODULES) modules      @cd src/mod && $(MAKE_DEBMODULES) modules
247      @echo ""      @echo ""
248      @echo "modules made:"      @echo "Test run of ./eggdrop -v:"
249        @$(egg_test_run)
250        @echo ""
251        @echo "Eggdrop successfully compiled:"
252        @ls -l $(EGGEXEC)
253        @echo ""
254        @echo "Modules successfully compiled:"
255      @ls -l *.$(MOD_EXT)      @ls -l *.$(MOD_EXT)
256      @$(egg_install_msg)      @$(egg_install_msg)
257    
258  sdebug: eggtest  sdebug: eggtest
259      @echo ""      @echo ""
260      @echo "Making module objects for static linking..."      @echo "Making module objects for static linking."
261      @echo ""      @echo ""
262      @rm -f src/mod/mod.xlibs      @rm -f src/mod/mod.xlibs
263      @cd src/mod && $(MAKE_SDEBUG) static      @cd src/mod && $(MAKE_SDEBUG) static
264      @echo ""      @echo ""
265      @echo "Making core eggdrop for static linking..."      @echo "Making eggdrop core for static linking."
266      @echo ""      @echo ""
267      @cd src && $(MAKE_SDEBUG) $(EGGEXEC)      @cd src && $(MAKE_SDEBUG) $(EGGEXEC)
268      @echo ""      @echo ""
269        @echo "Test run of ./eggdrop -v:"
270      @$(egg_test_run)      @$(egg_test_run)
271        @echo ""
272        @echo "Eggdrop successfully compiled:"
273      @ls -l $(EGGEXEC)      @ls -l $(EGGEXEC)
274        @echo ""
275      @$(egg_install_msg)      @$(egg_install_msg)
276    
277  eggtest: conftest  eggtest: conftest
# Line 307  install-start: Line 321  install-start:
321      fi      fi
322      @echo ""      @echo ""
323      @$(egg_test_run)      @$(egg_test_run)
324      @echo      @echo ""
325      @echo "Installing in directory: '$(DEST)'."      @echo "Installing in directory: '$(DEST)'."
326      @echo      @echo ""
327      @if test ! -d $(DEST); then \      @if test ! -d $(DEST); then \
328          echo "Creating directory: $(DEST)."; \          echo "Creating directory '$(DEST)'."; \
329          $(top_srcdir)/misc/mkinstalldirs $(DEST); \          $(top_srcdir)/misc/mkinstalldirs $(DEST); \
330      fi      fi
331    
# Line 324  install-bin: Line 338  install-bin:
338          rm -f $(DEST)/$(EGGEXEC); \          rm -f $(DEST)/$(EGGEXEC); \
339      fi      fi
340      @if test -f $(DEST)/$(EGGEXEC); then \      @if test -f $(DEST)/$(EGGEXEC); then \
341          echo "Renamed the old '$(EGGEXEC)' executable to 'o$(EGGEXEC)'."; \          echo "Renaming old '$(EGGEXEC)' executable to 'o$(EGGEXEC)'."; \
342          mv -f $(DEST)/$(EGGEXEC) $(DEST)/o$(EGGEXEC); \          mv -f $(DEST)/$(EGGEXEC) $(DEST)/o$(EGGEXEC); \
343      fi      fi
344      @echo "Copying new '$(EGGEXEC)' executable and creating symlink."      @echo "Copying new '$(EGGEXEC)' executable and creating symlink."
# Line 333  install-bin: Line 347  install-bin:
347    
348  install-modules:  install-modules:
349      @if test -h $(DEST)/modules; then \      @if test -h $(DEST)/modules; then \
350          echo "Removing symlink to archival modules directory."; \          echo "Removing symlink to archival modules subdirectory."; \
351          rm -f $(DEST)/modules; \          rm -f $(DEST)/modules; \
352      fi      fi
353      @if test -d $(DEST)/modules; then \      @if test -d $(DEST)/modules; then \
354          echo "Moving old modules into 'modules.old' directory."; \          echo "Moving old modules into 'modules.old' subdirectory."; \
355          rm -rf $(DEST)/modules.old; \          rm -rf $(DEST)/modules.old; \
356          mv -f $(DEST)/modules $(DEST)/modules.old; \          mv -f $(DEST)/modules $(DEST)/modules.old; \
357      fi      fi
358      @if test ! "x`echo *.$(MOD_EXT)`" = "x*.$(MOD_EXT)"; then \      @if test ! "x`echo *.$(MOD_EXT)`" = "x*.$(MOD_EXT)"; then \
359          if test ! -d $(DEST)/modules-$(EGGVERSION); then \          if test ! -d $(DEST)/modules-$(EGGVERSION); then \
360              echo "Creating modules-$(EGGVERSION) directory and symlink."; \              echo "Creating 'modules-$(EGGVERSION)' subdirectory and symlink."; \
361              $(top_srcdir)/misc/mkinstalldirs $(DEST)/modules-$(EGGVERSION); \              $(top_srcdir)/misc/mkinstalldirs $(DEST)/modules-$(EGGVERSION); \
362          fi; \          fi; \
363          (cd $(DEST) && $(LN_S) modules-$(EGGVERSION) modules); \          (cd $(DEST) && $(LN_S) modules-$(EGGVERSION) modules); \
# Line 419  install-language: Line 433  install-language:
433    
434  install-filesys:  install-filesys:
435      @if test ! -d $(DEST)/filesys; then \      @if test ! -d $(DEST)/filesys; then \
436          echo "Creating a skeletal filesys subdirectory."; \          echo "Creating skeletal filesystem subdirectories."; \
437          $(top_srcdir)/misc/mkinstalldirs $(DEST)/filesys; \          $(top_srcdir)/misc/mkinstalldirs $(DEST)/filesys; \
438          $(top_srcdir)/misc/mkinstalldirs $(DEST)/filesys/incoming; \          $(top_srcdir)/misc/mkinstalldirs $(DEST)/filesys/incoming; \
439      fi      fi
# Line 440  install-end: Line 454  install-end:
454      @echo ""      @echo ""
455      @echo "Remember to change directory to $(DEST) before you proceed."      @echo "Remember to change directory to $(DEST) before you proceed."
456      @echo ""      @echo ""
   
 #safety hash  

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23