/[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.7 by fabian, Tue Oct 26 21:38:35 1999 UTC revision 1.8 by fabian, Wed Nov 10 21:34:59 1999 UTC
# Line 4  Line 4 
4  #  #
5    
6  SHELL = /bin/sh  SHELL = /bin/sh
7    top_srcdir = @top_srcdir@
8    
9    @SET_MAKE@
10  prefix = @prefix@  prefix = @prefix@
11  DEST = @DEST@  DEST = @DEST@
12  EGGEXEC = @EGGEXEC@  EGGEXEC = @EGGEXEC@
13  EGGVERSION = @EGGVERSION@  EGGVERSION = @EGGVERSION@
14    
15  # things you can put here:  # things you can put here:
16  #   -Wall            if you're using gcc and it supports it (configure  #   -Wall            if you're using gcc and it supports it
17  #                      usually detects this anyway now)  #                    (configure usually detects this anyway now)
18  #   -DEBUG_MEM       to be able to debug memory allocation (.debug)  #   -DEBUG_MEM       to be able to debug memory allocation (.debug)
19  # this can now be set by using 'make debug'  #                    this can now be set by using 'make debug' or 'make sdebug'
20  CFLGS =  CFLGS =
21    
22  # configure SHOULD set these...you may need to tweak them to get modules  # configure SHOULD set these...you may need to tweak them to get modules
# Line 56  TCLLIB = @TCLLIB@ Line 58  TCLLIB = @TCLLIB@
58  TCLLIBFN = @TCLLIBFN@  TCLLIBFN = @TCLLIBFN@
59    
60  CFLAGS = @CFLAGS@ -I.. @DEFS@ $(CFLGS)  CFLAGS = @CFLAGS@ -I.. @DEFS@ $(CFLGS)
61  @SET_MAKE@  DEBCFLAGS = @CFLAGS@ -I.. @DEFS@ -DEBUG_MEM $(CFLGS)
62    
63  MAKE_STATIC = $(MAKE) 'CC=$(CC)' 'LD=$(LD)' 'STRIP=$(STRIP)' \  MAKE_MODEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD)' \
64  'RANLIB=$(RANLIB)' 'CFLAGS=$(CFLAGS)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'CFLAGS=$(CFLAGS) -DSTATIC' \
74  'CPPFLAGS=$(CPPFLAGS)' 'EGGEXEC=$(EGGEXEC)' 'TCLLIB=$(TCLLIB)' \  'CPPFLAGS=$(CPPFLAGS)' 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' \
75  'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' 'XLIBS=$(XLIBS)'  'XREQS=$(XREQS)' 'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' \
76    'EGGBUILD=(static version)' 'MODOBJS=mod/*.o'
77  MAKE_MEMEGG = $(MAKE) 'CC=$(MOD_CC)' 'LD=$(MOD_LD)' 'STRIP=touch' \  
78  'RANLIB=$(RANLIB)' 'CFLAGS=-g3 $(CFLAGS) -DEBUG_MEM' \  MAKE_DEBEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD) -g' \
79  'CPPFLAGS=$(CPPFLAGS)' 'EGGEXEC=$(EGGEXEC)' 'TCLLIB=$(TCLLIB)' \  'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLAGS=-g3 $(DEBCFLAGS)' \
80  'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' 'XLIBS=$(XLIBS)'  'CPPFLAGS=$(CPPFLAGS)' 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' \
81    'XREQS=$(XREQS)' 'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' \
82    'EGGBUILD=(debug version)' 'MODOBJS='
83    
84    MAKE_DEBMODULES = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \
85    'STRIP=touch' 'CFLAGS=-g3 $(DEBCFLAGS)' 'CPPFLAGS=$(CPPFLAGS)'
86    
87    MAKE_SDEBUG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD) -g' \
88    'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLAGS=-g3 $(DEBCFLAGS) -DSTATIC' \
89    'CPPFLAGS=$(CPPFLAGS)' 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' \
90    'XREQS=$(XREQS)' 'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' \
91    'EGGBUILD=(static and debug version)' 'MODOBJS=mod/*.o'
92    
93  MAKE_DEBMODULES = $(MAKE) 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \  MAKE_DEPEND = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \
94  'STRIP=touch' 'CFLAGS=-g3 $(CFLAGS) -DEBUG_MEM' 'CPPFLAGS=$(CPPFLAGS)'  'STRIP=$(STRIP)' 'CFLAGS=$(CFLAGS)' 'CPPFLAGS=$(CPPFLAGS)'
95    
96  MAKE_INSTALL = $(MAKE) 'DEST=$(DEST)'  MAKE_INSTALL = $(MAKE) 'MAKE=$(MAKE)' 'DEST=$(DEST)'
97    
98  all: @DEFAULT_MAKE@  all: @DEFAULT_MAKE@
99    
# Line 112  distrib: distclean Line 121  distrib: distclean
121      echo "  @echo \" % ./configure\""; \      echo "  @echo \" % ./configure\""; \
122      echo "  @echo \"\""; ) > Makefile      echo "  @echo \"\""; ) > Makefile
123    
124    depend:
125        @cat /dev/null > lush.h
126        @cd src; $(MAKE_DEPEND) depend
127        @cd src/md5; $(MAKE_DEPEND) depend
128        @cd src/mod; $(MAKE_DEPEND) depend
129    
130  eggdrop: modegg modules  eggdrop: modegg modules
131    
132  modegg: modtest  modegg: modtest
133      @cd src; $(MAKE_MODEGG) modegg      @cd src; $(MAKE_MODEGG) $(EGGEXEC)
134      @echo ""      @echo ""
135      @./$(EGGEXEC) -v      @./$(EGGEXEC) -v
136      @ls -l $(EGGEXEC)      @ls -l $(EGGEXEC)
# Line 134  static: eggtest Line 149  static: eggtest
149      @echo ""      @echo ""
150      @echo "Making core eggdrop for static linking..."      @echo "Making core eggdrop for static linking..."
151      @echo ""      @echo ""
152      @cd src; $(MAKE_STATIC) static      @cd src; $(MAKE_STATIC) $(EGGEXEC)
153      @echo ""      @echo ""
154      @./$(EGGEXEC) -v      @./$(EGGEXEC) -v
155      @ls -l $(EGGEXEC)      @ls -l $(EGGEXEC)
# Line 142  static: eggtest Line 157  static: eggtest
157  debug: debegg debmodules  debug: debegg debmodules
158    
159  debegg: modtest  debegg: modtest
160      @cd src; $(MAKE_MEMEGG) debegg      @cd src; $(MAKE_DEBEGG) $(EGGEXEC)
161      @echo ""      @echo ""
162      @./$(EGGEXEC) -v      @./$(EGGEXEC) -v
163      @ls -l $(EGGEXEC)      @ls -l $(EGGEXEC)
# Line 161  sdebug: eggtest Line 176  sdebug: eggtest
176      @echo ""      @echo ""
177      @echo "Making core eggdrop for static linking..."      @echo "Making core eggdrop for static linking..."
178      @echo ""      @echo ""
179      @cd src; $(MAKE_SDEBUG) sdebug      @cd src; $(MAKE_SDEBUG) $(EGGEXEC)
180      @echo ""      @echo ""
181      @./$(EGGEXEC) -v      @./$(EGGEXEC) -v
182      @ls -l $(EGGEXEC)      @ls -l $(EGGEXEC)
# Line 218  install-start: Line 233  install-start:
233      @echo      @echo
234      @if test ! -d $(DEST); then \      @if test ! -d $(DEST); then \
235          echo "Creating directory: $(DEST)."; \          echo "Creating directory: $(DEST)."; \
236          $(INSTALL) -d $(DEST); \          $(top_srcdir)/mkinstalldirs $(DEST); \
237      fi      fi
238    
239  install-bin:  install-bin:
# Line 250  install-modules: Line 265  install-modules:
265      @if test ! "x`echo *.so`" = "x*.so"; then \      @if test ! "x`echo *.so`" = "x*.so"; then \
266          if test ! -d $(DEST)/modules-$(EGGVERSION); then \          if test ! -d $(DEST)/modules-$(EGGVERSION); then \
267              echo "Creating modules-$(EGGVERSION) directory and symlink."; \              echo "Creating modules-$(EGGVERSION) directory and symlink."; \
268              $(INSTALL) -d $(DEST)/modules-$(EGGVERSION); \              $(top_srcdir)/mkinstalldirs $(DEST)/modules-$(EGGVERSION); \
269          fi; \          fi; \
270          (cd $(DEST) && $(LN_S) modules-$(EGGVERSION) modules); \          (cd $(DEST) && $(LN_S) modules-$(EGGVERSION) modules); \
271          echo "Copying new modules."; \          echo "Copying new modules."; \
# Line 263  install-data: Line 278  install-data:
278      @$(INSTALL_DATA) eggdrop.conf.dist $(DEST)      @$(INSTALL_DATA) eggdrop.conf.dist $(DEST)
279      @if test ! -d $(DEST)/logs; then \      @if test ! -d $(DEST)/logs; then \
280          echo "Creating 'logs' subdirectory."; \          echo "Creating 'logs' subdirectory."; \
281          $(INSTALL) -d $(DEST)/logs; \          $(top_srcdir)/mkinstalldirs $(DEST)/logs; \
282          $(INSTALL_DATA) logs/CONTENTS $(DEST)/logs/; \          $(INSTALL_DATA) logs/CONTENTS $(DEST)/logs/; \
283      fi;      fi;
284      @if test ! -d $(DEST)/text; then \      @if test ! -d $(DEST)/text; then \
285          echo "Creating 'text' subdirectory."; \          echo "Creating 'text' subdirectory."; \
286          $(INSTALL) -d $(DEST)/text; \          $(top_srcdir)/mkinstalldirs $(DEST)/text; \
287      fi;      fi;
288      @if test ! -f $(DEST)/text/motd; then \      @if test ! -f $(DEST)/text/motd; then \
289          $(INSTALL_DATA) text/motd $(DEST)/text/; \          $(INSTALL_DATA) text/motd $(DEST)/text/; \
# Line 282  install-help: Line 297  install-help:
297      @if test ! "x`echo help/*.help`" = "xhelp/*.help"; then \      @if test ! "x`echo help/*.help`" = "xhelp/*.help"; then \
298          if test ! -d $(DEST)/help; then \          if test ! -d $(DEST)/help; then \
299              echo "Creating 'help' subdirectory."; \              echo "Creating 'help' subdirectory."; \
300              $(INSTALL) -d $(DEST)/help; \              $(top_srcdir)/mkinstalldirs $(DEST)/help; \
301          fi; \          fi; \
302          for i in help/*.help; do \          for i in help/*.help; do \
303              $(INSTALL_DATA) $$i $(DEST)/help/; \              $(INSTALL_DATA) $$i $(DEST)/help/; \
# Line 291  install-help: Line 306  install-help:
306      @if test ! "x`echo help/msg/*.help`" = "xhelp/msg/*.help"; then \      @if test ! "x`echo help/msg/*.help`" = "xhelp/msg/*.help"; then \
307          if test ! -d $(DEST)/help/msg; then \          if test ! -d $(DEST)/help/msg; then \
308              echo "Creating 'help/msg' subdirectory."; \              echo "Creating 'help/msg' subdirectory."; \
309              $(INSTALL) -d $(DEST)/help/msg; \              $(top_srcdir)/mkinstalldirs $(DEST)/help/msg; \
310          fi; \          fi; \
311          for i in help/msg/*.help; do \          for i in help/msg/*.help; do \
312              $(INSTALL_DATA) $$i $(DEST)/help/msg/; \              $(INSTALL_DATA) $$i $(DEST)/help/msg/; \
# Line 300  install-help: Line 315  install-help:
315      @if test ! "x`echo help/set/*.help`" = "xhelp/set/*.help"; then \      @if test ! "x`echo help/set/*.help`" = "xhelp/set/*.help"; then \
316          if test ! -d $(DEST)/help/set; then \          if test ! -d $(DEST)/help/set; then \
317              echo "Creating 'help/set' subdirectory."; \              echo "Creating 'help/set' subdirectory."; \
318              $(INSTALL) -d $(DEST)/help/set; \              $(top_srcdir)/mkinstalldirs $(DEST)/help/set; \
319          fi; \          fi; \
320          for i in help/set/*.help; do \          for i in help/set/*.help; do \
321              $(INSTALL_DATA) $$i $(DEST)/help/set/; \              $(INSTALL_DATA) $$i $(DEST)/help/set/; \
# Line 313  install-language: Line 328  install-language:
328      @if test ! "x`echo language/*.lang`" = "xlanguage/*.lang"; then \      @if test ! "x`echo language/*.lang`" = "xlanguage/*.lang"; then \
329          if test ! -d $(DEST)/language; then \          if test ! -d $(DEST)/language; then \
330              echo "Creating 'language' subdirectory."; \              echo "Creating 'language' subdirectory."; \
331              $(INSTALL) -d $(DEST)/language; \              $(top_srcdir)/mkinstalldirs $(DEST)/language; \
332          fi; \          fi; \
333          for i in language/*.lang; do \          for i in language/*.lang; do \
334              $(INSTALL_DATA) $$i $(DEST)/language/; \              $(INSTALL_DATA) $$i $(DEST)/language/; \
# Line 324  install-language: Line 339  install-language:
339  install-filesys:  install-filesys:
340      @if test ! -d $(DEST)/filesys; then \      @if test ! -d $(DEST)/filesys; then \
341          echo "Creating a skeletal filesys subdirectory."; \          echo "Creating a skeletal filesys subdirectory."; \
342          $(INSTALL) -d $(DEST)/filesys; \          $(top_srcdir)/mkinstalldirs $(DEST)/filesys; \
343          $(INSTALL) -d $(DEST)/filesys/incoming; \          $(top_srcdir)/mkinstalldirs $(DEST)/filesys/incoming; \
344      fi      fi
345    
346  install-doc:  install-doc:

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23