Changeset 2400


Ignore:
Timestamp:
Jul 18, 2007, 11:04:26 PM (15 years ago)
Author:
charles
Message:

part one of moving the build environment over to automake/autoconf. beware!

Location:
trunk
Files:
10 added
1 deleted
31 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r1202 r2400  
    1 # $Id$
    2 
    3 include mk/common.mk
    4 
    5 default: all
    6 
    7 # Before we do anything else, make sure we have config.mk and an
    8 # updated version.mk
    9 
    10 required: mk/config.mk mk/version.mk
    11 mk/config.mk:
    12         @echo "Please run ./configure first."
    13         @false
    14 mk/version.mk: FORCE
    15         @echo "Checking SVN revision..."
    16         @./version.sh
    17 FORCE:
    18 
    19 # Now call the Makefile that'll really build
    20 # OS X has its special Makefile that wraps to Xcode
    21 
    22 -include mk/config.mk
    23 ifneq ($(SYSTEM),Darwin)
    24 MAKEARGS += -f mk/default.mk
    25 else
    26 MAKEARGS += -f mk/osx.mk
    27 endif
    28 
    29 all: required
    30         @$(MAKE) $(MAKEARGS) all
    31 clean: required
    32         @$(MAKE) $(MAKEARGS) clean
    33 install: all
    34         @$(MAKE) $(MAKEARGS) install
    35 package: all
    36         @$(MAKE) $(MAKEARGS) package
    37 package-release: all
    38         @$(MAKE) $(MAKEARGS) package-release
     1# Makefile.in generated by automake 1.9.6 from Makefile.am.
     2# Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004, 2005  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16srcdir = .
     17top_srcdir = .
     18
     19pkgdatadir = $(datadir)/Transmission
     20pkglibdir = $(libdir)/Transmission
     21pkgincludedir = $(includedir)/Transmission
     22top_builddir = .
     23am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     24INSTALL = /usr/bin/install -c
     25install_sh_DATA = $(install_sh) -c -m 644
     26install_sh_PROGRAM = $(install_sh) -c
     27install_sh_SCRIPT = $(install_sh) -c
     28INSTALL_HEADER = $(INSTALL_DATA)
     29transform = $(program_transform_name)
     30NORMAL_INSTALL = :
     31PRE_INSTALL = :
     32POST_INSTALL = :
     33NORMAL_UNINSTALL = :
     34PRE_UNINSTALL = :
     35POST_UNINSTALL = :
     36build_triplet = x86_64-unknown-linux-gnu
     37host_triplet = x86_64-unknown-linux-gnu
     38DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
     39        $(srcdir)/Makefile.in $(srcdir)/config.h.in \
     40        $(srcdir)/transmission.spec.in $(top_srcdir)/configure AUTHORS \
     41        COPYING ChangeLog INSTALL NEWS config.guess config.sub depcomp \
     42        install-sh missing
     43subdir = .
     44ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     45am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
     46        $(top_srcdir)/configure.ac
     47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     48        $(ACLOCAL_M4)
     49am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
     50 configure.lineno configure.status.lineno
     51mkinstalldirs = $(install_sh) -d
     52CONFIG_HEADER = config.h
     53CONFIG_CLEAN_FILES = transmission.spec
     54SOURCES =
     55DIST_SOURCES =
     56RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
     57        html-recursive info-recursive install-data-recursive \
     58        install-exec-recursive install-info-recursive \
     59        install-recursive installcheck-recursive installdirs-recursive \
     60        pdf-recursive ps-recursive uninstall-info-recursive \
     61        uninstall-recursive
     62ETAGS = etags
     63CTAGS = ctags
     64DIST_SUBDIRS = libtransmission daemon cli gtk beos macosx \
     65        Transmission.xcodeproj
     66DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     67distdir = $(PACKAGE)-$(VERSION)
     68top_distdir = $(distdir)
     69am__remove_distdir = \
     70  { test ! -d $(distdir) \
     71    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
     72         && rm -fr $(distdir); }; }
     73DIST_ARCHIVES = $(distdir).tar.gz
     74GZIP_ENV = --best
     75distuninstallcheck_listfiles = find . -type f -print
     76distcleancheck_listfiles = find . -type f -print
     77ACLOCAL = ${SHELL} /home/charles/Desktop/T/missing --run aclocal-1.9
     78AMDEP_FALSE = #
     79AMDEP_TRUE =
     80AMTAR = ${SHELL} /home/charles/Desktop/T/missing --run tar
     81AUTOCONF = ${SHELL} /home/charles/Desktop/T/missing --run autoconf
     82AUTOHEADER = ${SHELL} /home/charles/Desktop/T/missing --run autoheader
     83AUTOMAKE = ${SHELL} /home/charles/Desktop/T/missing --run automake-1.9
     84AWK = gawk
     85BUNDLE_VERSION = 2398:2399M
     86CATALOGS =  bg.gmo es.gmo fi.gmo fr.gmo it.gmo pl.gmo ro.gmo ru.gmo sv.gmo
     87CATOBJEXT = .gmo
     88CC = gcc
     89CCDEPMODE = depmode=gcc3
     90CFLAGS = -Os -Wall -ggdb3
     91CPP = gcc -E
     92CPPFLAGS =
     93CXX = g++
     94CXXDEPMODE = depmode=gcc3
     95CXXFLAGS = -Os -Wall -ggdb3
     96CYGPATH_W = echo
     97DATADIRNAME = share
     98DEFS = -DHAVE_CONFIG_H
     99DEPDIR = .deps
     100ECHO_C =
     101ECHO_N = -n
     102ECHO_T =
     103EGREP = grep -E
     104EXEEXT =
     105GETTEXT_PACKAGE = transmission
     106GLIB_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
     107GLIB_GENMARSHAL = glib-genmarshal
     108GLIB_LIBS = -Wl,--export-dynamic -pthread -L/lib64 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 
     109GLIB_MINIMUM = 2.4.0
     110GLIB_MKENUMS = glib-mkenums
     111GMOFILES =  bg.gmo es.gmo fi.gmo fr.gmo it.gmo pl.gmo ro.gmo ru.gmo sv.gmo
     112GMSGFMT = /usr/bin/msgfmt
     113GOBJECT_QUERY = gobject-query
     114GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 
     115GTK_LIBS = -pthread -L/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 
     116GTK_MINIMUM = 2.4.0
     117HAVE_BEOS_FALSE =
     118HAVE_BEOS_TRUE = #
     119HAVE_DARWIN_FALSE =
     120HAVE_DARWIN_TRUE = #
     121HAVE_WINDOWS_FALSE =
     122HAVE_WINDOWS_TRUE = #
     123INSTALL_DATA = ${INSTALL} -m 644
     124INSTALL_PROGRAM = ${INSTALL}
     125INSTALL_SCRIPT = ${INSTALL}
     126INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     127INSTOBJEXT = .mo
     128INTLLIBS =
     129LDFLAGS =
     130LIBOBJS =
     131LIBS = -lssl -lcrypto
     132LTLIBOBJS =
     133MAINT = 2
     134MAINTAINER_MODE_FALSE =
     135MAINTAINER_MODE_TRUE = #
     136MAKEINFO = ${SHELL} /home/charles/Desktop/T/missing --run makeinfo
     137MKINSTALLDIRS = ./mkinstalldirs
     138MSGFMT = /usr/bin/msgfmt
     139OBJEXT = o
     140PACKAGE = Transmission
     141PACKAGE_BUGREPORT = http://bugzilla.gnome.org/enter_bug.cgi?product=Pan
     142PACKAGE_NAME = Transmission
     143PACKAGE_STRING = Transmission 0.72Z
     144PACKAGE_TARNAME = transmission
     145PACKAGE_VERSION = 0.72Z
     146PATH_SEPARATOR = :
     147PKG_CONFIG = /usr/bin/pkg-config
     148POFILES =  bg.po es.po fi.po fr.po it.po pl.po ro.po ru.po sv.po
     149POSUB = po
     150PO_IN_DATADIR_FALSE =
     151PO_IN_DATADIR_TRUE =
     152PTHREAD_CC = gcc
     153PTHREAD_CFLAGS = -pthread
     154PTHREAD_LIBS =
     155RANLIB = ranlib
     156SET_MAKE =
     157SHELL = /bin/sh
     158STRIP =
     159USE_NLS = yes
     160VERSION = 0.72Z
     161VERSION_BETA = Z
     162VERSION_MAINTENANCE = 2
     163VERSION_MAJOR = 0
     164VERSION_MINOR = 7
     165VERSION_PACKAGE = 0.72Z-r2398:2399M
     166VERSION_REVISION = 2398:2399M
     167VERSION_STRING = 0.72Z
     168VERSION_STRING_LONG = 0.72Z-r2398:2399M
     169WINDRES =
     170WITH_GTK_FALSE = #
     171WITH_GTK_TRUE =
     172WITH_LIBEVENT_FALSE = #
     173WITH_LIBEVENT_TRUE =
     174WX_MINIMUM = 2.6.0
     175XGETTEXT = /usr/bin/xgettext
     176ac_ct_CC = gcc
     177ac_ct_CXX = g++
     178ac_ct_RANLIB = ranlib
     179ac_ct_STRIP =
     180ac_pt_PKG_CONFIG =
     181acx_pthread_config =
     182am__fastdepCC_FALSE = #
     183am__fastdepCC_TRUE =
     184am__fastdepCXX_FALSE = #
     185am__fastdepCXX_TRUE =
     186am__include = include
     187am__leading_dot = .
     188am__quote =
     189am__tar = ${AMTAR} chof - "$$tardir"
     190am__untar = ${AMTAR} xf -
     191bindir = ${exec_prefix}/bin
     192build = x86_64-unknown-linux-gnu
     193build_alias =
     194build_cpu = x86_64
     195build_os = linux-gnu
     196build_vendor = unknown
     197datadir = ${prefix}/share
     198exec_prefix = ${prefix}
     199host = x86_64-unknown-linux-gnu
     200host_alias =
     201host_cpu = x86_64
     202host_os = linux-gnu
     203host_vendor = unknown
     204includedir = ${prefix}/include
     205infodir = ${prefix}/info
     206install_sh = /home/charles/Desktop/T/install-sh
     207libdir = ${exec_prefix}/lib
     208libexecdir = ${exec_prefix}/libexec
     209localstatedir = ${prefix}/var
     210mandir = ${prefix}/man
     211mkdir_p = mkdir -p --
     212oldincludedir = /usr/include
     213prefix = /usr/local
     214program_transform_name = s,x,x,
     215sbindir = ${exec_prefix}/sbin
     216sharedstatedir = ${prefix}/com
     217sysconfdir = ${prefix}/etc
     218target_alias =
     219GTK_DIR = gtk
     220DAEMON_DIR = daemon
     221#BEOS_DIR = beos
     222#MAC_DIR = macosx Transmission.xcodeproj
     223SUBDIRS = libtransmission $(DAEMON_DIR) cli $(GTK_DIR) $(BEOS_DIR) $(MAC_DIR)
     224DISTCLEANFILES = \
     225 Transmission.desktop
     226
     227EXTRA_DIST = \
     228 NEWS \
     229 AUTHORS \
     230 LICENSE \
     231 README
     232
     233all: config.h
     234        $(MAKE) $(AM_MAKEFLAGS) all-recursive
     235
     236.SUFFIXES:
     237am--refresh:
     238        @:
     239$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am  $(am__configure_deps)
     240        @for dep in $?; do \
     241          case '$(am__configure_deps)' in \
     242            *$$dep*) \
     243              echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
     244              cd $(srcdir) && $(AUTOMAKE) --gnu  \
     245                && exit 0; \
     246              exit 1;; \
     247          esac; \
     248        done; \
     249        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
     250        cd $(top_srcdir) && \
     251          $(AUTOMAKE) --gnu  Makefile
     252.PRECIOUS: Makefile
     253Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     254        @case '$?' in \
     255          *config.status*) \
     256            echo ' $(SHELL) ./config.status'; \
     257            $(SHELL) ./config.status;; \
     258          *) \
     259            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
     260            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
     261        esac;
     262
     263$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     264        $(SHELL) ./config.status --recheck
     265
     266$(top_srcdir)/configure: # $(am__configure_deps)
     267        cd $(srcdir) && $(AUTOCONF)
     268$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
     269        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
     270
     271config.h: stamp-h1
     272        @if test ! -f $@; then \
     273          rm -f stamp-h1; \
     274          $(MAKE) stamp-h1; \
     275        else :; fi
     276
     277stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
     278        @rm -f stamp-h1
     279        cd $(top_builddir) && $(SHELL) ./config.status config.h
     280$(srcdir)/config.h.in: # $(am__configure_deps)
     281        cd $(top_srcdir) && $(AUTOHEADER)
     282        rm -f stamp-h1
     283        touch $@
     284
     285distclean-hdr:
     286        -rm -f config.h stamp-h1
     287transmission.spec: $(top_builddir)/config.status $(srcdir)/transmission.spec.in
     288        cd $(top_builddir) && $(SHELL) ./config.status $@
     289uninstall-info-am:
     290
     291# This directory's subdirectories are mostly independent; you can cd
     292# into them and run `make' without going through this Makefile.
     293# To change the values of `make' variables: instead of editing Makefiles,
     294# (1) if the variable is set in `config.status', edit `config.status'
     295#     (which will cause the Makefiles to be regenerated when you run `make');
     296# (2) otherwise, pass the desired values on the `make' command line.
     297$(RECURSIVE_TARGETS):
     298        @failcom='exit 1'; \
     299        for f in x $$MAKEFLAGS; do \
     300          case $$f in \
     301            *=* | --[!k]*);; \
     302            *k*) failcom='fail=yes';; \
     303          esac; \
     304        done; \
     305        dot_seen=no; \
     306        target=`echo $@ | sed s/-recursive//`; \
     307        list='$(SUBDIRS)'; for subdir in $$list; do \
     308          echo "Making $$target in $$subdir"; \
     309          if test "$$subdir" = "."; then \
     310            dot_seen=yes; \
     311            local_target="$$target-am"; \
     312          else \
     313            local_target="$$target"; \
     314          fi; \
     315          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
     316          || eval $$failcom; \
     317        done; \
     318        if test "$$dot_seen" = "no"; then \
     319          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
     320        fi; test -z "$$fail"
     321
     322mostlyclean-recursive clean-recursive distclean-recursive \
     323maintainer-clean-recursive:
     324        @failcom='exit 1'; \
     325        for f in x $$MAKEFLAGS; do \
     326          case $$f in \
     327            *=* | --[!k]*);; \
     328            *k*) failcom='fail=yes';; \
     329          esac; \
     330        done; \
     331        dot_seen=no; \
     332        case "$@" in \
     333          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
     334          *) list='$(SUBDIRS)' ;; \
     335        esac; \
     336        rev=''; for subdir in $$list; do \
     337          if test "$$subdir" = "."; then :; else \
     338            rev="$$subdir $$rev"; \
     339          fi; \
     340        done; \
     341        rev="$$rev ."; \
     342        target=`echo $@ | sed s/-recursive//`; \
     343        for subdir in $$rev; do \
     344          echo "Making $$target in $$subdir"; \
     345          if test "$$subdir" = "."; then \
     346            local_target="$$target-am"; \
     347          else \
     348            local_target="$$target"; \
     349          fi; \
     350          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
     351          || eval $$failcom; \
     352        done && test -z "$$fail"
     353tags-recursive:
     354        list='$(SUBDIRS)'; for subdir in $$list; do \
     355          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
     356        done
     357ctags-recursive:
     358        list='$(SUBDIRS)'; for subdir in $$list; do \
     359          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
     360        done
     361
     362ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     363        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     364        unique=`for i in $$list; do \
     365            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     366          done | \
     367          $(AWK) '    { files[$$0] = 1; } \
     368               END { for (i in files) print i; }'`; \
     369        mkid -fID $$unique
     370tags: TAGS
     371
     372TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
     373                $(TAGS_FILES) $(LISP)
     374        tags=; \
     375        here=`pwd`; \
     376        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
     377          include_option=--etags-include; \
     378          empty_fix=.; \
     379        else \
     380          include_option=--include; \
     381          empty_fix=; \
     382        fi; \
     383        list='$(SUBDIRS)'; for subdir in $$list; do \
     384          if test "$$subdir" = .; then :; else \
     385            test ! -f $$subdir/TAGS || \
     386              tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
     387          fi; \
     388        done; \
     389        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
     390        unique=`for i in $$list; do \
     391            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     392          done | \
     393          $(AWK) '    { files[$$0] = 1; } \
     394               END { for (i in files) print i; }'`; \
     395        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     396          test -n "$$unique" || unique=$$empty_fix; \
     397          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     398            $$tags $$unique; \
     399        fi
     400ctags: CTAGS
     401CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
     402                $(TAGS_FILES) $(LISP)
     403        tags=; \
     404        here=`pwd`; \
     405        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
     406        unique=`for i in $$list; do \
     407            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     408          done | \
     409          $(AWK) '    { files[$$0] = 1; } \
     410               END { for (i in files) print i; }'`; \
     411        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     412          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     413             $$tags $$unique
     414
     415GTAGS:
     416        here=`$(am__cd) $(top_builddir) && pwd` \
     417          && cd $(top_srcdir) \
     418          && gtags -i $(GTAGS_ARGS) $$here
     419
     420distclean-tags:
     421        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     422
     423distdir: $(DISTFILES)
     424        $(am__remove_distdir)
     425        mkdir $(distdir)
     426        $(mkdir_p) $(distdir)/. $(distdir)/libtransmission $(distdir)/macosx
     427        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     428        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     429        list='$(DISTFILES)'; for file in $$list; do \
     430          case $$file in \
     431            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     432            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     433          esac; \
     434          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     435          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     436          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     437            dir="/$$dir"; \
     438            $(mkdir_p) "$(distdir)$$dir"; \
     439          else \
     440            dir=''; \
     441          fi; \
     442          if test -d $$d/$$file; then \
     443            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     444              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     445            fi; \
     446            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     447          else \
     448            test -f $(distdir)/$$file \
     449            || cp -p $$d/$$file $(distdir)/$$file \
     450            || exit 1; \
     451          fi; \
     452        done
     453        list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
     454          if test "$$subdir" = .; then :; else \
     455            test -d "$(distdir)/$$subdir" \
     456            || $(mkdir_p) "$(distdir)/$$subdir" \
     457            || exit 1; \
     458            distdir=`$(am__cd) $(distdir) && pwd`; \
     459            top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
     460            (cd $$subdir && \
     461              $(MAKE) $(AM_MAKEFLAGS) \
     462                top_distdir="$$top_distdir" \
     463                distdir="$$distdir/$$subdir" \
     464                distdir) \
     465              || exit 1; \
     466          fi; \
     467        done
     468        -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
     469          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
     470          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
     471          ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
     472        || chmod -R a+r $(distdir)
     473dist-gzip: distdir
     474        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
     475        $(am__remove_distdir)
     476
     477dist-bzip2: distdir
     478        tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
     479        $(am__remove_distdir)
     480
     481dist-tarZ: distdir
     482        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
     483        $(am__remove_distdir)
     484
     485dist-shar: distdir
     486        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
     487        $(am__remove_distdir)
     488
     489dist-zip: distdir
     490        -rm -f $(distdir).zip
     491        zip -rq $(distdir).zip $(distdir)
     492        $(am__remove_distdir)
     493
     494dist dist-all: distdir
     495        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
     496        $(am__remove_distdir)
     497
     498# This target untars the dist file and tries a VPATH configuration.  Then
     499# it guarantees that the distribution is self-contained by making another
     500# tarfile.
     501distcheck: dist
     502        case '$(DIST_ARCHIVES)' in \
     503        *.tar.gz*) \
     504          GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
     505        *.tar.bz2*) \
     506          bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
     507        *.tar.Z*) \
     508          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
     509        *.shar.gz*) \
     510          GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
     511        *.zip*) \
     512          unzip $(distdir).zip ;;\
     513        esac
     514        chmod -R a-w $(distdir); chmod a+w $(distdir)
     515        mkdir $(distdir)/_build
     516        mkdir $(distdir)/_inst
     517        chmod a-w $(distdir)
     518        dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
     519          && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
     520          && cd $(distdir)/_build \
     521          && ../configure --srcdir=.. --prefix="$$dc_install_base" \
     522            $(DISTCHECK_CONFIGURE_FLAGS) \
     523          && $(MAKE) $(AM_MAKEFLAGS) \
     524          && $(MAKE) $(AM_MAKEFLAGS) dvi \
     525          && $(MAKE) $(AM_MAKEFLAGS) check \
     526          && $(MAKE) $(AM_MAKEFLAGS) install \
     527          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
     528          && $(MAKE) $(AM_MAKEFLAGS) uninstall \
     529          && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
     530                distuninstallcheck \
     531          && chmod -R a-w "$$dc_install_base" \
     532          && ({ \
     533               (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
     534               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
     535               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
     536               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
     537                    distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
     538              } || { rm -rf "$$dc_destdir"; exit 1; }) \
     539          && rm -rf "$$dc_destdir" \
     540          && $(MAKE) $(AM_MAKEFLAGS) dist \
     541          && rm -rf $(DIST_ARCHIVES) \
     542          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
     543        $(am__remove_distdir)
     544        @(echo "$(distdir) archives ready for distribution: "; \
     545          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
     546          sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
     547distuninstallcheck:
     548        @cd $(distuninstallcheck_dir) \
     549        && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
     550           || { echo "ERROR: files left after uninstall:" ; \
     551                if test -n "$(DESTDIR)"; then \
     552                  echo "  (check DESTDIR support)"; \
     553                fi ; \
     554                $(distuninstallcheck_listfiles) ; \
     555                exit 1; } >&2
     556distcleancheck: distclean
     557        @if test '$(srcdir)' = . ; then \
     558          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
     559          exit 1 ; \
     560        fi
     561        @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
     562          || { echo "ERROR: files left in build directory after distclean:" ; \
     563               $(distcleancheck_listfiles) ; \
     564               exit 1; } >&2
     565check-am: all-am
     566check: check-recursive
     567all-am: Makefile config.h
     568installdirs: installdirs-recursive
     569installdirs-am:
     570install: install-recursive
     571install-exec: install-exec-recursive
     572install-data: install-data-recursive
     573uninstall: uninstall-recursive
     574
     575install-am: all-am
     576        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     577
     578installcheck: installcheck-recursive
     579install-strip:
     580        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     581          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     582          `test -z '$(STRIP)' || \
     583            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     584mostlyclean-generic:
     585
     586clean-generic:
     587
     588distclean-generic:
     589        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     590        -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
     591
     592maintainer-clean-generic:
     593        @echo "This command is intended for maintainers to use"
     594        @echo "it deletes files that may require special tools to rebuild."
     595clean: clean-recursive
     596
     597clean-am: clean-generic mostlyclean-am
     598
     599distclean: distclean-recursive
     600        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
     601        -rm -f Makefile
     602distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
     603
     604dvi: dvi-recursive
     605
     606dvi-am:
     607
     608html: html-recursive
     609
     610info: info-recursive
     611
     612info-am:
     613
     614install-data-am:
     615
     616install-exec-am:
     617
     618install-info: install-info-recursive
     619
     620install-man:
     621
     622installcheck-am:
     623
     624maintainer-clean: maintainer-clean-recursive
     625        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
     626        -rm -rf $(top_srcdir)/autom4te.cache
     627        -rm -f Makefile
     628maintainer-clean-am: distclean-am maintainer-clean-generic
     629
     630mostlyclean: mostlyclean-recursive
     631
     632mostlyclean-am: mostlyclean-generic
     633
     634pdf: pdf-recursive
     635
     636pdf-am:
     637
     638ps: ps-recursive
     639
     640ps-am:
     641
     642uninstall-am: uninstall-info-am
     643
     644uninstall-info: uninstall-info-recursive
     645
     646.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
     647        check-am clean clean-generic clean-recursive ctags \
     648        ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
     649        dist-tarZ dist-zip distcheck distclean distclean-generic \
     650        distclean-hdr distclean-recursive distclean-tags \
     651        distcleancheck distdir distuninstallcheck dvi dvi-am html \
     652        html-am info info-am install install-am install-data \
     653        install-data-am install-exec install-exec-am install-info \
     654        install-info-am install-man install-strip installcheck \
     655        installcheck-am installdirs installdirs-am maintainer-clean \
     656        maintainer-clean-generic maintainer-clean-recursive \
     657        mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
     658        pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
     659        uninstall-info-am
     660
     661# Tell versions [3.59,3.63) of GNU make to not export all variables.
     662# Otherwise a system limit (for SysV at least) may be exceeded.
     663.NOEXPORT:
  • trunk/beos/TRInfoWindow.h

    r2076 r2400  
    88#include <StringView.h>
    99
    10 #include "transmission.h"
     10#include <libtransmission/transmission.h>
    1111
    1212class TRInfoWindow : public BWindow {
  • trunk/beos/TRTransfer.h

    r1505 r2400  
    1010#include <View.h>
    1111
    12 #include "transmission.h"
     12#include <libtransmission/transmission.h>
    1313
    1414class TRTransfer : public BListItem {
  • trunk/beos/TRWindow.h

    r1505 r2400  
    1010#include <Window.h>
    1111
    12 #include "transmission.h"
     12#include <libtransmission/transmission.h>
    1313
    1414#include "TRPrefsWindow.h"
  • trunk/cli/transmissioncli.c

    r2394 r2400  
    2929#include <getopt.h>
    3030#include <signal.h>
    31 #include <transmission.h>
    32 #include <makemeta.h>
     31
     32#include <libtransmission/transmission.h>
     33#include <libtransmission/makemeta.h>
     34
    3335#ifdef SYS_BEOS
    3436#include <kernel/OS.h>
  • trunk/daemon/client.c

    r2325 r2400  
    3636#include <unistd.h>
    3737
    38 #include "bsdqueue.h"
    39 #include "bsdtree.h"
     38#include <libtransmission/bsdqueue.h>
     39#include <libtransmission/bsdtree.h>
     40#include <libtransmission/bencode.h>
     41#include <libtransmission/ipcparse.h>
     42#include <libtransmission/trcompat.h>
     43
    4044#include "client.h"
    41 #include "bencode.h"
    4245#include "errors.h"
    43 #include "ipcparse.h"
    4446#include "misc.h"
    45 #include "trcompat.h"
    4647
    4748/* time out server after this many seconds */
  • trunk/daemon/daemon.c

    r2325 r2400  
    4242#include <unistd.h>
    4343
     44#include <libtransmission/trcompat.h>
     45#include <libtransmission/version.h>
     46
    4447#include "errors.h"
    4548#include "misc.h"
    4649#include "server.h"
    4750#include "torrents.h"
    48 #include "trcompat.h"
    49 #include "version.h"
    5051
    5152static void usage       ( const char *, ... );
  • trunk/daemon/misc.c

    r1965 r2400  
    3232#include <unistd.h>
    3333
     34#include <libtransmission/transmission.h>
     35#include <libtransmission/trcompat.h>
     36
    3437#include "errors.h"
    3538#include "misc.h"
    36 #include "transmission.h"
    37 #include "trcompat.h"
    3839
    3940static void pushdir ( char *, const char *, size_t );
  • trunk/daemon/misc.h

    r1965 r2400  
    3030#include <limits.h>
    3131
    32 #include "bsdqueue.h"
     32#include <libtransmission/bsdqueue.h>
    3333
    3434#define CONF_FILE_LOCK          "lock"
  • trunk/daemon/proxy.c

    r2325 r2400  
    3636#include <unistd.h>
    3737
     38#include <libtransmission/transmission.h>
     39#include <libtransmission/trcompat.h>
     40
    3841#include "errors.h"
    3942#include "misc.h"
    40 #include "transmission.h"
    41 #include "trcompat.h"
    4243
    4344static void              usage    ( const char *, ... );
  • trunk/daemon/remote.c

    r2382 r2400  
    3737#include <unistd.h>
    3838
    39 #include "bsdqueue.h"
    40 #include "bsdtree.h"
     39#include <libtransmission/bsdqueue.h>
     40#include <libtransmission/bsdtree.h>
     41#include <libtransmission/ipcparse.h>
     42#include <libtransmission/transmission.h>
     43#include <libtransmission/trcompat.h>
     44
    4145#include "client.h"
    4246#include "errors.h"
    43 #include "ipcparse.h"
    4447#include "misc.h"
    45 #include "transmission.h"
    46 #include "trcompat.h"
    4748
    4849#define BESTDECIMAL(d)          (10.0 > (d) ? 2 : (100.0 > (d) ? 1 : 0))
  • trunk/daemon/server.c

    r2375 r2400  
    3737#include <unistd.h>
    3838
    39 #include "bsdtree.h"
    40 #include "bencode.h"
     39#include <libtransmission/bsdtree.h>
     40#include <libtransmission/bencode.h>
     41#include <libtransmission/ipcparse.h>
     42
    4143#include "errors.h"
    42 #include "ipcparse.h"
    4344#include "misc.h"
    4445#include "server.h"
  • trunk/daemon/torrents.c

    r2360 r2400  
    4040#include <unistd.h>
    4141
    42 #include "bsdtree.h"
    43 #include "bencode.h"
     42#include <libtransmission/bsdtree.h>
     43#include <libtransmission/bencode.h>
     44#include <libtransmission/transmission.h>
     45#include <libtransmission/trcompat.h>
     46
    4447#include "errors.h"
    4548#include "misc.h"
    4649#include "torrents.h"
    47 #include "transmission.h"
    48 #include "trcompat.h"
    4950
    5051#define EXIT_TIMEOUT 10         /* how many seconds to wait on exit */
  • trunk/daemon/torrents.h

    r2245 r2400  
    2828#include <limits.h>
    2929
    30 /* typedefs suck */
    31 #include "transmission.h"
     30#include <libtransmission/transmission.h>
    3231
    3332struct event_base;
  • trunk/gtk/actions.c

    r2316 r2400  
    1212#include <glib/gi18n.h>
    1313#include <gtk/gtk.h>
    14 #include "transmission.h"
     14#include <libtransmission/transmission.h>
    1515#include "torrent-inspector.h"
    1616#include "img_icon_full.h"
  • trunk/gtk/conf.h

    r1504 r2400  
    2626#define TG_CONF_H
    2727
    28 #include "transmission.h"
    29 #include "bencode.h"
     28#include <libtransmission/transmission.h>
     29#include <libtransmission/bencode.h>
    3030
    3131gboolean
  • trunk/gtk/dialogs.c

    r2376 r2400  
    3030#include <glib/gi18n.h>
    3131
     32#include <libtransmission/transmission.h>
     33
    3234#include "conf.h"
    3335#include "dialogs.h"
     
    3840#include "tr_prefs.h"
    3941#include "util.h"
    40 
    41 #include "transmission.h"
    4242
    4343#define UPDATE_INTERVAL         1000
  • trunk/gtk/ipc.c

    r2395 r2400  
    3535#include <glib/gi18n.h>
    3636
    37 #include "transmission.h"
    38 #include "bencode.h"
    39 #include "ipcparse.h"
     37#include <libtransmission/transmission.h>
     38#include <libtransmission/bencode.h>
     39#include <libtransmission/ipcparse.h>
    4040
    4141#include "conf.h"
  • trunk/gtk/main.c

    r2392 r2400  
    2323 *****************************************************************************/
    2424
     25#include <config.h>
     26
    2527#include <sys/param.h>
    2628#include <errno.h>
     
    5355#include "ui.h"
    5456
    55 #include "transmission.h"
    56 #include "version.h"
     57#include <libtransmission/transmission.h>
     58#include <libtransmission/version.h>
    5759
    5860/* time in seconds to wait for torrents to stop when exiting */
  • trunk/gtk/makemeta-ui.c

    r2301 r2400  
    1414#include <gtk/gtk.h>
    1515
    16 #include "transmission.h"
    17 #include "makemeta.h"
     16#include <libtransmission/transmission.h>
     17#include <libtransmission/makemeta.h>
    1818
    1919#include "hig.h"
  • trunk/gtk/makemeta-ui.h

    r2149 r2400  
    1313
    1414#include <gtk/gtk.h>
    15 #include "transmission.h"
     15#include <libtransmission/transmission.h>
    1616
    1717GtkWidget* make_meta_ui( GtkWindow * parent, tr_handle_t * handle );
  • trunk/gtk/msgwin.c

    r2298 r2400  
    2929#include <glib/gi18n.h>
    3030
     31#include <libtransmission/transmission.h>
     32
    3133#include "conf.h"
    3234#include "msgwin.h"
    3335#include "tr_prefs.h"
    34 #include "transmission.h"
    3536#include "util.h"
    3637
  • trunk/gtk/torrent-inspector.c

    r2392 r2400  
    2828#include <gtk/gtk.h>
    2929
    30 #include "transmission.h"
    31 #include "platform.h" /* for tr_getTorrentsDirectory */
     30#include <libtransmission/transmission.h>
     31#include <libtransmission/platform.h> /* for tr_getTorrentsDirectory */
    3232
    3333#include "actions.h"
  • trunk/gtk/tr_cell_renderer_progress.c

    r1475 r2400  
    2626#include <glib/gi18n.h>
    2727
     28#include <libtransmission/transmission.h>
     29
    2830#include "tr_cell_renderer_progress.h"
    29 #include "transmission.h"
    3031#include "util.h"
    3132
  • trunk/gtk/tr_core.c

    r2369 r2400  
    2929#include <glib/gi18n.h>
    3030
    31 #include "bencode.h"
    32 #include "transmission.h"
     31#include <libtransmission/bencode.h>
     32#include <libtransmission/transmission.h>
    3333
    3434#include "conf.h"
  • trunk/gtk/tr_core.h

    r2208 r2400  
    3131#include <gtk/gtk.h>
    3232
    33 #include "bencode.h"
     33#include <libtransmission/bencode.h>
     34#include <libtransmission/transmission.h>
    3435
    3536#include "util.h"
  • trunk/gtk/tr_prefs.c

    r2260 r2400  
    3030#include <glib/gi18n.h>
    3131
     32#include <libtransmission/transmission.h>
     33
    3234#include "conf.h"
    3335#include "tr_icon.h"
     
    3638#include "tr_torrent.h"
    3739#include "util.h"
    38 
    39 #include "transmission.h"
    4040
    4141/* used for g_object_set/get_data */
  • trunk/gtk/tr_torrent.c

    r2389 r2400  
    2929#include <glib/gi18n.h>
    3030
    31 #include "transmission.h"
    32 #include "bencode.h"
     31#include <libtransmission/transmission.h>
     32#include <libtransmission/bencode.h>
    3333
    3434#include "tr_prefs.h"
  • trunk/gtk/tr_torrent.h

    r2245 r2400  
    2727
    2828#include <glib-object.h>
    29 
    30 #include "transmission.h"
    31 #include "bencode.h"
    32 
     29#include <libtransmission/transmission.h>
     30#include <libtransmission/bencode.h>
    3331#include "util.h"
    3432
  • trunk/gtk/tr_window.c

    r2392 r2400  
    2828#include <glib/gi18n.h>
    2929
    30 #include "transmission.h"
     30#include <libtransmission/transmission.h>
    3131
    3232#include "actions.h"
  • trunk/macosx/Info.plist.in

    r1081 r2400  
    3939        <string>APPL</string>
    4040        <key>CFBundleShortVersionString</key>
    41         <string>%%SHORT_VERSION_STRING%%</string>
     41        <string>@VERSION_STRING@</string>
    4242        <key>CFBundleSignature</key>
    4343        <string>TR##</string>
    4444        <key>CFBundleVersion</key>
    45         <string>%%BUNDLE_VERSION%%</string>
     45        <string>@BUNDLE_VERSION@</string>
    4646        <key>NSAppleScriptEnabled</key>
    4747        <string>YES</string>
Note: See TracChangeset for help on using the changeset viewer.