tkurbad-overlay/dev-android/adb/files/Makefile

51 lines
981 B
Makefile
Raw Normal View History

2012-11-29 13:31:41 +01:00
SRCS+= adb.c
SRCS+= adb_client.c
SRCS+= commandline.c
SRCS+= console.c
SRCS+= fdevent.c
SRCS+= file_sync_client.c
2013-03-11 17:44:39 +01:00
SRCS+= file_sync_service.c
SRCS+= framebuffer_service.c
2012-11-29 13:31:41 +01:00
SRCS+= get_my_path_linux.c
SRCS+= services.c
SRCS+= sockets.c
SRCS+= transport.c
SRCS+= transport_local.c
SRCS+= transport_usb.c
SRCS+= usb_linux.c
2013-03-11 17:44:39 +01:00
SRCS+= usb_linux_client.c
2012-11-29 13:31:41 +01:00
SRCS+= usb_vendors.c
2013-03-11 17:44:39 +01:00
SRCS+= utils.c
2012-11-29 13:31:41 +01:00
VPATH+= ../libcutils
SRCS+= list.c
SRCS+= load_file.c
SRCS+= socket_inaddr_any_server.c
SRCS+= socket_local_client.c
SRCS+= socket_local_server.c
SRCS+= socket_loopback_client.c
SRCS+= socket_loopback_server.c
SRCS+= socket_network_client.c
VPATH+= ../libzipfile
SRCS+= centraldir.c
SRCS+= zipfile.c
CPPFLAGS+= -DADB_HOST=1
CPPFLAGS+= -DHAVE_FORKEXEC=1
CPPFLAGS+= -I.
CPPFLAGS+= -I../include
LIBS+= -lpthread -lz
OBJS= $(SRCS:.c=.o)
all: adb
adb: $(OBJS)
cc -o $@ $(LDFLAGS) $(OBJS) $(LIBS)
install:
test -d '$(DESTDIR)/usr/bin' || mkdir -p '$(DESTDIR)/usr/bin'
cp adb '$(DESTDIR)/usr/bin'