mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
volume_id: rename subdirectory
This commit is contained in:
parent
b5e6942671
commit
83cc6ab476
@ -31,12 +31,12 @@ all: $(PROG) $(MAN_PAGES)
|
||||
$(E) " CC " $@
|
||||
$(Q) $(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
libvolume_id/libvolume_id.a:
|
||||
$(Q) $(MAKE) -C libvolume_id
|
||||
lib/libvolume_id.a:
|
||||
$(Q) $(MAKE) -C lib
|
||||
|
||||
$(PROG): %: $(HEADERS) %.o libvolume_id/libvolume_id.a
|
||||
$(PROG): %: $(HEADERS) %.o lib/libvolume_id.a
|
||||
$(E) " LD " $@
|
||||
$(Q) $(LD) $(LDFLAGS) -o $@ $@.o $(LIBUDEV) libvolume_id/libvolume_id.a $(LIB_OBJS)
|
||||
$(Q) $(LD) $(LDFLAGS) -o $@ $@.o $(LIBUDEV) lib/libvolume_id.a $(LIB_OBJS)
|
||||
ifneq ($(strip $(STRIPCMD)),)
|
||||
$(E) " STRIP " $@
|
||||
$(Q) $(STRIPCMD) $@
|
||||
@ -51,17 +51,17 @@ endif
|
||||
clean:
|
||||
$(E) " CLEAN "
|
||||
$(Q) rm -f $(PROG) $(OBJS) $(GEN_HEADERS)
|
||||
$(Q) $(MAKE) -C libvolume_id clean
|
||||
$(Q) $(MAKE) -C lib clean
|
||||
.PHONY: clean
|
||||
|
||||
install-bin: all
|
||||
$(INSTALL_PROGRAM) -D $(PROG) $(DESTDIR)$(sbindir)/$(PROG)
|
||||
$(MAKE) -C libvolume_id install
|
||||
$(MAKE) -C lib install
|
||||
.PHONY: install-bin
|
||||
|
||||
uninstall-bin:
|
||||
- rm $(DESTDIR)$(sbindir)/$(PROG)
|
||||
$(MAKE) -C libvolume_id uninstall
|
||||
$(MAKE) -C lib uninstall
|
||||
.PHONY: uninstall-bin
|
||||
|
||||
install-man:
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "../../udev.h"
|
||||
#include "libvolume_id/libvolume_id.h"
|
||||
#include "lib/libvolume_id.h"
|
||||
|
||||
#define BLKGETSIZE64 _IOR(0x12,114,size_t)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user