Makefile
上传用户:sunvoinfo
上传日期:2007-01-04
资源大小:91k
文件大小:1k
- # Edit PIKE_SRC_DIR (the source directory of Pike, for includes),
- # PIKE_BUILD_DIR
- # and ROXEN_BASE_DIR (usually /usr/local/roxen)
- PIKE_SRC_DIR=/usr/local/src/roxen_1.3.121/pike/0.6/src
- PIKE_BUILD_DIR=/usr/local/src/roxen_1.3.121/build/linux/pike/0.6/src
- ROXEN_BASE_DIR=/usr/local/roxen
- OBJS=fastimho.o
- CC=gcc
- PIKE_INCLUDES=-I$(PIKE_SRC_DIR) -I$(PIKE_BUILD_DIR)
- PREFLAGS=-I. $(PIKE_INCLUDES) $(MODULE_CPPFLAGS) $(DEFINES) -DDYNAMIC_MODULE
- CFLAGS=$(PREFLAGS) $(OTHERFLAGS) -fpic $(MODULE_CFLAGS) -O2
- FastIMHO.so: $(OBJS)
- $(CC) $(CFLAGS) -shared -o FastIMHO.so $(OBJS)
- install: FastIMHO.so
- cp -f FastIMHO.so $(ROXEN_BASE_DIR)/server/lib/pike/modules/