2014-02-05 18:28:00 +04:00
|
|
|
lib-so += $(CRIU-SO)
|
2013-08-28 23:57:47 +04:00
|
|
|
obj-y += criu.o
|
2013-12-18 01:04:38 +04:00
|
|
|
obj-ext-src-y += protobuf/rpc.pb-c.o
|
2013-07-18 21:47:11 +04:00
|
|
|
|
2014-02-07 12:04:37 -05:00
|
|
|
includes += -iquote $(obj)/../$(ARCH_DIR)/include -iquote $(obj)/../include -iquote $(obj)/.. -iquote $(obj)/../protobuf
|
2013-09-02 16:18:57 +04:00
|
|
|
cflags-y += $(includes) -fPIC -Wa,--noexecstack -fno-stack-protector
|
2014-02-07 12:04:36 -05:00
|
|
|
cflags-so += $(CFLAGS) -rdynamic -Wl,-soname,$(lib-so).so.$(VERSION_SO_MAJOR)
|
2013-12-18 01:04:38 +04:00
|
|
|
ldflags-so += -lprotobuf-c
|
2013-07-18 21:47:11 +04:00
|
|
|
|
2013-08-28 23:57:47 +04:00
|
|
|
.SECONDARY:
|
2013-07-18 21:47:11 +04:00
|
|
|
|
2013-08-28 23:57:47 +04:00
|
|
|
ifneq ($(MAKECMDGOALS),clean)
|
|
|
|
incdeps := y
|
|
|
|
endif
|