Makefile.nmake 916 B

12345678910111213141516171819202122232425262728
  1. all: libor.lib libor-crypto.lib libor-event.lib
  2. CFLAGS = /O2 /MT /I ..\win32 /I ..\..\..\build-alpha\include /I ..\common \
  3. /I ..\ext
  4. LIBOR_OBJECTS = address.obj backtrace.obj compat.obj container.obj di_ops.obj \
  5. log.obj memarea.obj mempool.obj procmon.obj sandbox.obj util.obj \
  6. util_codedigest.obj
  7. LIBOR_CRYPTO_OBJECTS = aes.obj crypto.obj crypto_format.obj torgzip.obj tortls.obj \
  8. crypto_curve25519.obj curve25519-donna.obj
  9. LIBOR_EVENT_OBJECTS = compat_libevent.obj
  10. curve25519-donna.obj: ..\ext\curve25519_donna\curve25519-donna.c
  11. $(CC) $(CFLAGS) /D inline=_inline /c ..\ext\curve25519_donna\curve25519-donna.c
  12. libor.lib: $(LIBOR_OBJECTS)
  13. lib $(LIBOR_OBJECTS) /out:libor.lib
  14. libor-crypto.lib: $(LIBOR_CRYPTO_OBJECTS)
  15. lib $(LIBOR_CRYPTO_OBJECTS) /out:libor-crypto.lib
  16. libor-event.lib: $(LIBOR_EVENT_OBJECTS)
  17. lib $(LIBOR_EVENT_OBJECTS) /out:libor-event.lib
  18. clean:
  19. del *.obj *.lib libor*.lib