Archived
14
0
Fork 0
Commit graph

432 commits

Author SHA1 Message Date
qwell
8891da27bb a couple Solaris tweaks, to help build properly.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-22 05:24:50 +00:00
kpfleming
1a9756b81e oops... missed one
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40792 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 20:19:47 +00:00
kpfleming
5b18ba8c05 another variable to clear out before configuring mxml
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40791 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 20:18:36 +00:00
kpfleming
2909be4a3e replace a couple of bare 'make' with $(MAKE)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40765 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 13:47:45 +00:00
kpfleming
19db6fdb2a ensure that 'make' after 'svn update' that includes a configure script change won't run without making the user run configure first
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40753 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 03:58:02 +00:00
kpfleming
307edd045d document Makefile target changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40728 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:54:05 +00:00
kpfleming
8e5c93f615 main subdirectory is not dependencies for menuselect input
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40725 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:31:01 +00:00
kpfleming
8b0c007ad9 merge new_loader_completion branch, including (at least):
- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:11:39 +00:00
file
4a051ed2b5 kpfleming didn't break trunk, it was the aliens. (fix it so that the Makefile references the new name for the XML tree, menuselect-tree)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40566 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20 01:42:41 +00:00
russell
6587d2ab75 don't include files that cause additional targets to get executed if the target
called was clean, distclean, or update


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39640 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 02:00:28 +00:00
russell
e0a9b2f295 add menuselect_stub.c to deps list
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38000 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-19 21:52:59 +00:00
kpfleming
f3b8ad2720 add comments on what special variables are for
put library path into proper variable for *BSD


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37670 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15 20:12:28 +00:00
kpfleming
51482ed964 more Makefile cleanup and consistency stuff
don't reuse LIBS variable from top-level Makefile (oops)
build Asterisk binary after subdirs (preparing for embedded modules)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37661 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15 19:59:35 +00:00
kpfleming
661a4f572c use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if needed (although none do today)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15 16:40:05 +00:00
russell
520643b71e revert this change for now since it isn't working correctly and there are more
important issues to work on at the moment ...


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37483 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12 20:27:46 +00:00
russell
75abdcd730 add "update" to the list of targets to ignore various included files for and
check the targets in a little bit different way


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37477 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12 19:48:22 +00:00
russell
4e4fb4bdec don't let make run configure or menuselect if the target is either
"clean" or "distclean"


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37476 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12 19:36:42 +00:00
russell
286bbf2c23 remove the use of -Wno-pointer-sign. Asterisk now builds without any of these
warnings present on my machine.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37303 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 16:22:32 +00:00
kpfleming
d901c0f7c0 small cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37280 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 02:33:24 +00:00
kpfleming
98ae1f3092 various minor fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37277 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 00:48:40 +00:00
russell
22667a6ca6 dirty hack of a fix to deal with the fact that chan_vpb changed to chan_vpb.cc
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37276 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 23:51:15 +00:00
kpfleming
e319f5334e make the build output less noisy (optional, can be controlled by the NOISY_BUILD variable in the top-level Makefile)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 23:18:45 +00:00
kpfleming
84cc5e8bd0 move rules file to prepare for generic rules file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 21:04:28 +00:00
russell
cff0502738 fix removing autoconfig.h on distclean (issue #7439, casper)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36503 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 14:29:06 +00:00
russell
5802dbf9ca swap distclean and dist-clean, since distclean is more commonly used ...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36502 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 14:25:43 +00:00
russell
3dbe712d62 remove build_tools/menuselelct-deps on distclean
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36483 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 04:37:52 +00:00
russell
a622cbd1e3 don't specify this include in the menuselect Makefile, because asterisk-addons
doesn't have an include dir


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36464 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 03:27:37 +00:00
russell
a3d6dce7b3 more pickyness
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36463 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 03:23:18 +00:00
russell
6e2717b89e change bracket style because i'm picky
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36462 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 03:21:56 +00:00
russell
e895b094b9 menuselect doesn't pull strcompat.o from asterisk anymore
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36461 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 03:21:06 +00:00
tilghman
d066798bec Merged revisions 36290 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36290 | tilghman | 2006-06-29 14:23:18 -0500 (Thu, 29 Jun 2006) | 2 lines

Bug 7388 - compatibility changes for Solaris

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36317 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-29 22:01:41 +00:00
russell
f06ba80021 ?= just checks to see if a variable is not yet defined. If MENUSELECT_CFLAGS
was not found in the user level makeopts file, the variable is defined, but
empty.

I wish we could just require GNU make 3.81  :)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36229 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-28 21:33:39 +00:00
russell
85ea88fcc2 slight change to pulling out the MENUSELECT_CFLAGS from the user and global
level makeopts files - if MENUSELECT_CFLAGS is set to nothing in the user level
makeotps file, then the Makefile should not look in the global file at all.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36228 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-28 21:26:31 +00:00
russell
bd38aba2a0 remove an extra comma
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36227 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-28 21:20:15 +00:00
russell
65adf4c9ba remove the two uses of the $(or ...) function since it is only supported by
GNU make 3.81 which is less than 3 months old (issue #7442, patch by Corydon76)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36226 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-28 21:09:02 +00:00
russell
40717f32b8 allow menuselect to be a symlink to a checkout
(second part of issue #7436, Corydon76)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36197 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-28 19:55:05 +00:00
russell
435c27995e fix the case where menuselect.makeopts is getting generated in the same run of
"make" as the current build and some of the MENUELSELECT_CFLAGS are set in the
user or global level asterisk.makeopts file


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36192 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-28 15:10:57 +00:00
jcollie
9adbd8f388 menuselect writes both menuselect.makeopts and menuselect.makedeps at once, make sure that the Makefile knows about that.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36179 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-27 18:49:04 +00:00
russell
097717acac don't let the Makefile blow up in menuselect.makeopts is present but
menuselect.makedeps is not.  This would probably only be the case in existing
checkouts ...


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36020 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-26 14:38:55 +00:00
kpfleming
661469afbc simplify special rule for channel.o
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35944 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-26 06:27:25 +00:00
kpfleming
673e53a328 use new (separate) dependencies file from menuselect
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-25 08:50:14 +00:00
kpfleming
41af2260b7 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 19:43:31 +00:00
russell
551fc5b6aa fix dist-clean and add menuselect to the clean target, too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35791 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 04:42:35 +00:00
russell
cdf4d0251c add dependency on menuselect's version of linkedlists.h, list menuselect as
a PHONY target


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35790 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 04:34:55 +00:00
russell
5432a96172 merge changes to get menuselect using svn:externals
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35704 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23 14:19:35 +00:00
kpfleming
917167a8f0 remove any generated doxygen docs during distclean
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35650 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23 08:32:19 +00:00
russell
3bed9ab4b7 remove the autom4te.cache dir on a "make distclean" and add distclean to the
.PHONY list


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35630 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23 02:15:35 +00:00
russell
f3f7a9e1aa actually allow all of the sub directories to be built when running "make", oops
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35533 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 16:26:09 +00:00
russell
d5a8438176 add a couple more targets to .PHONY
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35506 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 15:45:32 +00:00
russell
9b1d7f9fa8 - convert the 'uninstall' target to use separate targets to process each
subdirectory instead of a for loop
- remove the FORCE target from the main Makefile and add the couple places
  I used it to the .PHONY target.  .PHONY does the same thing and is a built-in
  more efficient way of doing it.
- add a bunch more targets to .PHONY ...


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35503 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 15:38:13 +00:00
russell
ddb0e59eb0 - specify that 'depend' is a .PHONY target
- use separate targets instead of a for loop for doing 'make depend' for
  each sub directory


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 15:08:08 +00:00
russell
60c04446db use separate targets instead of for loops to process sub directories for the
'clean' and 'clean-depend' targets


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35481 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 14:31:52 +00:00
russell
3493f60829 get rid of another annoying stray space in the gcc commands
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35480 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 14:16:41 +00:00
russell
0bb78235cb - specify that 'all' is a .PHONY target
- add a copyright header to the build_tools Makefile
- remove 'depend' from the 'all' target in agi/ and utils/ since it is handled
  by the main Makefile already


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 14:09:18 +00:00
russell
55abc954ce clean up a little mess I created by using the 'or' function instead of gross
nested if statements


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35459 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 13:22:07 +00:00
russell
e9a0647b9a use a slightly different, but equivalent way of setting the
SUBDIRS_INSTALL variable


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35438 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 12:48:25 +00:00
russell
1b77aac2ee instead of using a for loop to call 'make install' on each subdirectory, use
separate targets


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35437 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 12:33:50 +00:00
russell
b4f3b629b6 instead of using a for loop to call make on each subdirectory, use a target for
each subdirectory.
 - the shell code in the for loop doesn't have a manually catch errors from
   make on a subdirectory
 - you can now run something like "make apps" or "make channels" from the root
   source directory
 - This should allow for better support for parallel instances of make (the -j
   option) since make can work on each subdirectory target in parallel


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35436 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 12:14:29 +00:00
russell
3d668d2424 nothing to see here ...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35416 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 11:39:25 +00:00
russell
b70a7c6a7c add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
since they are targets that do not have resulting files and are never listed
as prerequisites to real targets.  Using .PHONY in this manner improves make
performance by never having to check for resulting files.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35415 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 11:27:03 +00:00
russell
79e7aea754 use $(FIND) and $(LN) from configure
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35393 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 10:38:45 +00:00
russell
fa5e42c830 use $(BASENAME) set by configure
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35392 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 10:36:45 +00:00
russell
70380d9019 $(INSTALL) is determined by configure and set in the makeopts file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35123 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-20 15:08:44 +00:00
russell
1bf6e418ca - use $(CC) instead of gcc when building testexpr2
- modify ast_expr2.fl and ast_expr2.y to not try to register the file version
  in a STANDALONE build
- add config.status as a dependency on testexpr2 to ensure configure is
  executed before building it
- add include/asterisk/buildopts.h as a dependency for testexpr2 as well
- add -Iinclude to the gcc commands for building the testexpr2 objects so that
  it can find the local asterisk headers


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34980 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-20 01:06:50 +00:00
kpfleming
0d6876baf2 various cleanups, remove support for CVS checkouts
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34844 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-19 15:17:32 +00:00
russell
0dd66d0673 there is no reason to build and link stdtime/libtime.a because we already
directly include stdtime/localtime.o in the OBJS for asterisk, which is the
only object file for libtime


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34629 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-18 20:33:53 +00:00
file
6088a779eb Fix adsi target in main Makefile and check a variable properly (issue #7369 reported by casper)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34496 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-16 16:45:52 +00:00
kpfleming
c3a90e6c79 moh files will now be distributed in native format, not mp3, so...
update sounds/Makefile to download/unpack the proper files
remove all evidence of mpg123 from the main Makefile
change the sample musiconhold.conf file to use native mode instead of mp3


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32917 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 22:37:31 +00:00
kpfleming
31e06ddaea don't force the sounds to download... only when needed
fix a few buglets i caused in menuselect
remove downloaded sounds on 'dist-clean'


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32901 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 21:05:05 +00:00
kpfleming
05f3ae6817 woo-hoo, now it knows how to download the sound packages... doesn't install them yet though
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32886 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 20:54:30 +00:00
kpfleming
cbd3156f72 move autoconfig.h to the include/asterisk directory so it will get installed
install asterisk.h include the system's default include directory


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32860 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 19:05:35 +00:00
kpfleming
73c525e6e2 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
russell
5998dbac5c add the ability to do the same thing as "make dont-optimize" by enabling the
option in menuselect.  This is very useful for developers if you want to ensure
that all of your builds are done without optimizations.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32434 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 00:25:23 +00:00
kpfleming
7884b41d66 begin adding support for new sound packages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32372 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05 19:16:04 +00:00
russell
024161b89b - add slav, zoa, and royk to the CREDITS for the generic jitterbuffer
- change references to the "scx" jitterbuffer to be called "fixed" and change
  references to the "stevek" jitterbuffer to be called "adaptive", instead


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31356 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-01 14:07:03 +00:00
russell
37ffe256c4 fix the problem where defaults.h is missing after a forced make clean in a
different way that actually works


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31225 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-01 00:09:18 +00:00
russell
1264d306ef Add support for using a jitterbuffer for RTP on bridged calls. This includes
a new implementation of a fixed size jitterbuffer, as well as support for the
existing adaptive jitterbuffer implementation. (issue #3854, Slav Klenov)

Thank you very much to Slav Klenov of Securax and all of the people involved
in the testing of this feature for all of your hard work!


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31 16:56:50 +00:00
russell
9f9309cda6 restore default paths for FreeBSD (reported by alphaque, fixed by jcollie)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30458 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 22:05:12 +00:00
russell
1972f752e7 defaults.h must be listed as a dependency after the cleantest because if it
forces a make clean, it has to be regenerated.  This fixes the problem that
people have been seeing where the build would fail complaining about defaults.h
not being present.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28894 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 00:36:18 +00:00
russell
fdd9596b0b there is no reason to explicity specify -fomit-frame-pointer when building with
optimization enabled, because it is enabled automatically (issue #7108, casper)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28789 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 19:10:06 +00:00
russell
269bec93af add support for more refined ability to set install paths using the standard
options to configure such as --libdir, --sbindir, etc. All of the default paths
are still the same. (issue #7057, jcollie)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28747 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 18:54:21 +00:00
russell
6267326202 fix file dependency generation so that the resulting files in the subdirectories
are not of zero length (issue #7138, reported/patched by casper, fixed by a
different patch)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28055 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-18 06:41:53 +00:00
russell
98c676720d Move WITH_SMDI from the Makefiles to be handled by menuselect. It will now be
defined in buildopts.h. Also, remove a few more stray spaces in the gcc commands. 


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27130 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-13 10:54:40 +00:00
russell
e3a7b062c0 remove some stuff handled by configure and menuselect
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27129 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-13 10:43:11 +00:00
russell
0c4455e322 remove unnecessary INCLUDE variable which was currently added to ASTCFLAGS
before it was ever set.  This removes another stray space in the gcc
commands  :)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27128 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-13 10:37:26 +00:00
russell
d59e49c0b5 fix the build with astmm (issue #7139)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27023 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11 21:24:54 +00:00
russell
fd6a5e2bdd use config.status instead of include/autoconfig.h as the dependency
for menuselect


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26992 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11 20:29:00 +00:00
kpfleming
e059213d6a various minor cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26877 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11 13:15:10 +00:00
russell
4f86c0eabf forcing a dist-clean in the cleantest was a bad idea. Just change the script
that generates buildopts.h to handle old menuselect.makeopts files


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11 10:28:37 +00:00
russell
d7262587f4 remove a trailing tab ... now this Makefile is perfect
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26840 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11 10:12:34 +00:00
russell
26a2b7c6d5 change the CFLAGS controlled by menuselect to be placed in a header file
instead of being added to the compiler commands.  This header file will be
installed and modules built outside of the main tree will be able to use the
same build options used to build the rest of Asterisk.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26808 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11 09:50:41 +00:00
russell
4a20808cc8 suppress the output from generating defaults.h and versions.h, as well as
checking the cleancount


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26492 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 14:35:38 +00:00
rizzo
4082068bee add missing rule
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26347 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 10:48:29 +00:00
kpfleming
feaaea804f remove rule for running bootstrap, it's only safe to run it manually now
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26094 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09 14:43:00 +00:00
kpfleming
909bd6a98c don't build strcompat for menuselect except on Solaris
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25893 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09 07:51:20 +00:00
russell
fdb839ee42 make sure that the MOD_SUBDIR_CFLAGS and OTHER_SUBDIR_FLAGS come before
ASTCFLAGS so that -Iinclude comes before any system include path


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25686 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 21:00:16 +00:00
kpfleming
f683cf4342 make Makefile slightly less noisy
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 16:17:00 +00:00
russell
c4a6d12d56 add smarter checking for termcap support, which fixes a build problem when
ncurses is statically compiled with term info support, which is provided in
the statically compiled editline library that we are including. 
(issue #6948, original patch by casper, modified to use the features 
of AST_EXT_LIB)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25611 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 15:24:52 +00:00
kpfleming
4017232235 use a file that configure will _always_ regenerate as the trigger for running the script
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25610 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 15:20:00 +00:00
russell
a36aeaf46b add TOPDIR_CFLAGS to the CFLAGS before ASTCFLAGS to make sure that -Iinclude
comes before -I/usr/local/include or something similar


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25590 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 15:03:44 +00:00