chiark / gitweb /
EXTRAS/Makefile: fix install targets to match main Makefile
[elogind.git] / extras / ata_id / Makefile
index ad79a0d836ce8eaa2d1bc5b50b2a04fdb2ca3af3..769b7e3c2d7ca119745f20d6d85ab8dca98aa909 100644 (file)
@@ -1,4 +1,4 @@
-# Makefile for udev_volume_id
+# Makefile for ata_id
 #
 # Copyright (C) 2004 Kay Sievers <kay.sievers@vrfy.org>
 #
@@ -28,9 +28,7 @@ INSTALL_PROGRAM = ${INSTALL}
 INSTALL_DATA  = ${INSTALL} -m 644
 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
 
-override CFLAGS+=-D_FILE_OFFSET_BITS=64
-
-OBJS = ata_id.o ../../udev.a
+OBJS = ata_id.o $(LIBUDEV)
 
 $(OBJS): $(HEADERS)
 
@@ -45,8 +43,8 @@ clean:
 
 spotless: clean
 
-install: all
+install-bin: all
        $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG)
 
-uninstall:
+uninstall-bin:
        - rm $(DESTDIR)$(sbindir)/$(PROG)