X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=extras%2Ffirmware%2FMakefile;h=cfc7cd51537feecae212016cbfe2f694ae8cc3f4;hb=f566b05b572492e4e7a684a5b04231412d71d0bd;hp=16918867fc2c0bb62c8ef12df3cde0af89ec0778;hpb=e0dc4f00baaa4ad328aa13362fcf25e7ec2ae2f6;p=elogind.git diff --git a/extras/firmware/Makefile b/extras/firmware/Makefile index 16918867f..cfc7cd515 100644 --- a/extras/firmware/Makefile +++ b/extras/firmware/Makefile @@ -1,14 +1,11 @@ # Makefile for udev extra invoked from the udev main Makefile # -# Copyright (C) 2004-2005 Kay Sievers +# Copyright (C) 2004-2006 Kay Sievers # # Released under the GNU General Public License, version 2. # -PROG = firmware_helper -OBJ = -HEADERS = -GEN_HEADERS = +PROG = firmware.sh MAN_PAGES = prefix = @@ -29,22 +26,14 @@ all: $(PROG) $(MAN_PAGES) .PHONY: all .DEFAULT: all -%.o: %.c $(GEN_HEADERS) - $(QUIET) $(CC) -c $(CFLAGS) $< -o $@ - -$(PROG): %: $(HEADERS) %.o $(OBJS) - $(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS) -ifneq ($(strip $(STRIPCMD)),) - $(QUIET) $(STRIPCMD) $@ -endif - # man pages %.8: %.xml - xmlto man $? + $(E) " XMLTO " $@ + $(Q) xmlto man $? .PRECIOUS: %.8 clean: - rm -f $(PROG) $(OBJS) $(GEN_HEADERS) + $(E) " CLEAN " .PHONY: clean install-bin: all @@ -57,7 +46,7 @@ uninstall-bin: install-man: @echo "Please create a man page for this tool." -.PHONY: uninstall-man +.PHONY: install-man uninstall-man: @echo "Please create a man page for this tool." @@ -66,3 +55,4 @@ uninstall-man: install-config: @echo "no config file to install" .PHONY: install-config +