[asterisk-commits] kpfleming: branch group/new_loader_completion
r40357 - in /team/group/new_loa...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Aug 17 16:13:47 MST 2006
Author: kpfleming
Date: Thu Aug 17 18:13:47 2006
New Revision: 40357
URL: http://svn.digium.com/view/asterisk?rev=40357&view=rev
Log:
various cleanups
Modified:
team/group/new_loader_completion/channels/h323/Makefile
team/group/new_loader_completion/channels/misdn/Makefile
Modified: team/group/new_loader_completion/channels/h323/Makefile
URL: http://svn.digium.com/view/asterisk/team/group/new_loader_completion/channels/h323/Makefile?rev=40357&r1=40356&r2=40357&view=diff
==============================================================================
--- team/group/new_loader_completion/channels/h323/Makefile (original)
+++ team/group/new_loader_completion/channels/h323/Makefile Thu Aug 17 18:13:47 2006
@@ -10,7 +10,6 @@
STDCCFLAGS += -DNDEBUG
STDCCFLAGS += $(shell grep ^DEBUG_THREADS ../../Makefile | sed -e "s/^DEBUG_THREADS[ ]*=//" -e "s/\([^\#]*\)\#.*/\1/")
STDCCFLAGS += -I../../include -include autoconfig.h
-STDCCFLAGS += -fPIC
#OPTCCFLAGS +=
CFLAGS += -pipe
TARGET += libchanh323.a
Modified: team/group/new_loader_completion/channels/misdn/Makefile
URL: http://svn.digium.com/view/asterisk/team/group/new_loader_completion/channels/misdn/Makefile?rev=40357&r1=40356&r2=40357&view=diff
==============================================================================
--- team/group/new_loader_completion/channels/misdn/Makefile (original)
+++ team/group/new_loader_completion/channels/misdn/Makefile Thu Aug 17 18:13:47 2006
@@ -1,30 +1,13 @@
#
-# Makefile
+# Makefile for chan_misdn support
#
-# Make file for chan_misdn support
-#
-
-# Verify those options with main Makefile
-CFLAGS = -pipe -c -Wall -ggdb
-ifeq ($(shell uname -m),x86_64)
-CFLAGS += -fPIC
-endif
-SOURCES = isdn_lib.c isdn_msg_parser.c
-OBJDIR = .
-OBJS = isdn_lib.o isdn_msg_parser.o
-
-all: chan_misdn_lib.a
+all:
%.o: %.c
- $(CC) $(CFLAGS) -o $@ $<
-
-chan_misdn_lib.a: $(OBJS)
- ar crv $@ $(OBJS)
-
+ $(CC) $(CFLAGS) -c -o $@ $<
portinfo: portinfo.o
- $(CC) -L/usr/lib -o $@ $^ -lisdnnet -lmISDN -lpthread
-
+ $(CC) -o $@ $^ -lisdnnet -lmISDN -lpthread
clean:
rm -rf *.a *.o *.so portinfo
More information about the asterisk-commits
mailing list