Idefisk
Tools
Tutorials
Reviews
VoIP Providers
Archives
AsteriskGuru Archives
Mailing List Archives
FAQ
Search
Memberlist
Usergroups
Register
Profile
Log in to check your private messages
Log in
[svn-commits] kpfleming: trunk r200 - in /trunk: ./ Makefile
AsteriskGuru Archives Forum Index
->
Asterisk-CVS
View previous topic
::
View next topic
Author
Message
svn-commits at lists.digi
Guest
Posted: Wed Jul 30, 2008 2:44 pm
Post subject: [svn-commits] kpfleming: trunk r200 - in /trunk: ./ Makefile
Author: kpfleming
Date: Wed Jul 30 10:42:31 2008
New Revision: 200
URL:
http://svn.digium.com/view/libss7?view=rev&rev=200
Log:
use new version and dependency stuff here too
Removed:
trunk/mkdep
Modified:
trunk/ (props changed)
trunk/Makefile
Propchange: trunk/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Jul 30 10:42:31 2008
@@ -1,0 +1,5 @@
+.*.d
+*.so*
+*.a
+parser_debug
+version.c
Modified: trunk/Makefile
URL:
http://svn.digium.com/view/libss7/trunk/Makefile?view=diff&rev=200&r1=199&r2=200
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Wed Jul 30 10:42:31 2008
@@ -26,27 +26,29 @@
SS7VERSION:=$(shell GREP=$(GREP) AWK=$(AWK) build_tools/make_version .)
-all: depend $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) $(UTILITIES)
+all: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) $(UTILITIES)
-%.lo : %.c
- $(CC) -g -fPIC $(CFLAGS) -o $@ -c $<
+MAKE_DEPS= -MD -MT $@ -MF .$(subst /,_,$@).d -MP
+
+%.o: %.c
+ $(CC) $(CFLAGS) $(MAKE_DEPS) -c -o $@ $<
+
+%.lo: %.c
+ $(CC) $(CFLAGS) $(MAKE_DEPS) -c -o $@ $<
clean:
rm -f *.o *.so *.lo *.so.1 *.so.1.0
rm -f parser_debug ss7linktest ss7test $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
- rm -f .depend
+ rm -f .*.d
install: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
mkdir -p $(INSTALL_PREFIX)$(libdir)
mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/include
-
install -m 644 libss7.h $(INSTALL_PREFIX)$(INSTALL_BASE)/include
install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(libdir)
( cd $(INSTALL_PREFIX)$(libdir) ; ln -sf libss7.so.1 libss7.so ; $(SOSLINK) )
install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(libdir)
-
if test $$(id -u) = 0; then $(LDCONFIG); fi
-
$(STATIC_LIBRARY): $(STATIC_OBJS)
ar rcs $(STATIC_LIBRARY) $(STATIC_OBJS)
@@ -58,7 +60,7 @@
ln -sf libss7.so.1 libss7.so
$(SOSLINK)
-version.c:
+version.c: FORCE
@build_tools/make_version_c > $@.tmp
@cmp -s $@.tmp $@ || mv $@.tmp $@
@rm -f $@.tmp
@@ -74,9 +76,7 @@
libss7: ss7_mtp.o mtp.o ss7.o ss7_sched.o
-depend: .depend
+.PHONY:
-.depend:
- ./mkdep ${CLAGS} `ls *.c`
+FORCE:
-.PHONY: version.c
_______________________________________________
--Bandwidth and Colocation Provided by
http://www.api-digital.com--
svn-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/svn-commits
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
AsteriskGuru Archives Forum Index
->
Asterisk-CVS
All times are GMT
Page
1
of
1
Jump to:
Select a forum
Asterisk Mailing Lists
----------------
Asterisk-Users
Asterisk-Dev
Asterisk-CVS
Asterisk-Biz
Asterisk-Doc
Asterisk-BSD
Asterisk-Announce
Asterisk Call Centers
Asterisk-Video
Asterisk-Speech-Rec
Bristuff-Users
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
edit your posts in this forum
You
cannot
delete your posts in this forum
You
cannot
vote in polls in this forum
Powered by
phpBB
© 2001, 2005 phpBB Group