root/trunk/contrib/extractor/Makefile @ 23

Revision 23, 13.6 kB (checked in by yumileroy, 17 years ago)

[svn] * Adjusted all Makefile headers; Updated to GPL v3

Original author: Coldblooded
Date: 2008-10-06 15:30:26-05:00

Line 
1# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2# 2003, 2004, 2005  Free Software Foundation, Inc.
3# This Makefile.in is free software; the Free Software Foundation
4# gives unlimited permission to copy and/or distribute it,
5# with or without modifications, as long as this notice is preserved.
6
7# This program is distributed in the hope that it will be useful,
8# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
9# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10# PARTICULAR PURPOSE.
11
12
13# Copyright (C) 2008 Trinity <http://www.trinitycore.org/>
14#
15# Thanks to the original authors: MaNGOS <http://www.mangosproject.org/>
16#
17# This program is free software; you can redistribute it and/or modify
18# it under the terms of the GNU General Public License as published by
19# the Free Software Foundation; either version 2 of the License, or
20# (at your option) any later version.
21#
22# This program is distributed in the hope that it will be useful,
23# but WITHOUT ANY WARRANTY; without even the implied warranty of
24# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25# GNU General Public License for more details.
26#
27# You should have received a copy of the GNU General Public License
28# along with this program; if not, write to the Free Software
29# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
30
31SOURCES = $(ad_SOURCES)
32
33srcdir = .
34top_srcdir = .
35
36pkgdatadir = $(datadir)/mangos
37pkglibdir = $(libdir)/mangos
38pkgincludedir = $(includedir)/mangos
39top_builddir = ../..
40am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41INSTALL = /usr/bin/ginstall -c
42install_sh_DATA = $(install_sh) -c -m 644
43install_sh_PROGRAM = $(install_sh) -c
44install_sh_SCRIPT = $(install_sh) -c
45INSTALL_HEADER = $(INSTALL_DATA)
46transform = $(program_transform_name)
47NORMAL_INSTALL = :
48PRE_INSTALL = :
49POST_INSTALL = :
50NORMAL_UNINSTALL = :
51PRE_UNINSTALL = :
52POST_UNINSTALL = :
53build_triplet = i686-pc-linux-gnu
54host_triplet = i686-pc-linux-gnu
55bin_PROGRAMS = ad$(EXEEXT)
56subdir = contrib/extractor
57DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
58ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
59am__aclocal_m4_deps = $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61        $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
63CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES =
65am__installdirs = "$(DESTDIR)$(bindir)"
66binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
67PROGRAMS = $(bin_PROGRAMS)
68am_ad_OBJECTS = System.$(OBJEXT) adt.$(OBJEXT) dbcfile.$(OBJEXT) \
69                mpq_libmpq.$(OBJEXT)   
70ad_OBJECTS = $(am_ad_OBJECTS)
71ad_DEPENDENCIES =
72DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
73depcomp = $(SHELL) $(top_srcdir)/depcomp
74am__depfiles_maybe = depfiles
75CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
76        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
77LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
78        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
79        $(AM_CXXFLAGS) $(CXXFLAGS)
80CXXLD = $(CXX)
81CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
82        $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
83COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
84        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
85LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
86        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
87        $(AM_CFLAGS) $(CFLAGS)
88CCLD = $(CC)
89LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
90        $(AM_LDFLAGS) $(LDFLAGS) -o $@
91SOURCES = $(ad_SOURCES)
92DIST_SOURCES = $(ad_SOURCES)
93ETAGS = etags
94CTAGS = ctags
95DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
96ACLOCAL =
97ALLOCA = 
98AMDEP_FALSE = #
99AMDEP_TRUE = 
100AMTAR = ${SHELL} /home/wow/MaNGOS/trunk/missing --run tar
101AR = ar
102AUTOCONF = ${SHELL} /home/wow/MaNGOS/trunk/missing --run autoconf
103AUTOHEADER = ${SHELL} /home/wow/MaNGOS/trunk/missing --run autoheader
104AUTOMAKE = ${SHELL} /home/wow/MaNGOS/trunk/missing --run automake-1.9
105AWK = gawk
106CC = gcc
107CCDEPMODE = depmode=gcc3
108CFLAGS = -g -O3
109COMPILER_OPTIONS = -g -O3
110CPP = gcc -E
111CPPFLAGS = 
112CXX = g++
113CXXCPP = g++ -E
114CXXDEPMODE = depmode=gcc3
115CXXFLAGS = -g -O3
116CYGPATH_W = echo
117DEFS = -DHAVE_CONFIG_H
118DEPDIR = .deps
119ECHO = echo
120ECHO_C = 
121ECHO_N = -n
122ECHO_T = 
123EGREP = grep -E
124EXEEXT = 
125EXTRA_COMPILER_OPTIONS = 
126EXTRA_LINKER_OPTIONS = 
127F77 = 
128FFLAGS = 
129INCLUDES = -I$(srcdir)
130INSTALL_DATA = ${INSTALL} -m 644
131INSTALL_PROGRAM = ${INSTALL}
132INSTALL_SCRIPT = ${INSTALL}
133INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
134LDFLAGS = 
135LIBOBJS = 
136LIBS = -lz -lpthread
137LIBTOOL = $(SHELL) $(top_builddir)/libtool
138LINKER_OPTIONS = -static
139LN_S = ln -s
140LTLIBOBJS = 
141LT_AGE = 2
142LT_CURRENT = 2
143LT_RELEASE = 2.3.2
144LT_REVISION = 3
145MAINT = #
146MAINTAINER_MODE_FALSE = 
147MAINTAINER_MODE_TRUE = #
148MAKEINFO = 
149MANGOSD_CONFIG = /home/wow/server/etc/mangosd.conf
150MANGOSD_CONFIGDIR = /home/wow/server/etc
151MANGOSD_DATA = /home/wow/server/share/mangos
152OBJEXT = o
153PACKAGE = mangos
154PACKAGE_BUGREPORT = http://www.mangosproject.org/
155PACKAGE_NAME = MaNGOS
156PACKAGE_STRING = MaNGOS 0.2-SVN
157PACKAGE_TARNAME = mangos
158PACKAGE_VERSION = 0.2-SVN
159PATH_SEPARATOR = :
160RANLIB = ranlib
161SET_MAKE = 
162SHELL = /bin/sh
163STRIP = strip
164VERSION = 0.2-SVN
165ac_ct_AR = ar
166ac_ct_CC = gcc
167ac_ct_CXX = g++
168ac_ct_F77 = 
169ac_ct_RANLIB = ranlib
170ac_ct_STRIP = strip
171am__fastdepCC_FALSE = #
172am__fastdepCC_TRUE = 
173am__fastdepCXX_FALSE = #
174am__fastdepCXX_TRUE = 
175am__include = include
176am__leading_dot = .
177am__quote = 
178am__tar = ${AMTAR} chof - "$$tardir"
179am__untar = ${AMTAR} xf -
180bindir = ${exec_prefix}/bin
181build = i686-pc-linux-gnu
182build_alias = 
183build_cpu = i686
184build_os = linux-gnu
185build_vendor = pc
186datadir = ${prefix}/share
187exec_prefix = ${prefix}
188host = i686-pc-linux-gnu
189host_alias = 
190host_cpu = i686
191host_os = linux-gnu
192host_vendor = pc
193includedir = ${prefix}/include
194infodir = ${prefix}/info
195install_sh = /home/wow/MaNGOS/trunk/install-sh
196libdir = ${exec_prefix}/lib
197libexecdir = ${exec_prefix}/libexec
198localstatedir = ${prefix}/var
199mandir = ${prefix}/man
200mkdir_p = mkdir -p --
201oldincludedir = /usr/include
202prefix = /home/wow/server
203program_transform_name = s,x,x,
204sbindir = ${exec_prefix}/sbin
205sharedstatedir = ${prefix}/com
206
207# use our configured sysconfdir
208sysconfdir = /home/wow/server/etc
209target_alias = 
210ad_SOURCES = \
211    System.cpp \
212    adt.h \
213    adt.cpp \
214    dbcfile.cpp \
215    dbcfile.h \
216    mpq_libmpq.cpp \
217    mpq_libmpq.h
218
219ad_LDADD = libmpq/libmpq.a
220add_LDFLAGS = -L$(srcdir) -L$(srcdir)/libmpq
221
222all: create-dir all-am
223
224.SUFFIXES:
225.SUFFIXES: .cpp .lo .o .obj
226
227.PRECIOUS: Makefile
228
229install-binPROGRAMS: $(bin_PROGRAMS)
230        @$(NORMAL_INSTALL)
231        test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
232        @list='$(bin_PROGRAMS)'; for p in $$list; do \
233          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
234          if test -f $$p \
235             || test -f $$p1 \
236          ; then \
237            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
238           echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
239           $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
240          else :; fi; \
241        done
242
243uninstall-binPROGRAMS:
244        @$(NORMAL_UNINSTALL)
245        @list='$(bin_PROGRAMS)'; for p in $$list; do \
246          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
247          echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
248          rm -f "$(DESTDIR)$(bindir)/$$f"; \
249        done
250
251clean-binPROGRAMS:
252        @list='$(bin_PROGRAMS)'; for p in $$list; do \
253          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
254          echo " rm -f $$p $$f"; \
255          rm -f $$p $$f ; \
256        done
257ad$(EXEEXT): $(ad_OBJECTS) $(ad_DEPENDENCIES) 
258        @rm -f ad$(EXEEXT)
259        $(CXXLINK) $(ad_LDFLAGS) $(ad_OBJECTS) $(ad_LDADD) $(LIBS)
260
261mostlyclean-compile:
262        -rm -f *.$(OBJEXT)
263
264distclean-compile:
265        -rm -f *.tab.c
266
267.cpp.o:
268        if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
269        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
270#       source='$<' object='$@' libtool=no \
271#       DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
272#       $(CXXCOMPILE) -c -o $@ $<
273
274.cpp.obj:
275        if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
276        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
277#       source='$<' object='$@' libtool=no \
278#       DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
279#       $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
280
281.cpp.lo:
282        if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
283        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
284#       source='$<' object='$@' libtool=yes \
285#       DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
286#       $(LTCXXCOMPILE) -c -o $@ $<
287
288mostlyclean-libtool:
289        -rm -f *.lo
290
291clean-libtool:
292        -rm -rf .libs _libs
293        -rm .deps/*
294
295distclean-libtool:
296        -rm -f libtool
297uninstall-info-am:
298
299ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
300        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
301        unique=`for i in $$list; do \
302            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
303          done | \
304          $(AWK) '    { files[$$0] = 1; } \
305               END { for (i in files) print i; }'`; \
306        mkid -fID $$unique
307tags: TAGS
308
309TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
310                $(TAGS_FILES) $(LISP)
311        tags=; \
312        here=`pwd`; \
313        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
314        unique=`for i in $$list; do \
315            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
316          done | \
317          $(AWK) '    { files[$$0] = 1; } \
318               END { for (i in files) print i; }'`; \
319        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
320          test -n "$$unique" || unique=$$empty_fix; \
321          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
322            $$tags $$unique; \
323        fi
324ctags: CTAGS
325CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
326                $(TAGS_FILES) $(LISP)
327        tags=; \
328        here=`pwd`; \
329        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
330        unique=`for i in $$list; do \
331            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
332          done | \
333          $(AWK) '    { files[$$0] = 1; } \
334               END { for (i in files) print i; }'`; \
335        test -z "$(CTAGS_ARGS)$$tags$$unique" \
336          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
337             $$tags $$unique
338
339GTAGS:
340        here=`$(am__cd) $(top_builddir) && pwd` \
341          && cd $(top_srcdir) \
342          && gtags -i $(GTAGS_ARGS) $$here
343
344distclean-tags:
345        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
346
347distdir: $(DISTFILES)
348        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
349        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
350        list='$(DISTFILES)'; for file in $$list; do \
351          case $$file in \
352            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
353            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
354          esac; \
355          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
356          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
357          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
358            dir="/$$dir"; \
359            $(mkdir_p) "$(distdir)$$dir"; \
360          else \
361            dir=''; \
362          fi; \
363          if test -d $$d/$$file; then \
364            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
365              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
366            fi; \
367            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
368          else \
369            test -f $(distdir)/$$file \
370            || cp -p $$d/$$file $(distdir)/$$file \
371            || exit 1; \
372          fi; \
373        done
374check-am: all-am
375check: check-am
376all-am: Makefile $(PROGRAMS);
377installdirs:
378        for dir in "$(DESTDIR)$(bindir)"; do \
379          test -z "$$dir" || $(mkdir_p) "$$dir"; \
380        done
381install: install-am
382install-exec: install-exec-am
383install-data: install-data-am
384uninstall: uninstall-am
385
386install-am: all-am
387        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
388
389installcheck: installcheck-am
390install-strip:
391        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
392          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
393          `test -z '$(STRIP)' || \
394            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
395mostlyclean-generic:
396
397clean-generic:
398
399distclean-generic:
400        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
401
402maintainer-clean-generic:
403        @echo "This command is intended for maintainers to use"
404        @echo "it deletes files that may require special tools to rebuild."
405clean: clean-am
406
407clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
408
409distclean: distclean-am
410        -rm -rf ./$(DEPDIR)
411distclean-am: clean-am distclean-compile distclean-generic \
412        distclean-libtool distclean-tags
413
414dvi: dvi-am
415
416dvi-am:
417
418html: html-am
419
420info: info-am
421
422info-am:
423
424install-data-am:
425
426install-exec-am: install-binPROGRAMS
427
428install-info: install-info-am
429
430install-man:
431
432installcheck-am:
433
434maintainer-clean: maintainer-clean-am
435        -rm -rf ./$(DEPDIR)
436        -rm -f Makefile
437maintainer-clean-am: distclean-am maintainer-clean-generic
438
439mostlyclean: mostlyclean-am
440
441mostlyclean-am: mostlyclean-compile mostlyclean-generic \
442        mostlyclean-libtool
443
444pdf: pdf-am
445
446pdf-am:
447
448ps: ps-am
449
450ps-am:
451
452uninstall-am: uninstall-binPROGRAMS uninstall-info-am
453
454create-dir:
455        mkdir -p ".deps"
456
457.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
458        clean-generic clean-libtool ctags distclean distclean-compile \
459        distclean-generic distclean-libtool distclean-tags distdir dvi \
460        dvi-am html html-am info info-am install install-am \
461        install-binPROGRAMS install-data install-data-am install-exec \
462        install-exec-am install-info install-info-am install-man \
463        install-strip installcheck installcheck-am installdirs \
464        maintainer-clean maintainer-clean-generic mostlyclean \
465        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
466        pdf pdf-am ps ps-am tags uninstall uninstall-am \
467        uninstall-binPROGRAMS uninstall-info-am
468
469# Tell versions [3.59,3.63) of GNU make to not export all variables.
470# Otherwise a system limit (for SysV at least) may be exceeded.
471.NOEXPORT:
Note: See TracBrowser for help on using the browser.