Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F28578080
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
708 B
Referenced Files
None
Subscribers
None
Makefile
View Options
MAJOR_VERSION=0
VERSION=0.1.0
TCL_INCLUDE=/usr/include/tcl8.6
RABBITMQ_INCLUDE=/usr/include
INCLUDES=-I$(TCL_INCLUDE) -I$(RABBITMQ_INCLUDE)
LIBS=-ltcl8.6
#CCOPTS=-DUSE_TCL_STUBS=1
CC=clang ${CCOPTS} ${INCLUDES} ${LIBS}
RM=rm -f
# Main targets
all: print-banner rabbitmq.so
clean:
$(RM) core *.o *.so *.so.${VERSION}
# Dev targets
lint:
arc lint --apply-patches
demo:
rlwrap tclsh
rebuild: clean lint all demo
# Helpers
print-banner:
@cat doc/banner
@date
# Files targets
rabbitmq.so: rabbitmq.o
${CC} -shared -Wl,-soname,rabbitmq.so.${MAJOR_VERSION} -o rabbitmq.so.${VERSION} rabbitmq.o
ln -s rabbitmq.so.${VERSION} rabbitmq.so
rabbitmq.o:
${CC} -c -fPIC rabbitmq-tcl.c -o rabbitmq.o
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Fri, May 15, 11:56 (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3713195
Default Alt Text
Makefile (708 B)
Attached To
Mode
rRABBITMQTCL RabbitMQ TCL extension
Attached
Detach File
Event Timeline
Log In to Comment