diff Makefile @ 129:4f6d9621ee00

add multi session streaming & add depending librarys. - libupnp-1.6.6 - libdlna-0.2.3
author Naoya OYAMA <naoya.oyama@gmail.com>
date Sun, 10 Oct 2010 15:33:18 +0900
parents e413158cae13
children 5eab7c73a28a
line wrap: on
line diff
--- a/Makefile	Tue Oct 05 01:55:54 2010 +0900
+++ b/Makefile	Sun Oct 10 15:33:18 2010 +0900
@@ -7,6 +7,9 @@
 
 EXTRADIST = configure \
 
+EXTRALIBS = libupnp-1.6.6 \
+	libdlna-0.2.3 \
+
 SUBDIRS = src \
 
 all:
@@ -18,11 +21,19 @@
 	for subdir in $(SUBDIRS); do \
 	  $(MAKE) -C $$subdir $@; \
 	done
+	for subdir in $(EXTRALIBS); do \
+	  $(MAKE) uninstall; \
+	  $(MAKE) -C $$subdir $@; \
+	done
 
 distclean: clean
 	for subdir in $(SUBDIRS); do \
 	  $(MAKE) -C $$subdir $@; \
 	done
+	for subdir in $(EXTRALIBS); do \
+	  $(MAKE) uninstall; \
+	  $(MAKE) -C $$subdir $@; \
+	done
 	-$(RM) -f config.log
 	-$(RM) -f config.mak
 	-$(RM) -f config.h