]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: usbip: userspace: rename source directories
authormatt mooney <mfm@muteddisk.com>
Sat, 14 May 2011 10:55:09 +0000 (03:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 20:26:25 +0000 (13:26 -0700)
Rename cmd/ to src/ and lib/ to libsrc/.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20 files changed:
drivers/staging/usbip/userspace/Makefile.am
drivers/staging/usbip/userspace/configure.ac
drivers/staging/usbip/userspace/libsrc/Makefile.am [moved from drivers/staging/usbip/userspace/lib/Makefile.am with 100% similarity]
drivers/staging/usbip/userspace/libsrc/names.c [moved from drivers/staging/usbip/userspace/lib/names.c with 100% similarity]
drivers/staging/usbip/userspace/libsrc/names.h [moved from drivers/staging/usbip/userspace/lib/names.h with 100% similarity]
drivers/staging/usbip/userspace/libsrc/stub_driver.c [moved from drivers/staging/usbip/userspace/lib/stub_driver.c with 100% similarity]
drivers/staging/usbip/userspace/libsrc/stub_driver.h [moved from drivers/staging/usbip/userspace/lib/stub_driver.h with 100% similarity]
drivers/staging/usbip/userspace/libsrc/usbip.h [moved from drivers/staging/usbip/userspace/lib/usbip.h with 100% similarity]
drivers/staging/usbip/userspace/libsrc/usbip_common.c [moved from drivers/staging/usbip/userspace/lib/usbip_common.c with 100% similarity]
drivers/staging/usbip/userspace/libsrc/usbip_common.h [moved from drivers/staging/usbip/userspace/lib/usbip_common.h with 100% similarity]
drivers/staging/usbip/userspace/libsrc/vhci_driver.c [moved from drivers/staging/usbip/userspace/lib/vhci_driver.c with 100% similarity]
drivers/staging/usbip/userspace/libsrc/vhci_driver.h [moved from drivers/staging/usbip/userspace/lib/vhci_driver.h with 100% similarity]
drivers/staging/usbip/userspace/src/Makefile.am [moved from drivers/staging/usbip/userspace/cmd/Makefile.am with 88% similarity]
drivers/staging/usbip/userspace/src/bind-driver.c [moved from drivers/staging/usbip/userspace/cmd/bind-driver.c with 100% similarity]
drivers/staging/usbip/userspace/src/usbip.c [moved from drivers/staging/usbip/userspace/cmd/usbip.c with 100% similarity]
drivers/staging/usbip/userspace/src/usbip_network.c [moved from drivers/staging/usbip/userspace/cmd/usbip_network.c with 100% similarity]
drivers/staging/usbip/userspace/src/usbip_network.h [moved from drivers/staging/usbip/userspace/cmd/usbip_network.h with 100% similarity]
drivers/staging/usbip/userspace/src/usbipd.c [moved from drivers/staging/usbip/userspace/cmd/usbipd.c with 100% similarity]
drivers/staging/usbip/userspace/src/utils.c [moved from drivers/staging/usbip/userspace/cmd/utils.c with 100% similarity]
drivers/staging/usbip/userspace/src/utils.h [moved from drivers/staging/usbip/userspace/cmd/utils.h with 100% similarity]

index c0769526828b552cd312f3828e2f3997caa5588d..3be3060a05f17f4104e3eedee3681f325ce6370d 100644 (file)
@@ -1,6 +1,7 @@
-SUBDIRS = lib cmd
+SUBDIRS = libsrc src
 includedir=@includedir@/usbip
-include_HEADERS = lib/usbip.h lib/usbip_common.h lib/vhci_driver.h lib/stub_driver.h
+include_HEADERS := $(addprefix libsrc/, \
+                    usbip.h usbip_common.h vhci_driver.h stub_driver.h)
 
 dist_man_MANS := $(addprefix doc/, usbip.8 usbipd.8 usbip_bind_driver.8)
 
index 6de5bc721f36b75e756269f7573255ee804acd59..24fd8ae430f2249843975a7813c69a0ac003f1a7 100644 (file)
@@ -101,5 +101,5 @@ PKG_CHECK_MODULES(PACKAGE, glib-2.0 >= $GLIB2_REQUIRED)
 AC_SUBST(PACKAGE_CFLAGS)
 AC_SUBST(PACKAGE_LIBS)
 
-AC_CONFIG_FILES([Makefile lib/Makefile cmd/Makefile])
+AC_CONFIG_FILES([Makefile libsrc/Makefile src/Makefile])
 AC_OUTPUT
similarity index 88%
rename from drivers/staging/usbip/userspace/cmd/Makefile.am
rename to drivers/staging/usbip/userspace/src/Makefile.am
index 5cc50fc71de2ff30363e9b00e5b28a428022a3cf..3717fc5f0b21ad6e0a97940b4817e0c2dc4eb622 100644 (file)
@@ -12,8 +12,8 @@ usbip_bind_driver_SOURCES = bind-driver.c \
 #usbip_bind_driver_LDADD = @PACKAGE_LIBS@
 
 #AM_CPPFLAGS = -I../include -Wall -std=gnu99
-INCLUDES = -I$(top_srcdir)/lib
-LDADD = ../lib/libusbip.la @PACKAGE_LIBS@
+INCLUDES = -I$(top_srcdir)/libsrc
+LDADD = ../libsrc/libusbip.la @PACKAGE_LIBS@
 EXTRA_CFLAGS = @EXTRA_CFLAGS@
 AM_CFLAGS = -Wall -W -Wstrict-prototypes -std=gnu99 $(EXTRA_CFLAGS) @PACKAGE_CFLAGS@ -DUSBIDS_FILE='"@USBIDS_DIR@/usb.ids"'