X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=Makefile;h=11dba7d73c584f74966487b7b5cb1c4da82f4e3d;hb=a83b8624f7a504b52e6432e049df69f41cc9ce75;hp=a2754671db3ee6017299ef9ac16c545d8d3e012a;hpb=661165812e3410fe2f6f49d7af882b36a0efcf82;p=melted diff --git a/Makefile b/Makefile index a275467..11dba7d 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,37 @@ -SUBDIRS = src/framework src/valerie src/modules # src/miracle src/humperdink +include config.mak -all clean dist-clean depend install: +SUBDIRS = src/framework \ + src/modules \ + src/inigo \ + src/valerie \ + src/miracle \ + src/humperdink \ + src/albino + +all clean depend: + list='$(SUBDIRS)'; \ + for subdir in $$list; do \ + $(MAKE) -C $$subdir $@; \ + done + +dist-clean: + rm mlt-config packages.dat config.mak; \ list='$(SUBDIRS)'; \ for subdir in $$list; do \ $(MAKE) -C $$subdir $@; \ done + +install: + install -d "$(prefix)/bin" + install -d "$(prefix)/include" + install -d "$(prefix)/lib" + install -d "$(prefix)/share/mlt/modules" + install -c -m 755 mlt-config "$(bindir)" + install -m 644 packages.dat "$(prefix)/share/mlt/" + list='$(SUBDIRS)'; \ + for subdir in $$list; do \ + $(MAKE) -C $$subdir $@; \ + done; \ + /sbin/ldconfig || true +