Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Hard coded Makefile for windows
- CC = gcc
- all: memcached.exe default_engine.so
- CFLAGS = -std=gnu99 -O2 -DNDEBUG -fno-strict-aliasing -Wall \
- -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls \
- -Iinclude -Iwin32 -I/include -DHAVE_CONFIG_H
- MEMCACHED_OBJS = cache.o config_parser.o globals.o hash.o isasl.o memcached.o \
- sasl_defs.o stats.o stdin_check.o thread.o util.o win32/defs.o win32/dlfcn.o \
- win32/ntservice.o win32/win32.o
- DEFAULT_ENGINE_OBJS = assoc.o default_engine.o items.o slabs.o util.o
- memcached.exe: win32/config_version.h $(MEMCACHED_OBJS)
- ${LINK.c} -o memcached.exe $(MEMCACHED_OBJS) -L/lib -levent -lmswsock \
- -lws2_32 -lpthread
- default_engine.so: libs $(DEFAULT_ENGINE_OBJS)
- ${LINK.c} -o .libs/default_engine.so -shared ${DEFAULT_ENGINE_OBJS} \
- -L/lib -lpthread
- win32/config_version.h:
- ./win32/config.sh
- libs: .libs
- mkdir .libs
- %.o: %.c
- ${COMPILE.c} -MD $< -o $@
Add Comment
Please, Sign In to add comment