summaryrefslogtreecommitdiffstats
path: root/build/rules.mk (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add rules.mk.in, and remove the old rules.mk. This finishes theRyan Bloom2001-08-221-264/+0
| | | | | | | libtool patch from yesterday. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90487 13f79535-47bb-0310-9956-ffa450edef68
* Allow Apache to use libtool 1.4. In order to do this, we check theRyan Bloom2001-08-221-4/+4
| | | | | | | | | libtool version of the machine, and we add the correct flags to the build. We also had to remove the --disable-shared in order to make this work correctly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90479 13f79535-47bb-0310-9956-ffa450edef68
* Get the Apache DSOs installed and give apr and apr-utilJeff Trawick2001-05-181-4/+3
| | | | | | | | the opportunity to install their library files by adding backa recursive install rule. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89149 13f79535-47bb-0310-9956-ffa450edef68
* Get the compile flag types right and in order.Roy T. Fielding2001-05-181-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89142 13f79535-47bb-0310-9956-ffa450edef68
* Change the make targets and rules to be consistent in all of theRoy T. Fielding2001-05-181-110/+127
| | | | | | | Apache-owned source trees. Sanity is a good thing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89140 13f79535-47bb-0310-9956-ffa450edef68
* Fix httpd's definition of LTFLAGS to be consistent with that of aprRoy T. Fielding2001-05-121-3/+3
| | | | | | | | | and apr-util, allow it to be overridden by the configure command-line (default="--silent") and introduce LT_LDFLAGS to replace what we were formally abusing as LTFLAGS. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89094 13f79535-47bb-0310-9956-ffa450edef68
* Small fix to make depend, although make depend doesn't seem to be used?Victor J. Orlikowski2001-05-111-1/+1
| | | | | | | (We seem to use APR's) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89090 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: fix "make install" to install shared core & programs with a .exeBrian Havard2001-04-291-1/+1
| | | | | | | extension. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88963 13f79535-47bb-0310-9956-ffa450edef68
* Completely revamp configure so that it preserves the standard makeRoy T. Fielding2001-04-291-10/+19
| | | | | | | | | | | | | variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving the configure additions to EXTRA_* variables. Also, allow the user to specify NOTEST_* values for all of the above, which eliminates the need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM. Fix the setting of INCLUDES and EXTRA_INCLUDES. Check flags as they are added to avoid pointless duplications. Fix the order in which flags are given on the compile and link lines. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88960 13f79535-47bb-0310-9956-ffa450edef68
* test -e isn't portable; use test -f insteadJeff Trawick2001-04-191-1/+1
| | | | | | | this gets DSO builds working on Solaris (dunno where else) again git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88897 13f79535-47bb-0310-9956-ffa450edef68
* This changes the build process as outlined in my email earlier this week.David Reid2001-04-181-1/+31
| | | | | | | | | | | Essentially we now build the static objects, then allow a platform to run a given command, build the shared modules, then run another command before exiting. This gets us building dso's on beos and may provide a better framework for some of the other "strange" platforms out there without stopping the normal ones working. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88886 13f79535-47bb-0310-9956-ffa450edef68
* Fix the shell syntax error that occurs when a for list is empty due toRoy T. Fielding2001-04-121-1/+3
| | | | | | | an empty variable expansion. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88833 13f79535-47bb-0310-9956-ffa450edef68
* Remove double-quotes from the list of programs to install to makeRoy T. Fielding2001-04-121-1/+1
| | | | | | | | | | it valid shell syntax. Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com> Reviewed by: Roy Fielding git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88820 13f79535-47bb-0310-9956-ffa450edef68
* Make clean, distclean, and extraclean consistently according to theRoy T. Fielding2001-04-111-0/+3
| | | | | | | | | | Gnu makefile guidelines. Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com> Reviewed by: Roy Fielding git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88809 13f79535-47bb-0310-9956-ffa450edef68
* Use EXTRA_CPPFLAGS where it needs to be used.Roy T. Fielding2001-04-031-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88668 13f79535-47bb-0310-9956-ffa450edef68
* Changes to get AIX DSOs working, sans APR changes.Victor J. Orlikowski2001-04-021-1/+1
| | | | | | | | Basically, this allows linker flags to be passed for the httpd executable and DSOs only. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88655 13f79535-47bb-0310-9956-ffa450edef68
* Switch to using aplibtool for building under OS/2 & add support for buildingBrian Havard2001-04-021-4/+9
| | | | | | | | | | | loadable modules as OS/2 DLLs. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88645 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup the build process a bit more. The Apache configureRyan Bloom2001-03-171-1/+1
| | | | | | | | | script no longer creates its own helper scripts, it just uses APR's. Submitted by: jean-frederic clere <jfrederic.clere@fujitsu-siemens.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88530 13f79535-47bb-0310-9956-ffa450edef68
* Begin to move functions from the http module to the core. The goal is toRyan Bloom2001-02-261-1/+1
| | | | | | | have only functions that are HTTP specific in the http directory. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88341 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001Roy T. Fielding2001-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88184 13f79535-47bb-0310-9956-ffa450edef68
* No need to run an external program for checking for the existence ofSascha Schumann2001-01-201-1/+1
| | | | | | | C source files. echo as a built-in function does the same job quicker. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87757 13f79535-47bb-0310-9956-ffa450edef68
* whoops. last two commits didn't deal with $(srcdir)Greg Stein2001-01-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87745 13f79535-47bb-0310-9956-ffa450edef68
* maxdepth isn't portable, so just list the .c files (if any)Greg Stein2001-01-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87744 13f79535-47bb-0310-9956-ffa450edef68
* Fix make depend for the whole serverRyan Bloom2001-01-191-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87743 13f79535-47bb-0310-9956-ffa450edef68
* Per suggestion, tuck NOTEST_* in config_vars.mk. Yep, I changedJim Jagielski2001-01-121-4/+4
| | | | | | | | | | | | the name. NONAC_* causes autoconf to complain loud and long. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87660 13f79535-47bb-0310-9956-ffa450edef68
* Begining stub of NONAC_LDFLAGS and NONAC_CFLAGS stuff.Jim Jagielski2001-01-111-4/+4
| | | | | | | | | | | | | | First of all, avoid re-adding values to the various hints each time called (not a problem now, but could be later). Then build up CFLAGS/LDFLAGS during Makefile generation. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87655 13f79535-47bb-0310-9956-ffa450edef68
* - add some missing distclean targetsdgaudet2001-01-061-2/+2
| | | | | | | | | - use DISTCLEAN_TARGETS and CLEAN_TARGETS everywhere (to be consistent with other macros and with APR) - warn that aclocal.m4 is a generated file git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87597 13f79535-47bb-0310-9956-ffa450edef68
* Stop calling shared modules libapachemod_*. mod_* is much easier to dealRyan Bloom2000-12-201-2/+3
| | | | | | | with. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87435 13f79535-47bb-0310-9956-ffa450edef68
* Get make distclean working again. The replaced egrep-style regexp doesJeff Trawick2000-12-051-1/+2
| | | | | | | not work as-is with "GNU sed version 3.02". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87203 13f79535-47bb-0310-9956-ffa450edef68
* Don't find Makefiles in apr or apr-utils, because those libraries will takeRyan Bloom2000-12-051-1/+1
| | | | | | | care of cleaning and distcleaning on their own. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87193 13f79535-47bb-0310-9956-ffa450edef68
* Get base Apache to build properly. This doesn't solve the problem ofRyan Bloom2000-12-051-1/+1
| | | | | | | not having apr-util, but we should be getting to the link stage now. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87190 13f79535-47bb-0310-9956-ffa450edef68
* Get buildconf working in the new repository. Nothing builds, but we canRyan Bloom2000-12-041-2/+2
| | | | | | | at least configure everything. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87176 13f79535-47bb-0310-9956-ffa450edef68
* Tweak the logic to avoid "make distclean" inside APR directories so thatJeff Trawick2000-11-271-2/+2
| | | | | | | | it works on Tru64. On that platform, when grep failed (because we weren't in an APR directory), the non-zero exit status failed the entire operation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87096 13f79535-47bb-0310-9956-ffa450edef68
* Change Apache's distclean rule to rely on APR to clean up APR asJeff Trawick2000-11-271-5/+10
| | | | | | | appropriate. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87091 13f79535-47bb-0310-9956-ffa450edef68
* Back out the build changes I added last night. This was causing libtoolRyan Bloom2000-10-051-8/+0
| | | | | | | | commands to be sent to gcc. It worked on some platforms, but not all of them. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86404 13f79535-47bb-0310-9956-ffa450edef68
* Multiple build and configuration fixesRyan Bloom2000-10-051-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Build process: -add datadir and localstatedir substitutions -fix layout name -fix logfilename misspelling -fix evaluation of installation dir variables and -replace $foobar by $(foobar) to be usefull in the makefile Cross compile: -add rules for cross-compiling in rules.mk. Okay, rule to check for $CC_FOR_BUILD is still missing -use CHECK_TOOL instead of CHECK_PROG for ranlib -add missing "AR=@AR@" to severaly Makefile.in's -cache result for "struct rlimit" -compile all helper programs with native and cross compiler and use the native version to generate header file PR: 6384 Submitted by: "R�diger" Kuhlmann <Tadu@gmx.de> Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86399 13f79535-47bb-0310-9956-ffa450edef68
* Remove whitespace from blank lines in rules.mk. This fixes Irix 6.5Ryan Bloom2000-08-191-2/+2
| | | | | | | | | PR: 6357 Submitted by: Mike Abbott <mja@sgi.com> Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86107 13f79535-47bb-0310-9956-ffa450edef68
* Get dsos working again by including $(LTFLAGS) on the command-line forJeff Trawick2000-07-311-2/+2
| | | | | | | | | | | the --mode=link invocations of libtool/shlibtool. The lack of LTFLAGS resulted in no -export-dynamic, and dsos couldn't resolve symbols in httpd. LTFLAGS was lost in the 1.23 revision of rules.mk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85956 13f79535-47bb-0310-9956-ffa450edef68
* Clean up rules.mk and add support for building C++ source files.Sascha Schumann2000-07-231-15/+36
| | | | | | | | | | | | | | If your module uses C++, you need to add APACHE_REQUIRE_CXX to your module's config.m4. Unfortunately, we cannot use any sophisticated pattern matching in make, so instead of adding the C++ source files to LTLIBRARY_SOURCES, you need to write for foo.cpp and bar.cpp: LTLIBRARY_OBJECTS_X = foo.lo bar.lo git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85873 13f79535-47bb-0310-9956-ffa450edef68
* Stop doing the find for make clean. This was causing us to clean everyRyan Bloom2000-07-101-2/+2
| | | | | | | | | directory twice. We should still clean those directories that weren't configured in the current configuration, but this wasn't the right solution. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85807 13f79535-47bb-0310-9956-ffa450edef68
* Fix make distclean and make clean. Before this commit, we only cleanedRyan Bloom2000-07-061-2/+18
| | | | | | | | | | | | | | | directories that have been configured by the last call to ./configure. This means that if somebody does ./configure --with-mpm=dexter;make and then ./configure --with-mpm=prefork;make and then make distclean, dexter doesn't get cleaned up. Same thing goes for clean. All this does is with distclean and clean, after we have recursively gone through the tree to clean everything, we do a quick find to get all of the left-over Makefiles. Then we just do the same operation on those directories. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85773 13f79535-47bb-0310-9956-ffa450edef68
* Use libtool to compile instead of cc. If we are going to use libtool,Ryan Bloom2000-06-281-1/+1
| | | | | | | | | we may as well go all the way. Submitted by: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de> Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85709 13f79535-47bb-0310-9956-ffa450edef68
* Make dependencies work.Ben Laurie2000-06-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85517 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate spurious tab.Ben Laurie2000-06-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85513 13f79535-47bb-0310-9956-ffa450edef68
* First function removed from Unix MPM's and moved to a common file. ThisRyan Bloom2000-05-191-1/+1
| | | | | | | | | | | work is not anywhere near finished, but the cleanup has begun at least. Had to make a couple of variables non-static, so a name change was required since they are now viewable from outside the library. The advantage to this is code that is much easier to maintain into the future, because it is duplicated less often. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85249 13f79535-47bb-0310-9956-ffa450edef68
* We no longer have to -DHAVE_CONFIG_H on the $(CC) line, because theRyan Bloom2000-05-131-1/+1
| | | | | | | | ap_ac_config.h file has been renamed to ap_config.h which is included directly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85211 13f79535-47bb-0310-9956-ffa450edef68
* Move the generating empty deps stuff into fastgen.sh. The .deps filesSascha Schumann2000-05-041-2/+1
| | | | | | | | | | | are only used by Makefiles which are created by fastgen.sh, so fastgen is the natural place to create them. The "portable dirname" regex has been changed to remove any number of trailing slashes. Just in case. :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85139 13f79535-47bb-0310-9956-ffa450edef68
* Add VPATH support to Apache:Sascha Schumann2000-04-301-3/+4
| | | | | | | | | | | | | | | os/$(OS_DIR) is now equivalent to the old $(OS_DIR) Necessary include paths are added only in VPATH mode. Dependencies are stored in the build directory now. They contain paths which depend on the current build, and therefore they are not general. Fixed two dependencies in main/Makefile.in. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85113 13f79535-47bb-0310-9956-ffa450edef68
* Overall UNIX build system improvements:Sascha Schumann2000-04-301-5/+3
| | | | | | | | | | | | | | | | | * Makefile header is now completely dynamic * Absolute paths everywhere (fixes Tru64 support) * Get rid of LTLIBRARY_SHARED_NAME rule in library.mk (fixes Irix support, untested) * VPATH does not contain variables anymore (fixes UnixWare support) * Remove inclusion of program.mk in support/Makefile.in (PROGRAM_NAME is empty => breaks Irix and others) * Call REENTRANCY_FLAGS earlier, so that flags are passed to header checks (might fix OpenBSD pthread.h-detection, untested) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85102 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of NO_RECURSION. This was originally implemented for PHP and is notSascha Schumann2000-04-291-14/+12
| | | | | | | used by Apache (will soon be obsolete in PHP as well). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85096 13f79535-47bb-0310-9956-ffa450edef68