]> git.ipfire.org Git - ipfire-2.x.git/blame - src/hwinfo/src/hd/Makefile
Signierten GPG-Schluessel importiert.
[ipfire-2.x.git] / src / hwinfo / src / hd / Makefile
CommitLineData
93afd047
MT
1TOPDIR = ../..
2TARGETS = $(LIBHD_D)
3CLEANFILES = version.h
4
5include $(TOPDIR)/Makefile.common
6
7version.h: $(TOPDIR)/VERSION
8 @echo "#define HD_VERSION_STRING \"`cat $(TOPDIR)/VERSION`\"" >$@
9
10hd.h: $(TOPDIR)/VERSION
11 @perl -pi -e "s/define\s+HD_VERSION\s+\d+/define HD_VERSION\t$(LIBHD_MAJOR_VERSION)/" $@
12
13$(LIBHD_D): $(OBJS)
14 ar r $(LIBHD) $?