/[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.13 by fabian, Fri Feb 25 21:51:29 2000 UTC revision 1.14 by fabian, Tue Feb 29 19:57:27 2000 UTC
# Line 64  TCLLIBFN = @TCLLIBFN@ Line 64  TCLLIBFN = @TCLLIBFN@
64  CFLAGS = @CFLAGS@ -I.. @DEFS@ $(CFLGS)  CFLAGS = @CFLAGS@ -I.. @DEFS@ $(CFLGS)
65  DEBCFLAGS = @CFLAGS@ -I.. @DEFS@ -DDEBUG_ASSERT -DDEBUG_MEM $(CFLGS)  DEBCFLAGS = @CFLAGS@ -I.. @DEFS@ -DDEBUG_ASSERT -DDEBUG_MEM $(CFLGS)
66    
67    modconf = $(top_srcdir)/aux/modconfig --top_srcdir=$(top_srcdir)
68    
69  MAKE_MODEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD)' \  MAKE_MODEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD)' \
70  'STRIP=$(MOD_STRIP)' 'RANLIB=$(RANLIB)' 'CFLAGS=$(CFLAGS)' \  'STRIP=$(MOD_STRIP)' 'RANLIB=$(RANLIB)' 'CFLAGS=$(CFLAGS)' \
71  'CPPFLAGS=$(CPPFLAGS)' 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' \  'CPPFLAGS=$(CPPFLAGS)' 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' \
# Line 113  eggclean: Line 115  eggclean:
115  clean: eggclean  clean: eggclean
116      @cd src/mod && $(MAKE) clean      @cd src/mod && $(MAKE) clean
117    
118  distclean: eggclean  distclean: eggclean clean-modconfig
119      @cd src/mod && $(MAKE) distclean      @cd src/mod && $(MAKE) distclean
120      @rm -f Makefile doc/Makefile scripts/Makefile src/Makefile src/md5/Makefile src/mod/Makefile      @rm -f Makefile doc/Makefile scripts/Makefile src/Makefile src/md5/Makefile src/mod/Makefile
121      @rm -f config.cache config.log config.status config.h lush.h .modules .modnames      @rm -f config.cache config.log config.status config.h lush.h
122    
123  distrib: distclean  distrib: distclean
124      @rm -f `find . \( -name '*~' -o -name '*#' -o -name '*.orig' \      @rm -f `find . \( -name '*~' -o -name '*#' -o -name '*.orig' \
# Line 137  depend: Line 139  depend:
139      @cd src/mod && $(MAKE_DEPEND) depend      @cd src/mod && $(MAKE_DEPEND) depend
140    
141  config:  config:
142        @$(modconf) detect-modules
143        @$(modconf) update-depends
144        @$(modconf) Makefile
145        @cd src/mod && $(MAKE_CONFIG) config
146        @$(modconf) Makefile
147        @echo ""; echo "You can now compile the bot, using \"make\"."; echo "";
148    
149    iconfig:
150        @$(modconf) detect-modules
151        @$(modconf) update-depends
152        @$(modconf) configure
153        @$(modconf) update-depends
154        @$(modconf) Makefile
155      @cd src/mod && $(MAKE_CONFIG) config      @cd src/mod && $(MAKE_CONFIG) config
156      @src/mod/modtool --root-dir=. -q makefile      @$(modconf) Makefile
157        @echo ""; echo "You can now compile the bot, using \"make\"."; echo "";
158    
159    clean-modconfig:
160        @rm -f .modules
161    
162    conftest:
163        @if [ ! -f .modules ]; then \
164            echo ""; \
165            echo "You have NOT configured the modules yet. This has to be done"; \
166            echo "before you can start compiling."; \
167            echo ""; \
168            echo "   Run \"make config\" or \"make iconfig\" now."; \
169            echo ""; \
170            exit 1; \
171        fi
172    
173  reconfig:  reconfig: clean-modconfig config
     @src/mod/modtool --root-dir=. config  
     @src/mod/modtool --root-dir=. update-depends  
     @$(MAKE) config  
174    
175  eggdrop: modegg modules  eggdrop: modegg modules
176    
# Line 202  sdebug: eggtest Line 229  sdebug: eggtest
229      @./$(EGGEXEC) -v      @./$(EGGEXEC) -v
230      @ls -l $(EGGEXEC)      @ls -l $(EGGEXEC)
231    
232  eggtest:  eggtest: conftest
233      @if [ -f EGGMOD.stamp ]; then \      @if [ -f EGGMOD.stamp ]; then \
234          echo "You're trying to do a STATIC build of eggdrop when you've";\          echo "You're trying to do a STATIC build of eggdrop when you've";\
235          echo "already run 'make' for a module build.";\          echo "already run 'make' for a module build.";\
# Line 212  eggtest: Line 239  eggtest:
239      fi      fi
240      @echo "stamp" >EGGDROP.stamp      @echo "stamp" >EGGDROP.stamp
241    
242  modtest:  modtest: conftest
243      @if [ -f EGGDROP.stamp ]; then \      @if [ -f EGGDROP.stamp ]; then \
244          echo "You're trying to do a MODULE build of eggdrop when you've";\          echo "You're trying to do a MODULE build of eggdrop when you've";\
245          echo "already run 'make' for a static build.";\          echo "already run 'make' for a static build.";\

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23