65
64
$(LIBTOOLFLAGS) --mode=link $(CXXLD) \
66
65
$(libgridftpd_la_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
68
am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(initddir)"
67
am__installdirs = "$(DESTDIR)$(sbindir)"
69
68
PROGRAMS = $(sbin_PROGRAMS)
70
69
am_gridftpd_OBJECTS = gridftpd-commands.$(OBJEXT) \
71
70
gridftpd-config.$(OBJEXT) gridftpd-fileroot.$(OBJEXT) \
76
75
am__DEPENDENCIES_1 =
77
76
gridftpd_DEPENDENCIES = libgridftpd.la conf/libconf.la run/librun.la \
78
77
misc/libmisc.la auth/libauth.la auth/libmap.la \
79
$(top_srcdir)/src/hed/libs/globusutils/libarcglobusutils.la \
80
$(top_srcdir)/src/hed/libs/common/libarccommon.la \
78
$(top_builddir)/src/hed/libs/globusutils/libarcglobusutils.la \
79
$(top_builddir)/src/hed/libs/common/libarccommon.la \
81
80
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
82
81
gridftpd_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
83
82
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(gridftpd_CXXFLAGS) \
84
83
$(CXXFLAGS) $(gridftpd_LDFLAGS) $(LDFLAGS) -o $@
85
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
86
am__vpath_adj = case $$p in \
87
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
90
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
92
am__nobase_strip_setup = \
93
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
95
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
96
am__nobase_list = $(am__nobase_strip_setup); \
97
for p in $$list; do echo "$$p $$p"; done | \
98
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
99
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
100
if (++n[$$2] == $(am__install_max)) \
101
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
102
END { for (dir in files) print dir, files[dir] }'
104
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
105
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
106
SCRIPTS = $(initd_SCRIPTS)
107
84
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
108
85
depcomp = $(SHELL) $(top_srcdir)/depcomp
109
86
am__depfiles_maybe = depfiles
358
335
XMLSEC_LIBS = @XMLSEC_LIBS@
359
336
XMLSEC_OPENSSL_CFLAGS = @XMLSEC_OPENSSL_CFLAGS@
360
337
XMLSEC_OPENSSL_LIBS = @XMLSEC_OPENSSL_LIBS@
338
XROOTD_CPPFLAGS = @XROOTD_CPPFLAGS@
339
XROOTD_LIBS = @XROOTD_LIBS@
361
340
ZLIB_CFLAGS = @ZLIB_CFLAGS@
362
341
ZLIB_LIBS = @ZLIB_LIBS@
363
342
abs_builddir = @abs_builddir@
440
419
noinst_LTLIBRARIES = libgridftpd.la
441
420
@SYSV_SCRIPTS_ENABLED_FALSE@GRIDFTPD_SCRIPT =
442
421
@SYSV_SCRIPTS_ENABLED_TRUE@GRIDFTPD_SCRIPT = gridftpd.init
443
initd_SCRIPTS = $(GRIDFTPD_SCRIPT)
422
EXTRA_DIST = $(GRIDFTPD_SCRIPT)
444
423
libgridftpd_la_SOURCES = userspec.cpp names.cpp misc.cpp
445
424
libgridftpd_la_CXXFLAGS = -I$(top_srcdir)/include \
446
425
$(GLOBUS_FTP_CLIENT_CFLAGS) $(GLIBMM_CFLAGS) $(LIBXML2_CFLAGS)
455
434
gridftpd_LDADD = libgridftpd.la conf/libconf.la run/librun.la \
456
435
misc/libmisc.la auth/libauth.la auth/libmap.la \
457
$(top_srcdir)/src/hed/libs/globusutils/libarcglobusutils.la \
458
$(top_srcdir)/src/hed/libs/common/libarccommon.la \
436
$(top_builddir)/src/hed/libs/globusutils/libarcglobusutils.la \
437
$(top_builddir)/src/hed/libs/common/libarccommon.la \
459
438
$(GLOBUS_FTP_CONTROL_LIBS) $(GLOBUS_COMMON_LIBS)
461
440
gridftpd_LDFLAGS = -rdynamic
556
535
gridftpd$(EXEEXT): $(gridftpd_OBJECTS) $(gridftpd_DEPENDENCIES)
557
536
@rm -f gridftpd$(EXEEXT)
558
537
$(gridftpd_LINK) $(gridftpd_OBJECTS) $(gridftpd_LDADD) $(LIBS)
559
install-initdSCRIPTS: $(initd_SCRIPTS)
561
test -z "$(initddir)" || $(MKDIR_P) "$(DESTDIR)$(initddir)"
562
@list='$(initd_SCRIPTS)'; test -n "$(initddir)" || list=; \
563
for p in $$list; do \
564
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
565
if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
567
sed -e 'p;s,.*/,,;n' \
569
-e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
570
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
571
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
572
if ($$2 == $$4) { files[d] = files[d] " " $$1; \
573
if (++n[d] == $(am__install_max)) { \
574
print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
575
else { print "f", d "/" $$4, $$1 } } \
576
END { for (d in files) print "f", d, files[d] }' | \
577
while read type dir files; do \
578
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
579
test -z "$$files" || { \
580
echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(initddir)$$dir'"; \
581
$(INSTALL_SCRIPT) $$files "$(DESTDIR)$(initddir)$$dir" || exit $$?; \
585
uninstall-initdSCRIPTS:
587
@list='$(initd_SCRIPTS)'; test -n "$(initddir)" || exit 0; \
588
files=`for p in $$list; do echo "$$p"; done | \
589
sed -e 's,.*/,,;$(transform)'`; \
590
test -n "$$list" || exit 0; \
591
echo " ( cd '$(DESTDIR)$(initddir)' && rm -f" $$files ")"; \
592
cd "$(DESTDIR)$(initddir)" && rm -f $$files
594
539
mostlyclean-compile:
595
540
-rm -f *.$(OBJEXT)
966
911
check: check-recursive
967
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS)
912
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS)
968
913
installdirs: installdirs-recursive
970
for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(initddir)"; do \
915
for dir in "$(DESTDIR)$(sbindir)"; do \
971
916
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
973
918
install: install-recursive
995
940
maintainer-clean-generic:
996
941
@echo "This command is intended for maintainers to use"
997
942
@echo "it deletes files that may require special tools to rebuild."
998
@SYSV_SCRIPTS_ENABLED_FALSE@install-data-hook:
943
@SYSV_SCRIPTS_ENABLED_FALSE@uninstall-local:
944
@SYSV_SCRIPTS_ENABLED_FALSE@install-data-local:
999
945
clean: clean-recursive
1001
947
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
1069
uninstall-am: uninstall-initdSCRIPTS uninstall-sbinPROGRAMS
1014
uninstall-am: uninstall-local uninstall-sbinPROGRAMS
1071
1016
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
1072
install-am install-data-am install-strip tags-recursive
1017
install-am install-strip tags-recursive
1074
1019
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1075
1020
all all-am check check-am clean clean-generic clean-libtool \
1077
1022
ctags-recursive distclean distclean-compile distclean-generic \
1078
1023
distclean-libtool distclean-tags distdir dvi dvi-am html \
1079
1024
html-am info info-am install install-am install-data \
1080
install-data-am install-data-hook install-dvi install-dvi-am \
1025
install-data-am install-data-local install-dvi install-dvi-am \
1081
1026
install-exec install-exec-am install-html install-html-am \
1082
install-info install-info-am install-initdSCRIPTS install-man \
1083
install-pdf install-pdf-am install-ps install-ps-am \
1084
install-sbinPROGRAMS install-strip installcheck \
1085
installcheck-am installdirs installdirs-am maintainer-clean \
1086
maintainer-clean-generic mostlyclean mostlyclean-compile \
1087
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1088
tags tags-recursive uninstall uninstall-am \
1089
uninstall-initdSCRIPTS uninstall-sbinPROGRAMS
1092
@SYSV_SCRIPTS_ENABLED_TRUE@install-data-hook:
1093
@SYSV_SCRIPTS_ENABLED_TRUE@ cd $(DESTDIR)$(initddir) && mv -f gridftpd.init gridftpd
1027
install-info install-info-am install-man install-pdf \
1028
install-pdf-am install-ps install-ps-am install-sbinPROGRAMS \
1029
install-strip installcheck installcheck-am installdirs \
1030
installdirs-am maintainer-clean maintainer-clean-generic \
1031
mostlyclean mostlyclean-compile mostlyclean-generic \
1032
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
1033
uninstall uninstall-am uninstall-local uninstall-sbinPROGRAMS
1036
# Not using initd_SCRIPTS due to rename.
1037
@SYSV_SCRIPTS_ENABLED_TRUE@install-data-local:
1038
@SYSV_SCRIPTS_ENABLED_TRUE@ $(MKDIR_P) "$(DESTDIR)$(initddir)"
1039
@SYSV_SCRIPTS_ENABLED_TRUE@ $(INSTALL_SCRIPT) gridftpd.init $(DESTDIR)$(initddir)/gridftpd
1040
@SYSV_SCRIPTS_ENABLED_TRUE@uninstall-local:
1041
@SYSV_SCRIPTS_ENABLED_TRUE@ rm -f $(DESTDIR)$(initddir)/gridftpd
1095
1043
# Tell versions [3.59,3.63) of GNU make to not export all variables.
1096
1044
# Otherwise a system limit (for SysV at least) may be exceeded.