aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/Makefile
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2005-11-06 19:23:18 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2005-11-06 19:23:18 +0100
commitb7d3cc34f68dab7b8f7d0777711317b334fc2219 (patch)
tree6aa4d6332c96654fda79fe18993ab0e35d36a52b /protocols/jabber/Makefile
Initial repository (0.99 release tree)0.99
Diffstat (limited to 'protocols/jabber/Makefile')
-rw-r--r--protocols/jabber/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/protocols/jabber/Makefile b/protocols/jabber/Makefile
new file mode 100644
index 00000000..df326fe6
--- /dev/null
+++ b/protocols/jabber/Makefile
@@ -0,0 +1,37 @@
+###########################
+## Makefile for BitlBee ##
+## ##
+## Copyright 2002 Lintux ##
+###########################
+
+### DEFINITIONS
+
+-include ../../Makefile.settings
+
+# [SH] Program variables
+objects = expat.o hashtable.o jid.o jpacket.o jutil.o log.o pool.o str.o xmlnode.o xmlparse.o xmlrole.o xmltok.o jabber.o
+
+CFLAGS += -Wall
+LFLAGS += -r
+
+# [SH] Phony targets
+all: jabberr.o
+
+.PHONY: all clean distclean
+
+clean:
+ rm -f *.o core
+
+distclean: clean
+
+### MAIN PROGRAM
+
+$(objects): ../../Makefile.settings Makefile
+
+$(objects): %.o: %.c
+ @echo '*' Compiling $<
+ @$(CC) -c $(CFLAGS) $< -o $@
+
+jabberr.o: $(objects)
+ @echo '*' Linking jabberr.o
+ @$(LD) $(LFLAGS) $(objects) -o jabberr.o