2024-01-05 20:24:01 +01:00
|
|
|
SRCS+= adb.c
|
2024-01-05 20:24:01 +01:00
|
|
|
SRCS+= adb_auth_host.c
|
2024-01-05 20:24:01 +01:00
|
|
|
SRCS+= adb_client.c
|
|
|
|
SRCS+= commandline.c
|
|
|
|
SRCS+= console.c
|
|
|
|
SRCS+= fdevent.c
|
2024-01-05 20:24:01 +01:00
|
|
|
SRCS+= file_sync_client.c
|
2024-01-05 20:24:01 +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
|
|
|
|
SRCS+= usb_vendors.c
|
|
|
|
|
|
|
|
VPATH+= ../libcutils
|
2024-01-05 20:24:01 +01:00
|
|
|
SRCS+= list.c
|
|
|
|
SRCS+= load_file.c
|
2024-01-05 20:24:01 +01:00
|
|
|
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
|
|
|
|
|
2024-01-05 20:24:01 +01:00
|
|
|
LIBS+= -lcrypto -lpthread -lz
|
2024-01-05 20:24:01 +01:00
|
|
|
|
|
|
|
OBJS= $(SRCS:.c=.o)
|
|
|
|
|
|
|
|
all: adb
|
|
|
|
|
|
|
|
adb: $(OBJS)
|
2024-01-05 20:24:01 +01:00
|
|
|
cc -o $@ $(LDFLAGS) $(OBJS) $(LIBS)
|