Annotation of embedaddon/quagga/solaris/Makefile.in, revision 1.1.1.1

1.1       misho       1: # Makefile.in generated by automake 1.11.1 from Makefile.am.
                      2: # @configure_input@
                      3: 
                      4: # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
                      5: # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
                      6: # Inc.
                      7: # This Makefile.in is free software; the Free Software Foundation
                      8: # gives unlimited permission to copy and/or distribute it,
                      9: # with or without modifications, as long as this notice is preserved.
                     10: 
                     11: # This program is distributed in the hope that it will be useful,
                     12: # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
                     13: # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
                     14: # PARTICULAR PURPOSE.
                     15: 
                     16: @SET_MAKE@
                     17: 
                     18: # Solaris packages automake file
                     19: 
                     20: # XXX This file uses GNU make extensions.
                     21: VPATH = @srcdir@
                     22: pkgdatadir = $(datadir)/@PACKAGE@
                     23: pkgincludedir = $(includedir)/@PACKAGE@
                     24: pkglibdir = $(libdir)/@PACKAGE@
                     25: pkglibexecdir = $(libexecdir)/@PACKAGE@
                     26: am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
                     27: install_sh_DATA = $(install_sh) -c -m 644
                     28: install_sh_PROGRAM = $(install_sh) -c
                     29: install_sh_SCRIPT = $(install_sh) -c
                     30: INSTALL_HEADER = $(INSTALL_DATA)
                     31: transform = $(program_transform_name)
                     32: NORMAL_INSTALL = :
                     33: PRE_INSTALL = :
                     34: POST_INSTALL = :
                     35: NORMAL_UNINSTALL = :
                     36: PRE_UNINSTALL = :
                     37: POST_UNINSTALL = :
                     38: build_triplet = @build@
                     39: host_triplet = @host@
                     40: target_triplet = @target@
                     41: subdir = solaris
                     42: DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
                     43: ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
                     44: am__aclocal_m4_deps = $(top_srcdir)/configure.ac
                     45: am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
                     46:        $(ACLOCAL_M4)
                     47: mkinstalldirs = $(install_sh) -d
                     48: CONFIG_HEADER = $(top_builddir)/config.h
                     49: CONFIG_CLEAN_FILES =
                     50: CONFIG_CLEAN_VPATH_FILES =
                     51: SOURCES =
                     52: DIST_SOURCES =
                     53: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
                     54: ACLOCAL = @ACLOCAL@
                     55: AMTAR = @AMTAR@
                     56: AR = @AR@
                     57: AUTOCONF = @AUTOCONF@
                     58: AUTOHEADER = @AUTOHEADER@
                     59: AUTOMAKE = @AUTOMAKE@
                     60: AWK = @AWK@
                     61: BGPD = @BGPD@
                     62: CC = @CC@
                     63: CCDEPMODE = @CCDEPMODE@
                     64: CFLAGS = @CFLAGS@
                     65: CONFDATE = @CONFDATE@
                     66: CPP = @CPP@
                     67: CPPFLAGS = @CPPFLAGS@
                     68: CURSES = @CURSES@
                     69: CYGPATH_W = @CYGPATH_W@
                     70: DEFS = @DEFS@
                     71: DEPDIR = @DEPDIR@
                     72: DLLTOOL = @DLLTOOL@
                     73: DOC = @DOC@
                     74: DSYMUTIL = @DSYMUTIL@
                     75: DUMPBIN = @DUMPBIN@
                     76: ECHO_C = @ECHO_C@
                     77: ECHO_N = @ECHO_N@
                     78: ECHO_T = @ECHO_T@
                     79: EGREP = @EGREP@
                     80: EXEEXT = @EXEEXT@
                     81: FGREP = @FGREP@
                     82: GAWK = @GAWK@
                     83: GREP = @GREP@
                     84: HAVE_LIBPCREPOSIX = @HAVE_LIBPCREPOSIX@
                     85: IF_METHOD = @IF_METHOD@
                     86: IF_PROC = @IF_PROC@
                     87: INCLUDES = @INCLUDES@
                     88: INSTALL = @INSTALL@
                     89: INSTALL_DATA = @INSTALL_DATA@
                     90: INSTALL_PROGRAM = @INSTALL_PROGRAM@
                     91: INSTALL_SCRIPT = @INSTALL_SCRIPT@
                     92: INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
                     93: IOCTL_METHOD = @IOCTL_METHOD@
                     94: IPFORWARD = @IPFORWARD@
                     95: ISISD = @ISISD@
                     96: ISIS_TOPOLOGY_DIR = @ISIS_TOPOLOGY_DIR@
                     97: ISIS_TOPOLOGY_INCLUDES = @ISIS_TOPOLOGY_INCLUDES@
                     98: ISIS_TOPOLOGY_LIB = @ISIS_TOPOLOGY_LIB@
                     99: KERNEL_METHOD = @KERNEL_METHOD@
                    100: LD = @LD@
                    101: LDFLAGS = @LDFLAGS@
                    102: LIBCAP = @LIBCAP@
                    103: LIBM = @LIBM@
                    104: LIBOBJS = @LIBOBJS@
                    105: LIBPAM = @LIBPAM@
                    106: LIBREADLINE = @LIBREADLINE@
                    107: LIBS = @LIBS@
                    108: LIBTOOL = @LIBTOOL@
                    109: LIB_IPV6 = @LIB_IPV6@
                    110: LIB_REGEX = @LIB_REGEX@
                    111: LIPO = @LIPO@
                    112: LN_S = @LN_S@
                    113: LTLIBOBJS = @LTLIBOBJS@
                    114: MAKEINFO = @MAKEINFO@
                    115: MANIFEST_TOOL = @MANIFEST_TOOL@
                    116: MKDIR_P = @MKDIR_P@
                    117: MULTIPATH_NUM = @MULTIPATH_NUM@
                    118: NM = @NM@
                    119: NMEDIT = @NMEDIT@
                    120: OBJDUMP = @OBJDUMP@
                    121: OBJEXT = @OBJEXT@
                    122: OSPF6D = @OSPF6D@
                    123: OSPFAPI = @OSPFAPI@
                    124: OSPFCLIENT = @OSPFCLIENT@
                    125: OSPFD = @OSPFD@
                    126: OTHER_METHOD = @OTHER_METHOD@
                    127: OTOOL = @OTOOL@
                    128: OTOOL64 = @OTOOL64@
                    129: PACKAGE = @PACKAGE@
                    130: PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
                    131: PACKAGE_NAME = @PACKAGE_NAME@
                    132: PACKAGE_STRING = @PACKAGE_STRING@
                    133: PACKAGE_TARNAME = @PACKAGE_TARNAME@
                    134: PACKAGE_URL = @PACKAGE_URL@
                    135: PACKAGE_VERSION = @PACKAGE_VERSION@
                    136: PATH_SEPARATOR = @PATH_SEPARATOR@
                    137: PERL = @PERL@
                    138: PICFLAGS = @PICFLAGS@
                    139: PILDFLAGS = @PILDFLAGS@
                    140: RANLIB = @RANLIB@
                    141: RIPD = @RIPD@
                    142: RIPNGD = @RIPNGD@
                    143: RTREAD_METHOD = @RTREAD_METHOD@
                    144: RT_METHOD = @RT_METHOD@
                    145: SED = @SED@
                    146: SET_MAKE = @SET_MAKE@
                    147: SHELL = @SHELL@
                    148: SNMP_INCLUDES = @SNMP_INCLUDES@
                    149: SOLARIS = @SOLARIS@
                    150: STRIP = @STRIP@
                    151: VERSION = @VERSION@
                    152: VTYSH = @VTYSH@
                    153: WATCHQUAGGA = @WATCHQUAGGA@
                    154: ZEBRA = @ZEBRA@
                    155: abs_builddir = @abs_builddir@
                    156: abs_srcdir = @abs_srcdir@
                    157: abs_top_builddir = @abs_top_builddir@
                    158: abs_top_srcdir = @abs_top_srcdir@
                    159: ac_ct_AR = @ac_ct_AR@
                    160: ac_ct_CC = @ac_ct_CC@
                    161: ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
                    162: am__include = @am__include@
                    163: am__leading_dot = @am__leading_dot@
                    164: am__quote = @am__quote@
                    165: am__tar = @am__tar@
                    166: am__untar = @am__untar@
                    167: bindir = @bindir@
                    168: build = @build@
                    169: build_alias = @build_alias@
                    170: build_cpu = @build_cpu@
                    171: build_os = @build_os@
                    172: build_vendor = @build_vendor@
                    173: builddir = @builddir@
                    174: datadir = @datadir@
                    175: datarootdir = @datarootdir@
                    176: docdir = @docdir@
                    177: dvidir = @dvidir@
                    178: enable_group = @enable_group@
                    179: enable_user = @enable_user@
                    180: enable_vty_group = @enable_vty_group@
                    181: exampledir = @exampledir@
                    182: exec_prefix = @exec_prefix@
                    183: host = @host@
                    184: host_alias = @host_alias@
                    185: host_cpu = @host_cpu@
                    186: host_os = @host_os@
                    187: host_vendor = @host_vendor@
                    188: htmldir = @htmldir@
                    189: includedir = @includedir@
                    190: infodir = @infodir@
                    191: install_sh = @install_sh@
                    192: libdir = @libdir@
                    193: libexecdir = @libexecdir@
                    194: localedir = @localedir@
                    195: localstatedir = @localstatedir@
                    196: mandir = @mandir@
                    197: mkdir_p = @mkdir_p@
                    198: oldincludedir = @oldincludedir@
                    199: pdfdir = @pdfdir@
                    200: pkgsrcdir = @pkgsrcdir@
                    201: pkgsrcrcdir = @pkgsrcrcdir@
                    202: prefix = @prefix@
                    203: program_transform_name = @program_transform_name@
                    204: psdir = @psdir@
                    205: quagga_statedir = @quagga_statedir@
                    206: sbindir = @sbindir@
                    207: sharedstatedir = @sharedstatedir@
                    208: srcdir = @srcdir@
                    209: sysconfdir = @sysconfdir@
                    210: target = @target@
                    211: target_alias = @target_alias@
                    212: target_cpu = @target_cpu@
                    213: target_os = @target_os@
                    214: target_vendor = @target_vendor@
                    215: top_build_prefix = @top_build_prefix@
                    216: top_builddir = @top_builddir@
                    217: top_srcdir = @top_srcdir@
                    218: 
                    219: # the names of the various subpackages, and some convenient 
                    220: # derived variables.
                    221: pkg_names = daemons dev doc libs smf
                    222: pkg_quagga_daemons = zebra bgpd ospfd ospf6d ripd ripngd
                    223: pkg_name_rev = @PACKAGE_VERSION@-@CONFDATE@-@target_os@-@target_cpu@
                    224: pkg_depends = $(pkg_names:%=depend.%)
                    225: pkg_packages = $(pkg_names:%=@PACKAGE_TARNAME@-%-$(pkg_name_rev).pkg)
                    226: pkg_pkginfos = $(pkg_names:%=pkginfo.%.full)
                    227: pkg_prototypes = $(pkg_names:%=prototype.%)
                    228: pkg_manifests = quagga.xml
                    229: 
                    230: # pkgmk variable substitutions wont grok ${variable} in prototype
                    231: # file, so we cant let autoconf generate the file sadly
                    232: # wish automake would just provide a template for this
                    233: edit = $(SED) \
                    234:        -e 's,@prefix\@,$(prefix),g' \
                    235:        -e 's,@exec_prefix,$(exec_prefix),g' \
                    236:        -e 's,@bindir\@,$(bindir),g' \
                    237:        -e 's,@sbindir\@,$(sbindir),g' \
                    238:        -e 's,@libexecdir\@,$(libexecdir),g' \
                    239:        -e 's,@datadir\@,$(datadir),g' \
                    240:        -e 's,@sysconfdir\@,$(sysconfdir),g' \
                    241:        -e 's,@sharedstatedir\@,$(sharedstatedir),g' \
                    242:        -e 's,@localstatedir\@,$(localstatedir),g' \
                    243:        -e 's,@libdir\@,$(libdir),g' \
                    244:        -e 's,@includedir\@,$(includedir),g' \
                    245:        -e 's,@infodir\@,$(infodir),g' \
                    246:        -e 's,@mandir\@,$(mandir),g' \
                    247:        -e 's,@enable_user\@,$(enable_user),g' \
                    248:        -e 's,@enable_group\@,$(enable_group),g' \
                    249:        -e 's,@enable_vty_group\@,$(enable_vty_group),g' \
                    250:        -e 's,@quagga_statedir\@,$(quagga_statedir),g' \
                    251:        -e 's,[@]PACKAGE_NAME[@],@PACKAGE_NAME@,g' \
                    252:        -e 's,[@]PACKAGE_TARNAME[@],@PACKAGE_TARNAME@,g' \
                    253:        -e 's,[@]PACKAGE_VERSION[@],@PACKAGE_VERSION@,g' \
                    254:        -e 's,[@]PACKAGE_BUGREPORT[@],@PACKAGE_BUGREPORT@,g' \
                    255:        -e 's,[@]CONFDATE[@],@CONFDATE@,g' \
                    256:        -e 's,[@]target_cpu[@],$(target_cpu),g' \
                    257:        -e 's,[@]target_host[@],$(target_host),g' \
                    258:        -e 's,[@]target_os[@],$(target_os),g'
                    259: 
                    260: 
                    261: # common options for pkgmk
                    262: pkg_make_vars = exec_prefix=@exec_prefix@ prefix=@prefix@ \
                    263:        builddir=@builddir@ srcdir=@srcdir@ \
                    264:        top_builddir=@top_builddir@ top_srcdir=@top_srcdir@ \
                    265:        abs_builddir=@abs_builddir@ abs_srcdir=@abs_srcdir@ \
                    266:        abs_top_builddir=@abs_top_builddir@ abs_top_srcdir=@abs_top_srcdir@
                    267: 
                    268: 
                    269: # pkgmk: write the package to spool in build dir, to avoid root dependencies
                    270: pkg_make = pkgmk -o -d @abs_builddir@ \
                    271:        -f $< DESTDIR="$(DESTDIR)/" $(pkg_make_vars)
                    272: 
                    273: 
                    274: # pkgtrans: write a pkg file stream, shame we cant pipe directly to it from
                    275: # pkgmk..
                    276: pkg_trans = pkgtrans -s @abs_builddir@ "@abs_builddir@/$@"
                    277: 
                    278: # pkginfo.package and prototype.package are all built sources
                    279: #BUILT_SOURCES = pkginfo.daemons pkginfo.dev pkginfo.doc pkginfo.libs \
                    280: #      prototype.daemons prototype.dev prototype.doc prototype.libs
                    281: BUILT_SOURCES = $(pkg_pkginfos) pkginfo.tmpl $(pkg_prototypes) \
                    282:        $(pkg_manifests) $(pkg_depends) quagga.init
                    283: 
                    284: CLEANFILES = $(BUILT_SOURCES) $(pkg_packages)
                    285: EXTRA_DIST = $(pkg_manifests:%=%.in) $(pkg_prototypes:%=%.in) \
                    286:        $(pkg_names:%=pkginfo.%.tmpl.in) $(srcdir)/pkginfo.tmpl.in \
                    287:        $(pkg_depends:%=%.in) quagga.init.in README.txt
                    288: 
                    289: all: $(BUILT_SOURCES)
                    290:        $(MAKE) $(AM_MAKEFLAGS) all-am
                    291: 
                    292: .SUFFIXES:
                    293: $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
                    294:        @for dep in $?; do \
                    295:          case '$(am__configure_deps)' in \
                    296:            *$$dep*) \
                    297:              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
                    298:                && { if test -f $@; then exit 0; else break; fi; }; \
                    299:              exit 1;; \
                    300:          esac; \
                    301:        done; \
                    302:        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu solaris/Makefile'; \
                    303:        $(am__cd) $(top_srcdir) && \
                    304:          $(AUTOMAKE) --gnu solaris/Makefile
                    305: .PRECIOUS: Makefile
                    306: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
                    307:        @case '$?' in \
                    308:          *config.status*) \
                    309:            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
                    310:          *) \
                    311:            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
                    312:            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
                    313:        esac;
                    314: 
                    315: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
                    316:        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
                    317: 
                    318: $(top_srcdir)/configure:  $(am__configure_deps)
                    319:        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
                    320: $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
                    321:        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
                    322: $(am__aclocal_m4_deps):
                    323: 
                    324: mostlyclean-libtool:
                    325:        -rm -f *.lo
                    326: 
                    327: clean-libtool:
                    328:        -rm -rf .libs _libs
                    329: tags: TAGS
                    330: TAGS:
                    331: 
                    332: ctags: CTAGS
                    333: CTAGS:
                    334: 
                    335: 
                    336: distdir: $(DISTFILES)
                    337:        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
                    338:        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
                    339:        list='$(DISTFILES)'; \
                    340:          dist_files=`for file in $$list; do echo $$file; done | \
                    341:          sed -e "s|^$$srcdirstrip/||;t" \
                    342:              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
                    343:        case $$dist_files in \
                    344:          */*) $(MKDIR_P) `echo "$$dist_files" | \
                    345:                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
                    346:                           sort -u` ;; \
                    347:        esac; \
                    348:        for file in $$dist_files; do \
                    349:          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
                    350:          if test -d $$d/$$file; then \
                    351:            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
                    352:            if test -d "$(distdir)/$$file"; then \
                    353:              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
                    354:            fi; \
                    355:            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
                    356:              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
                    357:              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
                    358:            fi; \
                    359:            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
                    360:          else \
                    361:            test -f "$(distdir)/$$file" \
                    362:            || cp -p $$d/$$file "$(distdir)/$$file" \
                    363:            || exit 1; \
                    364:          fi; \
                    365:        done
                    366: check-am: all-am
                    367: check: $(BUILT_SOURCES)
                    368:        $(MAKE) $(AM_MAKEFLAGS) check-am
                    369: all-am: Makefile
                    370: installdirs:
                    371: install: $(BUILT_SOURCES)
                    372:        $(MAKE) $(AM_MAKEFLAGS) install-am
                    373: install-exec: install-exec-am
                    374: install-data: install-data-am
                    375: uninstall: uninstall-am
                    376: 
                    377: install-am: all-am
                    378:        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
                    379: 
                    380: installcheck: installcheck-am
                    381: install-strip:
                    382:        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
                    383:          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
                    384:          `test -z '$(STRIP)' || \
                    385:            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
                    386: mostlyclean-generic:
                    387: 
                    388: clean-generic:
                    389:        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
                    390: 
                    391: distclean-generic:
                    392:        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
                    393:        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
                    394: 
                    395: maintainer-clean-generic:
                    396:        @echo "This command is intended for maintainers to use"
                    397:        @echo "it deletes files that may require special tools to rebuild."
                    398:        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
                    399: clean: clean-am
                    400: 
                    401: clean-am: clean-generic clean-libtool mostlyclean-am
                    402: 
                    403: distclean: distclean-am
                    404:        -rm -f Makefile
                    405: distclean-am: clean-am distclean-generic
                    406: 
                    407: dvi: dvi-am
                    408: 
                    409: dvi-am:
                    410: 
                    411: html: html-am
                    412: 
                    413: html-am:
                    414: 
                    415: info: info-am
                    416: 
                    417: info-am:
                    418: 
                    419: install-data-am:
                    420: 
                    421: install-dvi: install-dvi-am
                    422: 
                    423: install-dvi-am:
                    424: 
                    425: install-exec-am:
                    426: 
                    427: install-html: install-html-am
                    428: 
                    429: install-html-am:
                    430: 
                    431: install-info: install-info-am
                    432: 
                    433: install-info-am:
                    434: 
                    435: install-man:
                    436: 
                    437: install-pdf: install-pdf-am
                    438: 
                    439: install-pdf-am:
                    440: 
                    441: install-ps: install-ps-am
                    442: 
                    443: install-ps-am:
                    444: 
                    445: installcheck-am:
                    446: 
                    447: maintainer-clean: maintainer-clean-am
                    448:        -rm -f Makefile
                    449: maintainer-clean-am: distclean-am maintainer-clean-generic
                    450: 
                    451: mostlyclean: mostlyclean-am
                    452: 
                    453: mostlyclean-am: mostlyclean-generic mostlyclean-libtool
                    454: 
                    455: pdf: pdf-am
                    456: 
                    457: pdf-am:
                    458: 
                    459: ps: ps-am
                    460: 
                    461: ps-am:
                    462: 
                    463: uninstall-am:
                    464: 
                    465: .MAKE: all check install install-am install-strip
                    466: 
                    467: .PHONY: all all-am check check-am clean clean-generic clean-libtool \
                    468:        distclean distclean-generic distclean-libtool distdir dvi \
                    469:        dvi-am html html-am info info-am install install-am \
                    470:        install-data install-data-am install-dvi install-dvi-am \
                    471:        install-exec install-exec-am install-html install-html-am \
                    472:        install-info install-info-am install-man install-pdf \
                    473:        install-pdf-am install-ps install-ps-am install-strip \
                    474:        installcheck installcheck-am installdirs maintainer-clean \
                    475:        maintainer-clean-generic mostlyclean mostlyclean-generic \
                    476:        mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
                    477: 
                    478: 
                    479: .PHONY: packages
                    480: 
                    481: # pkgmk can only cope with a single pkginfo, cant 'stack' various 
                    482: # pkginfo template files and a package specific pkginfo file in the prototype
                    483: # Create the package specific template here, and create the full pkginfo
                    484: # by cating this and the common pkginfo.tmpl together.
                    485: pkginfo.tmpl: $(srcdir)/pkginfo.tmpl.in Makefile
                    486:        rm -f $@
                    487:        $(edit) $< > $@
                    488: 
                    489: pkginfo.%.tmpl: $(srcdir)/pkginfo.%.tmpl.in Makefile
                    490:        rm -f $@
                    491:        $(edit) $< > $@
                    492: 
                    493: pkginfo.%.full: pkginfo.%.tmpl pkginfo.tmpl Makefile
                    494:        cat pkginfo.tmpl pkginfo.$*.tmpl > $@
                    495: 
                    496: # use 'edit' above to transform prototype.in to pkgmk acceptable prototype
                    497: prototype.%: $(srcdir)/prototype.%.in Makefile
                    498:        rm -f $@
                    499:        $(edit) $< > $@
                    500: 
                    501: # use edit to construct the SMF manifest files
                    502: %.xml: $(srcdir)/%.xml.in Makefile
                    503:        rm -f $@
                    504:        $(edit) $< > $@
                    505: # use edit to construct the depend files
                    506: depend.%: $(srcdir)/depend.%.in Makefile
                    507:        rm -f $@
                    508:        $(edit) $< > $@
                    509: 
                    510: # method file (bit like init script)
                    511: quagga.init: $(srcdir)/quagga.init.in Makefile
                    512:        rm -f $@
                    513:        $(edit) $< > $@
                    514: 
                    515: # construct the pkg
                    516: @PACKAGE_TARNAME@-%-$(pkg_name_rev).pkg: prototype.% \
                    517:                depend.% quagga.init pkginfo.%.full
                    518:        ($(pkg_make) && \
                    519:        $(pkg_trans) "QUAGGA$*")
                    520: 
                    521: %.pkg.gz : %.pkg
                    522:        (gzip -c $< > $@)
                    523: 
                    524: pkg-root-install:
                    525:        (cd $(top_builddir) && \
                    526:         $(MAKE) DESTDIR=$(abs_builddir)/quagga-root install)
                    527: 
                    528: packages: $(pkg_packages)
                    529: 
                    530: #nodist_pkgdata_DATA = $(pkg_packages)
                    531: 
                    532: # Tell versions [3.59,3.63) of GNU make to not export all variables.
                    533: # Otherwise a system limit (for SysV at least) may be exceeded.
                    534: .NOEXPORT:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>