提交 cd62e07e 编写于 作者: M matt mooney 提交者: Greg Kroah-Hartman

staging: usbip: userspace: cleanup makefiles

Remove unneeded comments; change deprecated flag INCLUDE to
AM_CPPFLAGS and put -D option in *_CPPFLAGS; and use "simply
expanded variables" in assignments.
Signed-off-by: Nmatt mooney <mfm@muteddisk.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 af8bab06
SUBDIRS = libsrc src SUBDIRS := libsrc src
includedir=@includedir@/usbip includedir := @includedir@/usbip
include_HEADERS := $(addprefix libsrc/, \ include_HEADERS := $(addprefix libsrc/, \
usbip.h usbip_common.h vhci_driver.h stub_driver.h) usbip.h usbip_common.h vhci_driver.h stub_driver.h)
dist_man_MANS := $(addprefix doc/, usbip.8 usbipd.8 usbip_bind_driver.8) dist_man_MANS := $(addprefix doc/, usbip.8 usbipd.8 usbip_bind_driver.8)
if INSTALL_USBIDS if INSTALL_USBIDS
pkgdata_DATA = usb.ids pkgdata_DATA := usb.ids
EXTRA_DIST = $(pkgdata_DATA) EXTRA_DIST := $(pkgdata_DATA)
endif endif
# AM_CFLAGS = -Wall -std=gnu99 libusbip_la_CPPFLAGS := -DUSBIDS_FILE='"@USBIDS_DIR@/usb.ids"'
lib_LTLIBRARIES = libusbip.la libusbip_la_CFLAGS := @EXTRA_CFLAGS@ -Wall -W -Wstrict-prototypes -std=gnu99
libusbip_la_SOURCES = names.c names.h stub_driver.c stub_driver.h usbip.h usbip_common.c usbip_common.h vhci_driver.c vhci_driver.h libusbip_la_LDFLAGS := -version-info 0:1:0
#libusbip_la_SOURCES = names.c names.h stub_driver.c usbip_common.c vhci_driver.c
#INCLUDES = -I../include
#AM_CPPFLAGS = -I../include -Wall -std=gnu99
libusbip_la_LDFLAGS = -version-info 0:1:0
EXTRA_CFLAGS = @EXTRA_CFLAGS@
libusbip_la_CFLAGS = -Wall -W -Wstrict-prototypes -std=gnu99 $(EXTRA_CFLAGS) -DUSBIDS_FILE='"@USBIDS_DIR@/usb.ids"'
lib_LTLIBRARIES := libusbip.la
libusbip_la_SOURCES := names.c names.h stub_driver.c stub_driver.h usbip.h \
usbip_common.c usbip_common.h vhci_driver.c vhci_driver.h
# $Id$ AM_CPPFLAGS := -I$(top_srcdir)/libsrc -DUSBIDS_FILE='"@USBIDS_DIR@/usb.ids"'
AM_CFLAGS := @EXTRA_CFLAGS@ -Wall -W -Wstrict-prototypes -std=gnu99 @PACKAGE_CFLAGS@
LDADD := $(top_srcdir)/libsrc/libusbip.la @PACKAGE_LIBS@
sbin_PROGRAMS = usbip usbipd usbip_bind_driver sbin_PROGRAMS := usbip usbipd usbip_bind_driver
usbip_SOURCES = usbip.c usbip_network.c usbip_network.h
usbipd_SOURCES = usbipd.c usbip_network.c usbip_network.h
usbip_bind_driver_SOURCES = bind-driver.c \
utils.c utils.h \
usbip_network.h usbip_network.c
#usbip_bind_driver_CFLAGS = -Wall -W -Wstrict-prototypes @PACKAGE_CFLAGS@
#usbip_bind_driver_LDADD = @PACKAGE_LIBS@
#AM_CPPFLAGS = -I../include -Wall -std=gnu99
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"'
usbip_SOURCES := usbip.c usbip_network.c usbip_network.h
usbipd_SOURCES := usbipd.c usbip_network.c usbip_network.h
usbip_bind_driver_SOURCES := bind-driver.c utils.c utils.h \
usbip_network.h usbip_network.c
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册