Source

mod_gridfs / gridfs / Makefile

#
#  Makefile -- Build procedure for mod_gridfs Apache module
#
#  See LICENSE file for licensing details.
#

#   Set build environment
APXS=apxs2
CXX=g++

#	Set MongoDB C++ driver location
mongo_includedir=../mongo-cxx-driver/src
mongo_libdir=../mongo-cxx-driver

#	Determine paths using apxs
builddir=.
top_srcdir=$(shell $(APXS) -q installbuilddir)/..
top_builddir=$(shell $(APXS) -q installbuilddir)/..
_CXX:=$(CXX)
include $(top_builddir)/build/special.mk
CXX=$(_CXX)

#   Additional defines, includes and libraries
#DEFS=-D
INCLUDES=-I$(mongo_includedir) -I$(mongo_includedir)/mongo
SH_LIBS=-L$(mongo_libdir) -lstdc++ -lmongoclient -lboost_thread -lboost_filesystem -lboost_system

#   the default target
all: local-shared-build

#   install the shared object file into Apache 
install: install-modules-yes

#   cleanup
clean:
	-rm -f mod_gridfs.o mod_gridfs.lo mod_gridfs.slo mod_gridfs.la 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.