]> git.ipfire.org Git - thirdparty/systemd.git/blame - klibc/Makefile
[PATCH] fix up Makefile for wait_for_sysfs udev_version.h dependancy
[thirdparty/systemd.git] / klibc / Makefile
CommitLineData
3555a14b 1VERSION := $(shell cat version)
a41a0e28 2SUBDIRS = klibc
f0083e3d 3
a41a0e28
GKH
4all:
5
3555a14b
GKH
6rpmbuild = $(shell which rpmbuild 2>/dev/null || which rpm)
7
8klibc.spec: klibc.spec.in version
9 sed -e 's/@@VERSION@@/$(VERSION)/g' < $< > $@
10
11.PHONY: rpm
12rpm: klibc.spec
a0622777 13 +$(rpmbuild) -bb klibc.spec --target=$(ARCH)
3555a14b 14
a41a0e28
GKH
15%:
16 @set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
3555a14b
GKH
17
18clean:
19 @set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
20
21spotless:
22 @set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
23 rm -f klibc.spec *~ tags