blob: aec6d841ad0f5a4f976a3a3de122b3b4c846173b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
lib-so += $(CRIU-SO)
obj-y += criu.o
obj-ext-src-y += protobuf/rpc.pb-c.o
includes += -iquote $(obj)/../arch/$(ARCH)/include -iquote $(obj)/../include -iquote $(obj)/.. -iquote $(obj)/../protobuf
cflags-y += $(includes) -fPIC -Wa,--noexecstack -fno-stack-protector
cflags-so += -rdynamic -Wl,-soname,$(lib-so).so.$(VERSION_SO_MAJOR)
ldflags-so += -lprotobuf-c
.SECONDARY:
ifneq ($(MAKECMDGOALS),clean)
incdeps := y
endif
|