chiark / gitweb /
EXTRAS/Makefile: fix install targets to match main Makefile
[elogind.git] / extras / run_directory / Makefile
index 12dccf074973f8d6614c459959061cbec3d1079c..38ef7b128ee528b8a60051b9d45328a8ea70abea 100644 (file)
@@ -1,6 +1,6 @@
-# Makefile for udev_volume_id
+# Makefile for run_directory
 #
-# Copyright (C) 2004 Kay Sievers <kay.sievers@vrfy.org>
+# Copyright (C) 2005 Kay Sievers <kay.sievers@vrfy.org>
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -29,9 +29,7 @@ INSTALL_PROGRAM = ${INSTALL}
 INSTALL_DATA  = ${INSTALL} -m 644
 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
 
-override CFLAGS+=-D_FILE_OFFSET_BITS=64
-
-OBJS = ../../udev.a ../../libsysfs/sysfs.a
+OBJS = $(LIBUDEV)
 
 .c.o:
        $(QUIET) $(CC) $(CFLAGS) -c -o $@ $<
@@ -47,9 +45,9 @@ clean:
 
 spotless: clean
 
-install: all
+install-bin: all
        $(INSTALL_PROGRAM) $(DEVD) $(DESTDIR)$(sbindir)/$(DEVD)
        $(INSTALL_PROGRAM) $(HOTPLUGD) $(DESTDIR)$(sbindir)/$(HOTPLUGD)
 
-uninstall:
+uninstall-bin:
        - rm $(DESTDIR)$(sbindir)/$(DEVD)