summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-05-15 10:21:31 -0700
committerEric Anholt <[email protected]>2012-06-11 09:28:00 -0700
commit7edbf4b3232eef7dac47a901829c586b61d8cbd2 (patch)
tree25d5e2e3cd561e28b2fad7258c7eb8402515e9e1 /src/Makefile
parent07abd913b654a1a04a90db6203a92a14e4ae795a (diff)
automake: Convert src/Makefile to automake.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/Makefile b/src/Makefile
deleted file mode 100644
index 4f65da0e3b7..00000000000
--- a/src/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-# src/Makefile
-
-TOP = ..
-
-include $(TOP)/configs/current
-
-SUBDIRS = $(SRC_DIRS)
-
-
-default: message $(TOP)/$(LIB_DIR) subdirs
-
-
-message:
- @echo "Making sources for" $(CONFIG_NAME)
-
-
-subdirs:
- @for dir in $(SUBDIRS) ; do \
- if [ -d $$dir ] ; then \
- (cd $$dir && $(MAKE)) || exit 1; \
- fi \
- done
-
-install: $(TOP)/$(LIB_DIR)
- @for dir in $(SUBDIRS) ; do \
- if [ -d $$dir ] ; then \
- (cd $$dir && $(MAKE) install) || exit 1 ; \
- fi \
- done
-
-$(TOP)/$(LIB_DIR):
- -@test -d $(TOP)/$(LIB_DIR) || mkdir -p $(TOP)/$(LIB_DIR)
-
-
-clean:
- -@for dir in $(SUBDIRS) ; do \
- if [ -d $$dir ] ; then \
- (cd $$dir && $(MAKE) clean) ; \
- fi \
- done