move rules file to prepare for generic rules file

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming 2006-07-06 21:04:28 +00:00
parent 1fb6111c18
commit 748431f7b6
10 changed files with 17 additions and 17 deletions

View File

@ -25,14 +25,14 @@ OPTIONS=
#SUB_PROC=xscale # or maverick
ifeq ($(CROSS_COMPILE),)
OSARCH=$(shell uname -s)
PROC?=$(shell uname -m)
OSARCH:=$(shell uname -s)
PROC?:=$(shell uname -m)
else
OSARCH=$(CROSS_ARCH)
PROC=$(CROSS_PROC)
endif
PWD=$(shell pwd)
ASTTOPDIR:=$(shell pwd)
# Remember the MAKELEVEL at the top
MAKETOPLEVEL?=$(MAKELEVEL)
@ -886,7 +886,7 @@ menuselect: menuselect/menuselect makeopts.xml
-@menuselect/menuselect $(GLOBAL_MAKEOPTS) $(USER_MAKEOPTS) menuselect.makeopts && echo "menuselect changes saved!" || echo "menuselect changes NOT saved!"
menuselect/menuselect: menuselect/menuselect.c menuselect/menuselect_curses.c menuselect/menuselect.h menuselect/linkedlists.h config.status mxml/libmxml.a
@CFLAGS="-include $(PWD)/include/asterisk/autoconfig.h -I$(PWD)/include" PARENTSRC="$(PWD)" $(MAKE) -C menuselect menuselect
@CFLAGS="-include $(ASTTOPDIR)/include/asterisk/autoconfig.h -I$(ASTTOPDIR)/include" PARENTSRC="$(ASTTOPDIR)" $(MAKE) -C menuselect menuselect
mxml/libmxml.a:
@cd mxml && unset CFLAGS LIBS && test -f config.h || ./configure

View File

@ -20,7 +20,7 @@ MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_ODBC_STORAGE) $(MENUSELEC
all: _all
include ../Makefile.rules
include $(ASTTOPDIR)/Makefile.moddir_rules
ifeq (SunOS,$(shell uname))
app_chanspy.so: app_chanspy.o

View File

@ -18,4 +18,4 @@ SELECTED_MODS:=$(filter-out $(MENUSELECT_CDR),$(patsubst %.c,%,$(wildcard cdr_*.
all: _all
include ../Makefile.rules
include $(ASTTOPDIR)/Makefile.moddir_rules

View File

@ -60,17 +60,17 @@ MENUSELECT_OPTS_chan_misdn+=CHAN_MISDN_VERSION=\"0.3.0\"
all: _all
include ../Makefile.rules
include $(ASTTOPDIR)/Makefile.moddir_rules
clean::
rm -f busy.h ringtone.h gentone gentone-ulaw
ifneq ($(wildcard h323/Makefile.ast),)
include h323/Makefile.ast
ifneq ($(wildcard $(ASTTOPDIR)/Makefile.ast),)
include $(ASTTOPDIR)/Makefile.ast
endif
ifneq ($(wildcard misdn/Makefile.ast),)
include misdn/Makefile.ast
ifneq ($(wildcard m$(ASTTOPDIR)/Makefile.ast),)
include m$(ASTTOPDIR)/Makefile.ast
endif
gentone gentone-ulaw: %: %.c
@ -95,7 +95,7 @@ chan_vpb.so: chan_vpb.o
$(CXX) $(SOLINK) -o $@ $< -lvpb -lpthread -lm -ldl
ifeq ($(OSARCH),Linux)
chan_h323.so: chan_h323.o h323/libchanh323.a h323/Makefile.ast
chan_h323.so: chan_h323.o h323/libchanh323.a $(ASTTOPDIR)/Makefile.ast
$(CC) $(SOLINK) $(H323LDFLAGS) -o $@ $< h323/libchanh323.a $(H323LDLIBS) -lstdc++
else
chan_h323.so: chan_h323.o h323/libchanh323.a

View File

@ -30,7 +30,7 @@ GSM_LIB:=
codec_gsm.so: gsm/lib/libgsm.a
endif
include ../Makefile.rules
include $(ASTTOPDIR)/Makefile.moddir_rules
clean::
$(MAKE) -C gsm clean

View File

@ -18,4 +18,4 @@ SELECTED_MODS:=$(filter-out $(MENUSELECT_FORMATS),$(patsubst %.c,%,$(wildcard fo
all: _all
include ../Makefile.rules
include $(ASTTOPDIR)/Makefile.moddir_rules

View File

@ -29,4 +29,4 @@ endif
all: _all
include ../Makefile.rules
include $(ASTTOPDIR)/Makefile.moddir_rules

View File

@ -20,7 +20,7 @@ MODS:=$(patsubst %,%.so,$(SELECTED_MODS))
all: _all
include ../Makefile.rules
include $(ASTTOPDIR)/Makefile.moddir_rules
clean::
rm -f ael/*.o

View File

@ -22,7 +22,7 @@ endif
all: _all
include ../Makefile.rules
include $(ASTTOPDIR)/Makefile.moddir_rules
res_snmp.so: res_snmp.o snmp/agent.o