Lines Matching +full:- +full:- +full:root

3 # License http://opensource.org/licenses/mit-license.php MIT License
10 include resources/Makefile.in-os
19 # http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
32 MKDIR = mkdir -p
33 RMF = rm -f
34 RMRF = rm -rf
36 # desired configuration of the document root
61 # to this variable so we can run lua-specific unit tests.
68 CFLAGS += -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -D$(TARGET_OS)
70 LIBS = -lpthread -lm
73 CFLAGS += -g -DDEBUG
75 CFLAGS += -O2 -DNDEBUG
113 include resources/Makefile.in-lua
130 include resources/Makefile.in-duktape
139 LIBS += -lz
140 CFLAGS += -DUSE_ZLIB
145 CFLAGS += -DMG_EXPERIMENTAL_INTERFACES
149 CFLAGS += -DUSE_IPV6
153 CFLAGS += -DUSE_WEBSOCKET
156 CFLAGS += -DUSE_WEBSOCKET
160 CFLAGS += -DUSE_SERVER_STATS
163 CFLAGS += -DUSE_SERVER_STATS
167 CFLAGS += -DDAEMONIZE -DPID_FILE=\"$(PID_FILE)\"
172 CFLAGS += -DCONFIG_FILE=\"$(CONFIG_FILE)\"
176 CFLAGS += -DCONFIG_FILE2=\"$(CONFIG_FILE2)\"
180 CFLAGS += -DSSL_LIB=\"$(SSL_LIB)\"
184 CFLAGS += -DCRYPTO_LIB=\"$(CRYPTO_LIB)\"
190 LIB_OBJECTS = $(filter-out $(MAIN_OBJECTS), $(BUILD_OBJECTS))
193 LIBS += -lrt -ldl
204 LIBS += -lluajit-5.1
211 ifneq (, $(findstring mingw32, $(shell $(CC) -dumpmachine)))
213 LIBS += -lws2_32 -mwindows
226 @echo "make install-headers install headers"
228 @echo "make install-lib install the static library"
230 @echo "make install-slib install the shared library"
244 @echo " WITH_ZLIB=1 build includes support for on-the-fly compression using zlib"
251 @echo " DOCUMENT_ROOT=/path document root override when installing"
256 @echo " COPT='-DNO_SSL' method to insert compile flags"
281 install -d -m 755 "$(DOCDIR)"
282 install -m 644 *.md "$(DOCDIR)"
283 install -d -m 755 "$(BINDIR)"
284 install -m 755 $(CPROG) "$(BINDIR)/"
286 install-headers:
287 install -m 644 $(HEADERS) "$(INCLUDEDIR)"
289 install-lib: lib$(CPROG).a
290 install -m 644 $< "$(LIBDIR)"
292 install-slib: lib$(CPROG).so
293 …$(eval version=$(shell grep -w "define CIVETWEB_VERSION" include/civetweb.h | sed 's|.*VERSION "\(…
294 $(eval major=$(shell echo $(version) | cut -d'.' -f1))
295 install -m 644 $< "$(LIBDIR)"
296 install -m 777 $<.$(major) "$(LIBDIR)"
297 install -m 777 $<.$(version).0 "$(LIBDIR)"
302 install -d -m 755 "$(HTMLDIR)"
303 install -m 644 resources/itworks.html $(HTMLDIR)/index.html
304 install -m 644 resources/civetweb_64x64.png $(HTMLDIR)/
309 install -d -m 755 "$(SYSCONFDIR)"
310 install -m 644 resources/civetweb.conf "$(SYSCONFDIR)/"
311 @sed -i 's#^document_root.*$$#document_root $(DOCUMENT_ROOT)#' "$(SYSCONFDIR)/civetweb.conf"
312 @sed -i 's#^listening_ports.*$$#listening_ports $(PORTS)#' "$(SYSCONFDIR)/civetweb.conf"
318 @echo "If the target is linux-like, use CAN_INSTALL=1 option."
327 …$(eval version=$(shell grep -w "define CIVETWEB_VERSION" include/civetweb.h | sed 's|.*VERSION "\(…
328 $(eval major=$(shell echo $(version) | cut -d'.' -f1))
342 $(LIB_OBJECTS): CFLAGS += -fPIC
344 lib$(CPROG).a: CFLAGS += -fPIC
349 lib$(CPROG).so: CFLAGS += -fPIC
351 …$(eval version=$(shell grep -w "define CIVETWEB_VERSION" include/civetweb.h | sed 's|.*VERSION "\(…
352 $(eval major=$(shell echo $(version) | cut -d'.' -f1))
353 $(LCC) -shared -Wl,-soname,$@.$(major) -o $@.$(version).0 $(CFLAGS) $(LDFLAGS) $(LIB_OBJECTS)
354 ln -s -f $@.$(major) $@
355 ln -s -f $@.$(version).0 $@.$(major)
357 lib$(CPROG).dll: CFLAGS += -fPIC
359 $(LCC) -shared -o $@ $(CFLAGS) $(LDFLAGS) $(LIB_OBJECTS) $(LIBS) -Wl,--out-implib,lib$(CPROG).dll.a
361 $(UNIT_TEST_PROG): CFLAGS += -Isrc -g
363 $(LCC) -o $@ $(CFLAGS) $(LDFLAGS) $(UNIT_TEST_SOURCES) $(BUILD_OBJECTS) $(LIBS)
366 $(LCC) -o $@ $(CFLAGS) $(LDFLAGS) $(BUILD_OBJECTS) $(BUILD_RESOURCES) $(LIBS)
369 $(CXX) -o $@ $(CFLAGS) $(LDFLAGS) $(BUILD_OBJECTS) $(LIBS)
374 -@$(MKDIR) "$@"
377 $(CXX) -c $(CFLAGS) $(CXXFLAGS) $< -o $@
380 $(CC) -c $(CFLAGS) $< -o $@
389 …astyle --suffix=none --style=linux --indent=spaces=4 --lineend=linux include/*.h src/*.c src/*.cp…