You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_ftp-commits@incubator.apache.org by wr...@apache.org on 2006/10/12 22:57:30 UTC

svn commit: r463490 - in /incubator/mod_ftp/trunk/src: .deps Makefile Makefile.in config.m4 modules.mk

Author: wrowe
Date: Thu Oct 12 15:57:29 2006
New Revision: 463490

URL: http://svn.apache.org/viewvc?view=rev&rev=463490
Log:
Seperate build, and in-tree (modules/ftp/) flavors of the build schema.

Added:
    incubator/mod_ftp/trunk/src/.deps
    incubator/mod_ftp/trunk/src/Makefile   (with props)
    incubator/mod_ftp/trunk/src/Makefile.in
    incubator/mod_ftp/trunk/src/config.m4
    incubator/mod_ftp/trunk/src/modules.mk

Added: incubator/mod_ftp/trunk/src/.deps
URL: http://svn.apache.org/viewvc/incubator/mod_ftp/trunk/src/.deps?view=auto&rev=463490
==============================================================================
    (empty)

Added: incubator/mod_ftp/trunk/src/Makefile
URL: http://svn.apache.org/viewvc/incubator/mod_ftp/trunk/src/Makefile?view=auto&rev=463490
==============================================================================
--- incubator/mod_ftp/trunk/src/Makefile (added)
+++ incubator/mod_ftp/trunk/src/Makefile Thu Oct 12 15:57:29 2006
@@ -0,0 +1,49 @@
+##
+##  Makefile -- Build procedure for sample ftp Apache module
+##  Autogenerated via ``apxs -n ftp -g''.
+##
+
+builddir=.
+top_srcdir=../..
+top_builddir=../..
+include /usr/local/apache20/build/special.mk
+
+#   the used tools
+APXS=apxs
+APACHECTL=apachectl
+
+#   additional defines, includes and libraries
+#DEFS=-Dmy_define=my_value
+INCLUDES=-I$(top_srcdir)/../include
+#LIBS=-Lmy/lib/dir -lmylib
+
+#   the default target
+all: local-shared-build
+
+#   install the shared object file into Apache 
+install: install-modules
+
+#   cleanup
+clean:
+	-rm -f mod_ftp*.o ftp_*.o mod_ftp*.lo ftp_*.lo mod_ftp*.slo ftp_*.slo
+	-rm -rf mod_ftp*.la .libs
+
+distclean: clean
+
+#   simple test
+test: reload
+	lynx -mime_header http://localhost/ftp
+
+#   install and activate shared object by reloading Apache to
+#   force a reload of the shared object file
+reload: install restart
+
+#   the general Apache start/restart/stop
+#   procedures
+start:
+	$(APACHECTL) start
+restart:
+	$(APACHECTL) restart
+stop:
+	$(APACHECTL) stop
+

Propchange: incubator/mod_ftp/trunk/src/Makefile
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/mod_ftp/trunk/src/Makefile.in
URL: http://svn.apache.org/viewvc/incubator/mod_ftp/trunk/src/Makefile.in?view=auto&rev=463490
==============================================================================
--- incubator/mod_ftp/trunk/src/Makefile.in (added)
+++ incubator/mod_ftp/trunk/src/Makefile.in Thu Oct 12 15:57:29 2006
@@ -0,0 +1,29 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
+#   standard stuff
+#
+
+include $(top_srcdir)/build/special.mk
+
+#
+#   developer stuff
+#
+
+$(top_srcdir)/include/ftp_protocol.h: $(top_srcdir)/include/mod_ftp.h \
+		$(top_srcdir)/modules/ftp/ftp_commands.c
+	./remake_ftp_protocol > $(top_srcdir)/include/ftp_protocol.h
+

Added: incubator/mod_ftp/trunk/src/config.m4
URL: http://svn.apache.org/viewvc/incubator/mod_ftp/trunk/src/config.m4?view=auto&rev=463490
==============================================================================
--- incubator/mod_ftp/trunk/src/config.m4 (added)
+++ incubator/mod_ftp/trunk/src/config.m4 Thu Oct 12 15:57:29 2006
@@ -0,0 +1,44 @@
+dnl Licensed to the Apache Software Foundation (ASF) under one or more
+dnl contributor license agreements.  See the NOTICE file distributed with
+dnl this work for additional information regarding copyright ownership.
+dnl The ASF licenses this file to You under the Apache License, Version 2.0
+dnl (the "License"); you may not use this file except in compliance with
+dnl the License.  You may obtain a copy of the License at
+dnl
+dnl       http://www.apache.org/licenses/LICENSE-2.0
+dnl
+dnl Unless required by applicable law or agreed to in writing, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+
+dnl #  start of module specific part
+APACHE_MODPATH_INIT(ftp)
+
+dnl #  list of module object files
+ftp_objs="dnl
+mod_ftp.lo dnl
+ftp_commands.lo dnl
+ftp_connection.lo dnl
+ftp_data_connection.lo dnl
+ftp_data_filters.lo dnl
+ftp_filters.lo dnl
+ftp_glob.lo dnl
+ftp_inet_pton.lo dnl
+ftp_limitlogin.lo dnl
+ftp_log.lo dnl
+ftp_message.lo dnl
+ftp_protocol.lo dnl
+ftp_request.lo dnl
+ftp_util.lo dnl
+"
+dnl #  hook module into the Autoconf mechanism (--enable-ftp option)
+APACHE_MODULE(ftp, [FTP Protocol support (mod_ftp)], $ftp_objs, , no, [
+    AC_CHECK_FUNCS(fchmod)
+    AC_CHECK_HEADERS(arpa/ftp.h)
+])
+
+dnl #  end of module specific part
+APACHE_MODPATH_FINISH
+

Added: incubator/mod_ftp/trunk/src/modules.mk
URL: http://svn.apache.org/viewvc/incubator/mod_ftp/trunk/src/modules.mk?view=auto&rev=463490
==============================================================================
--- incubator/mod_ftp/trunk/src/modules.mk (added)
+++ incubator/mod_ftp/trunk/src/modules.mk Thu Oct 12 15:57:29 2006
@@ -0,0 +1,5 @@
+mod_ftp.la: mod_ftp.slo ftp_commands.slo ftp_connection.slo ftp_data_connection.slo ftp_data_filters.slo ftp_filters.slo ftp_glob.slo ftp_inet_pton.slo ftp_limitlogin.slo ftp_log.slo ftp_message.slo ftp_protocol.slo ftp_request.slo ftp_util.slo
+	$(SH_LINK) -rpath $(libexecdir) -module -avoid-version mod_ftp.lo ftp_commands.lo ftp_connection.lo ftp_data_connection.lo ftp_data_filters.lo ftp_filters.lo ftp_glob.lo ftp_inet_pton.lo ftp_limitlogin.lo ftp_log.lo ftp_message.lo ftp_protocol.lo ftp_request.lo ftp_util.lo
+mod_ftp_cmd_pwd.la: mod_ftp.la mod_ftp_cmd_pwd.slo
+	$(SH_LINK) -rpath $(libexecdir) -module -avoid-version mod_ftp_cmd_pwd.lo
+shared = mod_ftp.la mod_ftp_cmd_pwd.la