2009-08-22 03:11:33 +00:00
|
|
|
OBJ_SHM=io_shm.o
|
|
|
|
|
|
|
|
STATIC_OBJ+=${OBJ_SHM}
|
2010-01-15 01:56:43 +01:00
|
|
|
TARGET_SHM=io_shm.${EXT_SO}
|
2009-08-22 03:11:33 +00:00
|
|
|
ALL_TARGETS+=${TARGET_SHM}
|
|
|
|
|
2011-07-13 10:14:30 +02:00
|
|
|
ifeq (${WITHPIC},0)
|
|
|
|
LINKFLAGS+=../../util/libr_util.a
|
|
|
|
LINKFLAGS+=../../io/libr_io.a
|
|
|
|
else
|
|
|
|
LINKFLAGS+=-L../../util -lr_util
|
2014-01-18 02:52:49 +01:00
|
|
|
LINKFLAGS+=-L.. -lr_io
|
2011-07-13 10:14:30 +02:00
|
|
|
endif
|
|
|
|
|
2009-08-22 03:11:33 +00:00
|
|
|
${TARGET_SHM}: ${OBJ_SHM}
|
2015-01-27 17:46:56 +01:00
|
|
|
${CC_LIB} $(call libname,io_shm) ${CFLAGS} $(LDFLAGS) \
|
|
|
|
-o ${TARGET_SHM} ${OBJ_SHM} ${LINKFLAGS}
|