1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-25 17:43:09 +02:00

Added Makefile to build/install/etc. all the ATSPI utilities.

- tools/Makefile: build/install/etc. all the ATSPI utilities
- Makefile.recurse: general targets for recursive make (from IDBG)
This commit is contained in:
Werner Almesberger 2010-08-22 06:28:40 -03:00
parent 419b596c5d
commit e514c0fff9
2 changed files with 48 additions and 0 deletions

32
Makefile.recurse Normal file
View File

@ -0,0 +1,32 @@
#
# Makefile.recurse - Recursively build a few standard targets
#
# Written 2008, 2009 by Werner Almesberger
# Copyright 2008, 2009 Werner Almesberger
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
.PHONY: all install uninstall clean spotless
all:
for d in $(DIRS) $(TARGET_ONLY_DIRS); \
do make -C $$d all || exit 1; done
install:
for d in $(DIRS); do make -C $$d install || exit 1; done
uninstall:
for d in $(DIRS); do make -C $$d uninstall || exit 1; done
clean:
for d in $(DIRS) $(TARGET_ONLY_DIRS); do \
make -C $$d clean || exit 1; done
spotless:
for d in $(DIRS) $(TARGET_ONLY_DIRS); do \
make -C $$d spotless || exit 1; done

16
tools/Makefile Normal file
View File

@ -0,0 +1,16 @@
#
# tools/Makefile - Build the ATSPI-specific tools
#
# Written 2010 by Werner Almesberger
# Copyright 2010 Werner Almesberger
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
DIRS=atspi-id atspi-reset atspi-rssi
include ../Makefile.recurse