summaryrefslogtreecommitdiff
path: root/main/stdtime/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-08-21 02:11:39 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-08-21 02:11:39 +0000
commit0a27d8bfe5fa36d8cb600b5b520f9b5c7fbf0ed6 (patch)
tree270b9c46c1e644483d6d2a35b509f43218ba3252 /main/stdtime/Makefile
parentf60ada0be22cd646454278e102d384a5dbaf7d59 (diff)
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: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/stdtime/Makefile')
-rw-r--r--main/stdtime/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/stdtime/Makefile b/main/stdtime/Makefile
new file mode 100644
index 000000000..cbe3c48f7
--- /dev/null
+++ b/main/stdtime/Makefile
@@ -0,0 +1,29 @@
+OBJS=localtime.o
+
+all: libtime.a
+
+libtime.a: $(OBJS)
+ ar rv $@ $(OBJS)
+ ranlib $@
+
+install:
+
+uninstall:
+
+clean-depend:
+ rm -f .depend
+
+clean: clean-depend
+ rm -f libtime.a *.o test
+
+depend: .depend
+
+.depend:
+ ../build_tools/mkdep $(CFLAGS) *.c
+
+test: test.c
+ ${CC} ${CFLAGS} -o test test.c
+
+ifneq ($(wildcard .depend),)
+include .depend
+endif