make (771:f349b2d68e75) make (805:9d08482cca9c)
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) Valentin V. Bartenev
4# Copyright (C) NGINX, Inc.
5
6. auto/cc/deps
7
8$echo "creating $NXT_MAKEFILE"

--- 263 unchanged lines hidden (view full) ---

272uninstall: ${NXT_DAEMON}-uninstall
273
274${NXT_DAEMON}-uninstall:
275 rm -f \$(DESTDIR)$NXT_SBINDIR/$NXT_DAEMON
276 @rmdir -p \$(DESTDIR)$NXT_SBINDIR 2>/dev/null || true
277
278END
279
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) Valentin V. Bartenev
4# Copyright (C) NGINX, Inc.
5
6. auto/cc/deps
7
8$echo "creating $NXT_MAKEFILE"

--- 263 unchanged lines hidden (view full) ---

272uninstall: ${NXT_DAEMON}-uninstall
273
274${NXT_DAEMON}-uninstall:
275 rm -f \$(DESTDIR)$NXT_SBINDIR/$NXT_DAEMON
276 @rmdir -p \$(DESTDIR)$NXT_SBINDIR 2>/dev/null || true
277
278END
279
280cat << END >> $NXT_MAKEFILE
281
282.PHONY: libunit-install libunit-uninstall
283
284libunit-install: $NXT_BUILD_DIR/$NXT_LIB_UNIT_STATIC
285 install -d \$(DESTDIR)$NXT_LIBDIR
286 install -p -m u=rw,go=r $NXT_BUILD_DIR/$NXT_LIB_UNIT_STATIC \
287 \$(DESTDIR)$NXT_LIBDIR/
288 install -d \$(DESTDIR)$NXT_INCDIR
289 install -p -m u=rw,go=r src/nxt_unit.h src/nxt_unit_field.h \
290 src/nxt_unit_request.h src/nxt_unit_response.h src/nxt_unit_sptr.h \
291 src/nxt_unit_typedefs.h \$(DESTDIR)$NXT_INCDIR/
292
293libunit-uninstall:
294 rm -f \$(DESTDIR)$NXT_LIBDIR/$NXT_LIB_UNIT_STATIC
295 @rmdir -p \$(DESTDIR)$NXT_LIBDIR 2>/dev/null || true
296 rm -f \$(DESTDIR)$NXT_INCDIR/nxt_unit.h \
297 \$(DESTDIR)$NXT_INCDIR/nxt_unit_field.h \
298 \$(DESTDIR)$NXT_INCDIR/nxt_unit_request.h \
299 \$(DESTDIR)$NXT_INCDIR/nxt_unit_response.h \
300 \$(DESTDIR)$NXT_INCDIR/nxt_unit_sptr.h \
301 \$(DESTDIR)$NXT_INCDIR/nxt_unit_typedefs.h
302 @rmdir -p \$(DESTDIR)$NXT_INCDIR 2>/dev/null || true
303
304END
305
280# Makefile.
281# *.dSYM is MacOSX Clang debug information.
282
283cat << END > Makefile
284
285include $NXT_MAKEFILE
286
287.PHONY: clean
288clean:
289 rm -rf $NXT_BUILD_DIR *.dSYM Makefile
290
291END
306# Makefile.
307# *.dSYM is MacOSX Clang debug information.
308
309cat << END > Makefile
310
311include $NXT_MAKEFILE
312
313.PHONY: clean
314clean:
315 rm -rf $NXT_BUILD_DIR *.dSYM Makefile
316
317END