New upstream version 1.2.3
[quagga-debian.git] / solaris / Makefile.in
1 # Makefile.in generated by automake 1.15 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
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 @SET_MAKE@
16
17 # Solaris packages automake file
18
19 # XXX This file uses GNU make extensions.
20 VPATH = @srcdir@
21 am__is_gnu_make = { \
22   if test -z '$(MAKELEVEL)'; then \
23     false; \
24   elif test -n '$(MAKE_HOST)'; then \
25     true; \
26   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
27     true; \
28   else \
29     false; \
30   fi; \
31 }
32 am__make_running_with_option = \
33   case $${target_option-} in \
34       ?) ;; \
35       *) echo "am__make_running_with_option: internal error: invalid" \
36               "target option '$${target_option-}' specified" >&2; \
37          exit 1;; \
38   esac; \
39   has_opt=no; \
40   sane_makeflags=$$MAKEFLAGS; \
41   if $(am__is_gnu_make); then \
42     sane_makeflags=$$MFLAGS; \
43   else \
44     case $$MAKEFLAGS in \
45       *\\[\ \   ]*) \
46         bs=\\; \
47         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
48           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
49     esac; \
50   fi; \
51   skip_next=no; \
52   strip_trailopt () \
53   { \
54     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
55   }; \
56   for flg in $$sane_makeflags; do \
57     test $$skip_next = yes && { skip_next=no; continue; }; \
58     case $$flg in \
59       *=*|--*) continue;; \
60         -*I) strip_trailopt 'I'; skip_next=yes;; \
61       -*I?*) strip_trailopt 'I';; \
62         -*O) strip_trailopt 'O'; skip_next=yes;; \
63       -*O?*) strip_trailopt 'O';; \
64         -*l) strip_trailopt 'l'; skip_next=yes;; \
65       -*l?*) strip_trailopt 'l';; \
66       -[dEDm]) skip_next=yes;; \
67       -[JT]) skip_next=yes;; \
68     esac; \
69     case $$flg in \
70       *$$target_option*) has_opt=yes; break;; \
71     esac; \
72   done; \
73   test $$has_opt = yes
74 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
75 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
76 pkgdatadir = $(datadir)/@PACKAGE@
77 pkgincludedir = $(includedir)/@PACKAGE@
78 pkglibdir = $(libdir)/@PACKAGE@
79 pkglibexecdir = $(libexecdir)/@PACKAGE@
80 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
81 install_sh_DATA = $(install_sh) -c -m 644
82 install_sh_PROGRAM = $(install_sh) -c
83 install_sh_SCRIPT = $(install_sh) -c
84 INSTALL_HEADER = $(INSTALL_DATA)
85 transform = $(program_transform_name)
86 NORMAL_INSTALL = :
87 PRE_INSTALL = :
88 POST_INSTALL = :
89 NORMAL_UNINSTALL = :
90 PRE_UNINSTALL = :
91 POST_UNINSTALL = :
92 build_triplet = @build@
93 host_triplet = @host@
94 target_triplet = @target@
95 subdir = solaris
96 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
97 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_sys_weak_alias.m4 \
98         $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
99         $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
100         $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
101 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
102         $(ACLOCAL_M4)
103 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
104 mkinstalldirs = $(install_sh) -d
105 CONFIG_HEADER = $(top_builddir)/config.h
106 CONFIG_CLEAN_FILES =
107 CONFIG_CLEAN_VPATH_FILES =
108 AM_V_P = $(am__v_P_@AM_V@)
109 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
110 am__v_P_0 = false
111 am__v_P_1 = :
112 AM_V_GEN = $(am__v_GEN_@AM_V@)
113 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
114 am__v_GEN_0 = @echo "  GEN     " $@;
115 am__v_GEN_1 = 
116 AM_V_at = $(am__v_at_@AM_V@)
117 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
118 am__v_at_0 = @
119 am__v_at_1 = 
120 SOURCES =
121 DIST_SOURCES =
122 am__can_run_installinfo = \
123   case $$AM_UPDATE_INFO_DIR in \
124     n|no|NO) false;; \
125     *) (install-info --version) >/dev/null 2>&1;; \
126   esac
127 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
128 am__DIST_COMMON = $(srcdir)/Makefile.in
129 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
130 ACLOCAL = @ACLOCAL@
131 AMTAR = @AMTAR@
132 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
133 AR = @AR@
134 AUTOCONF = @AUTOCONF@
135 AUTOHEADER = @AUTOHEADER@
136 AUTOMAKE = @AUTOMAKE@
137 AWK = @AWK@
138 BGPD = @BGPD@
139 CARES_CFLAGS = @CARES_CFLAGS@
140 CARES_LIBS = @CARES_LIBS@
141 CC = @CC@
142 CCDEPMODE = @CCDEPMODE@
143 CFLAGS = @CFLAGS@
144 CONFDATE = @CONFDATE@
145 CONFIG_ARGS = @CONFIG_ARGS@
146 CPP = @CPP@
147 CPPFLAGS = @CPPFLAGS@
148 CURSES = @CURSES@
149 CYGPATH_W = @CYGPATH_W@
150 DEFS = @DEFS@
151 DEPDIR = @DEPDIR@
152 DLLTOOL = @DLLTOOL@
153 DOC = @DOC@
154 DSYMUTIL = @DSYMUTIL@
155 DUMPBIN = @DUMPBIN@
156 ECHO_C = @ECHO_C@
157 ECHO_N = @ECHO_N@
158 ECHO_T = @ECHO_T@
159 EGREP = @EGREP@
160 EXEEXT = @EXEEXT@
161 FGREP = @FGREP@
162 GAWK = @GAWK@
163 GREP = @GREP@
164 HAVE_LIBPCREPOSIX = @HAVE_LIBPCREPOSIX@
165 IF_METHOD = @IF_METHOD@
166 INSTALL = @INSTALL@
167 INSTALL_DATA = @INSTALL_DATA@
168 INSTALL_PROGRAM = @INSTALL_PROGRAM@
169 INSTALL_SCRIPT = @INSTALL_SCRIPT@
170 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
171 IOCTL_METHOD = @IOCTL_METHOD@
172 IPFORWARD = @IPFORWARD@
173 ISISD = @ISISD@
174 ISIS_TOPOLOGY_DIR = @ISIS_TOPOLOGY_DIR@
175 ISIS_TOPOLOGY_INCLUDES = @ISIS_TOPOLOGY_INCLUDES@
176 ISIS_TOPOLOGY_LIB = @ISIS_TOPOLOGY_LIB@
177 KERNEL_METHOD = @KERNEL_METHOD@
178 LATEXMK = @LATEXMK@
179 LD = @LD@
180 LDFLAGS = @LDFLAGS@
181 LIBCAP = @LIBCAP@
182 LIBM = @LIBM@
183 LIBOBJS = @LIBOBJS@
184 LIBPAM = @LIBPAM@
185 LIBREADLINE = @LIBREADLINE@
186 LIBS = @LIBS@
187 LIBTOOL = @LIBTOOL@
188 LIB_REGEX = @LIB_REGEX@
189 LIPO = @LIPO@
190 LN_S = @LN_S@
191 LTLIBOBJS = @LTLIBOBJS@
192 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
193 MAKEINFO = @MAKEINFO@
194 MANIFEST_TOOL = @MANIFEST_TOOL@
195 MKDIR_P = @MKDIR_P@
196 NETSNMP_CONFIG = @NETSNMP_CONFIG@
197 NHRPD = @NHRPD@
198 NM = @NM@
199 NMEDIT = @NMEDIT@
200 OBJDUMP = @OBJDUMP@
201 OBJEXT = @OBJEXT@
202 OSPF6D = @OSPF6D@
203 OSPFAPI = @OSPFAPI@
204 OSPFCLIENT = @OSPFCLIENT@
205 OSPFD = @OSPFD@
206 OTOOL = @OTOOL@
207 OTOOL64 = @OTOOL64@
208 PACKAGE = @PACKAGE@
209 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
210 PACKAGE_NAME = @PACKAGE_NAME@
211 PACKAGE_STRING = @PACKAGE_STRING@
212 PACKAGE_TARNAME = @PACKAGE_TARNAME@
213 PACKAGE_URL = @PACKAGE_URL@
214 PACKAGE_VERSION = @PACKAGE_VERSION@
215 PANDOC = @PANDOC@
216 PATH_SEPARATOR = @PATH_SEPARATOR@
217 PDFLATEX = @PDFLATEX@
218 PERL = @PERL@
219 PIMD = @PIMD@
220 PKG_CONFIG = @PKG_CONFIG@
221 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
222 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
223 PROTOBUF_C_CFLAGS = @PROTOBUF_C_CFLAGS@
224 PROTOBUF_C_LIBS = @PROTOBUF_C_LIBS@
225 PROTOC_C = @PROTOC_C@
226 RANLIB = @RANLIB@
227 RIPD = @RIPD@
228 RIPNGD = @RIPNGD@
229 RTREAD_METHOD = @RTREAD_METHOD@
230 RT_METHOD = @RT_METHOD@
231 SED = @SED@
232 SET_MAKE = @SET_MAKE@
233 SHELL = @SHELL@
234 SOLARIS = @SOLARIS@
235 STRIP = @STRIP@
236 VERSION = @VERSION@
237 VTYSH = @VTYSH@
238 WATCHQUAGGA = @WATCHQUAGGA@
239 WEAK_ALIAS = @WEAK_ALIAS@
240 WEAK_ALIAS_CROSSFILE = @WEAK_ALIAS_CROSSFILE@
241 WERROR = @WERROR@
242 ZEBRA = @ZEBRA@
243 abs_builddir = @abs_builddir@
244 abs_srcdir = @abs_srcdir@
245 abs_top_builddir = @abs_top_builddir@
246 abs_top_srcdir = @abs_top_srcdir@
247 ac_ct_AR = @ac_ct_AR@
248 ac_ct_CC = @ac_ct_CC@
249 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
250 am__include = @am__include@
251 am__leading_dot = @am__leading_dot@
252 am__quote = @am__quote@
253 am__tar = @am__tar@
254 am__untar = @am__untar@
255 bindir = @bindir@
256 build = @build@
257 build_alias = @build_alias@
258 build_cpu = @build_cpu@
259 build_os = @build_os@
260 build_vendor = @build_vendor@
261 builddir = @builddir@
262 datadir = @datadir@
263 datarootdir = @datarootdir@
264 docdir = @docdir@
265 dvidir = @dvidir@
266 enable_group = @enable_group@
267 enable_user = @enable_user@
268 enable_vty_group = @enable_vty_group@
269 exampledir = @exampledir@
270 exec_prefix = @exec_prefix@
271 host = @host@
272 host_alias = @host_alias@
273 host_cpu = @host_cpu@
274 host_os = @host_os@
275 host_vendor = @host_vendor@
276 htmldir = @htmldir@
277 includedir = @includedir@
278 infodir = @infodir@
279 install_sh = @install_sh@
280 libdir = @libdir@
281 libexecdir = @libexecdir@
282 localedir = @localedir@
283 localstatedir = @localstatedir@
284 mandir = @mandir@
285 mkdir_p = @mkdir_p@
286 oldincludedir = @oldincludedir@
287 pdfdir = @pdfdir@
288 pkgsrcdir = @pkgsrcdir@
289 pkgsrcrcdir = @pkgsrcrcdir@
290 prefix = @prefix@
291 program_transform_name = @program_transform_name@
292 psdir = @psdir@
293 quagga_statedir = @quagga_statedir@
294 sbindir = @sbindir@
295 sharedstatedir = @sharedstatedir@
296 srcdir = @srcdir@
297 sysconfdir = @sysconfdir@
298 target = @target@
299 target_alias = @target_alias@
300 target_cpu = @target_cpu@
301 target_os = @target_os@
302 target_vendor = @target_vendor@
303 top_build_prefix = @top_build_prefix@
304 top_builddir = @top_builddir@
305 top_srcdir = @top_srcdir@
306
307 # the names of the various subpackages, and some convenient 
308 # derived variables.
309 pkg_names = daemons dev doc libs smf
310 pkg_quagga_daemons = zebra bgpd ospfd ospf6d ripd ripngd
311 pkg_name_rev = @PACKAGE_VERSION@-@CONFDATE@-@target_os@-@target_cpu@
312 pkg_depends = $(pkg_names:%=depend.%)
313 pkg_packages = $(pkg_names:%=@PACKAGE_TARNAME@-%-$(pkg_name_rev).pkg)
314 pkg_pkginfos = $(pkg_names:%=pkginfo.%.full)
315 pkg_prototypes = $(pkg_names:%=prototype.%)
316 pkg_manifests = quagga.xml
317
318 # pkgmk variable substitutions wont grok ${variable} in prototype
319 # file, so we cant let autoconf generate the file sadly
320 # wish automake would just provide a template for this
321 edit = $(SED) \
322         -e 's,@prefix\@,$(prefix),g' \
323         -e 's,@exec_prefix,$(exec_prefix),g' \
324         -e 's,@bindir\@,$(bindir),g' \
325         -e 's,@sbindir\@,$(sbindir),g' \
326         -e 's,@libexecdir\@,$(libexecdir),g' \
327         -e 's,@datadir\@,$(datadir),g' \
328         -e 's,@sysconfdir\@,$(sysconfdir),g' \
329         -e 's,@sharedstatedir\@,$(sharedstatedir),g' \
330         -e 's,@localstatedir\@,$(localstatedir),g' \
331         -e 's,@libdir\@,$(libdir),g' \
332         -e 's,@includedir\@,$(includedir),g' \
333         -e 's,@infodir\@,$(infodir),g' \
334         -e 's,@mandir\@,$(mandir),g' \
335         -e 's,@enable_user\@,$(enable_user),g' \
336         -e 's,@enable_group\@,$(enable_group),g' \
337         -e 's,@enable_vty_group\@,$(enable_vty_group),g' \
338         -e 's,@quagga_statedir\@,$(quagga_statedir),g' \
339         -e 's,[@]PACKAGE_NAME[@],@PACKAGE_NAME@,g' \
340         -e 's,[@]PACKAGE_TARNAME[@],@PACKAGE_TARNAME@,g' \
341         -e 's,[@]PACKAGE_VERSION[@],@PACKAGE_VERSION@,g' \
342         -e 's,[@]PACKAGE_BUGREPORT[@],@PACKAGE_BUGREPORT@,g' \
343         -e 's,[@]CONFDATE[@],@CONFDATE@,g' \
344         -e 's,[@]target_cpu[@],$(target_cpu),g' \
345         -e 's,[@]target_host[@],$(target_host),g' \
346         -e 's,[@]target_os[@],$(target_os),g'
347
348
349 # common options for pkgmk
350 pkg_make_vars = exec_prefix=@exec_prefix@ prefix=@prefix@ \
351         builddir=@builddir@ srcdir=@srcdir@ \
352         top_builddir=@top_builddir@ top_srcdir=@top_srcdir@ \
353         abs_builddir=@abs_builddir@ abs_srcdir=@abs_srcdir@ \
354         abs_top_builddir=@abs_top_builddir@ abs_top_srcdir=@abs_top_srcdir@
355
356
357 # pkgmk: write the package to spool in build dir, to avoid root dependencies
358 pkg_make = pkgmk -o -d @abs_builddir@ \
359         -f $< DESTDIR="$(DESTDIR)/" $(pkg_make_vars)
360
361
362 # pkgtrans: write a pkg file stream, shame we cant pipe directly to it from
363 # pkgmk..
364 pkg_trans = pkgtrans -s @abs_builddir@ "@abs_builddir@/$@"
365
366 # pkginfo.package and prototype.package are all built sources
367 #BUILT_SOURCES = pkginfo.daemons pkginfo.dev pkginfo.doc pkginfo.libs \
368 #       prototype.daemons prototype.dev prototype.doc prototype.libs
369 BUILT_SOURCES = $(pkg_pkginfos) pkginfo.tmpl $(pkg_prototypes) \
370         $(pkg_manifests) $(pkg_depends) quagga.init
371
372 CLEANFILES = $(BUILT_SOURCES) $(pkg_packages)
373 EXTRA_DIST = $(pkg_manifests:%=%.in) $(pkg_prototypes:%=%.in) \
374         $(pkg_names:%=pkginfo.%.tmpl.in) $(srcdir)/pkginfo.tmpl.in \
375         $(pkg_depends:%=%.in) quagga.init.in README.txt
376
377 all: $(BUILT_SOURCES)
378         $(MAKE) $(AM_MAKEFLAGS) all-am
379
380 .SUFFIXES:
381 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
382         @for dep in $?; do \
383           case '$(am__configure_deps)' in \
384             *$$dep*) \
385               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
386                 && { if test -f $@; then exit 0; else break; fi; }; \
387               exit 1;; \
388           esac; \
389         done; \
390         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu solaris/Makefile'; \
391         $(am__cd) $(top_srcdir) && \
392           $(AUTOMAKE) --gnu solaris/Makefile
393 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
394         @case '$?' in \
395           *config.status*) \
396             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
397           *) \
398             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
399             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
400         esac;
401
402 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
403         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
404
405 $(top_srcdir)/configure:  $(am__configure_deps)
406         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
407 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
408         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
409 $(am__aclocal_m4_deps):
410
411 mostlyclean-libtool:
412         -rm -f *.lo
413
414 clean-libtool:
415         -rm -rf .libs _libs
416 tags TAGS:
417
418 ctags CTAGS:
419
420 cscope cscopelist:
421
422
423 distdir: $(DISTFILES)
424         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
425         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
426         list='$(DISTFILES)'; \
427           dist_files=`for file in $$list; do echo $$file; done | \
428           sed -e "s|^$$srcdirstrip/||;t" \
429               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
430         case $$dist_files in \
431           */*) $(MKDIR_P) `echo "$$dist_files" | \
432                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
433                            sort -u` ;; \
434         esac; \
435         for file in $$dist_files; do \
436           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
437           if test -d $$d/$$file; then \
438             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
439             if test -d "$(distdir)/$$file"; then \
440               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
441             fi; \
442             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
443               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
444               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
445             fi; \
446             cp -fpR $$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 check-am: all-am
454 check: $(BUILT_SOURCES)
455         $(MAKE) $(AM_MAKEFLAGS) check-am
456 all-am: Makefile
457 installdirs:
458 install: $(BUILT_SOURCES)
459         $(MAKE) $(AM_MAKEFLAGS) install-am
460 install-exec: install-exec-am
461 install-data: install-data-am
462 uninstall: uninstall-am
463
464 install-am: all-am
465         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
466
467 installcheck: installcheck-am
468 install-strip:
469         if test -z '$(STRIP)'; then \
470           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
471             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
472               install; \
473         else \
474           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
475             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
476             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
477         fi
478 mostlyclean-generic:
479
480 clean-generic:
481         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
482
483 distclean-generic:
484         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
485         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
486
487 maintainer-clean-generic:
488         @echo "This command is intended for maintainers to use"
489         @echo "it deletes files that may require special tools to rebuild."
490         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
491 clean: clean-am
492
493 clean-am: clean-generic clean-libtool mostlyclean-am
494
495 distclean: distclean-am
496         -rm -f Makefile
497 distclean-am: clean-am distclean-generic
498
499 dvi: dvi-am
500
501 dvi-am:
502
503 html: html-am
504
505 html-am:
506
507 info: info-am
508
509 info-am:
510
511 install-data-am:
512
513 install-dvi: install-dvi-am
514
515 install-dvi-am:
516
517 install-exec-am:
518
519 install-html: install-html-am
520
521 install-html-am:
522
523 install-info: install-info-am
524
525 install-info-am:
526
527 install-man:
528
529 install-pdf: install-pdf-am
530
531 install-pdf-am:
532
533 install-ps: install-ps-am
534
535 install-ps-am:
536
537 installcheck-am:
538
539 maintainer-clean: maintainer-clean-am
540         -rm -f Makefile
541 maintainer-clean-am: distclean-am maintainer-clean-generic
542
543 mostlyclean: mostlyclean-am
544
545 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
546
547 pdf: pdf-am
548
549 pdf-am:
550
551 ps: ps-am
552
553 ps-am:
554
555 uninstall-am:
556
557 .MAKE: all check install install-am install-strip
558
559 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
560         cscopelist-am ctags-am distclean distclean-generic \
561         distclean-libtool distdir dvi dvi-am html html-am info info-am \
562         install install-am install-data install-data-am install-dvi \
563         install-dvi-am install-exec install-exec-am install-html \
564         install-html-am install-info install-info-am install-man \
565         install-pdf install-pdf-am install-ps install-ps-am \
566         install-strip installcheck installcheck-am installdirs \
567         maintainer-clean maintainer-clean-generic mostlyclean \
568         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
569         tags-am uninstall uninstall-am
570
571 .PRECIOUS: Makefile
572
573
574 .PHONY: packages
575
576 # pkgmk can only cope with a single pkginfo, cant 'stack' various 
577 # pkginfo template files and a package specific pkginfo file in the prototype
578 # Create the package specific template here, and create the full pkginfo
579 # by cating this and the common pkginfo.tmpl together.
580 pkginfo.tmpl: $(srcdir)/pkginfo.tmpl.in Makefile
581         rm -f $@
582         $(edit) $< > $@
583
584 pkginfo.%.tmpl: $(srcdir)/pkginfo.%.tmpl.in Makefile
585         rm -f $@
586         $(edit) $< > $@
587
588 pkginfo.%.full: pkginfo.%.tmpl pkginfo.tmpl Makefile
589         cat pkginfo.tmpl pkginfo.$*.tmpl > $@
590
591 # use 'edit' above to transform prototype.in to pkgmk acceptable prototype
592 prototype.%: $(srcdir)/prototype.%.in Makefile
593         rm -f $@
594         $(edit) $< > $@
595
596 # use edit to construct the SMF manifest files
597 %.xml: $(srcdir)/%.xml.in Makefile
598         rm -f $@
599         $(edit) $< > $@
600 # use edit to construct the depend files
601 depend.%: $(srcdir)/depend.%.in Makefile
602         rm -f $@
603         $(edit) $< > $@
604
605 # method file (bit like init script)
606 quagga.init: $(srcdir)/quagga.init.in Makefile
607         rm -f $@
608         $(edit) $< > $@
609
610 # construct the pkg
611 @PACKAGE_TARNAME@-%-$(pkg_name_rev).pkg: prototype.% \
612                 depend.% quagga.init pkginfo.%.full
613         ($(pkg_make) && \
614         $(pkg_trans) "QUAGGA$*")
615
616 %.pkg.gz : %.pkg
617         (gzip -c $< > $@)
618
619 pkg-root-install:
620         (cd $(top_builddir) && \
621          $(MAKE) DESTDIR=$(abs_builddir)/quagga-root install)
622
623 packages: $(pkg_packages)
624
625 #nodist_pkgdata_DATA = $(pkg_packages)
626
627 # Tell versions [3.59,3.63) of GNU make to not export all variables.
628 # Otherwise a system limit (for SysV at least) may be exceeded.
629 .NOEXPORT: