2012-05-14 19:01:05 +02:00
|
|
|
all: libor.lib libor-crypto.lib libor-event.lib
|
|
|
|
|
2012-12-18 19:16:48 +01:00
|
|
|
CFLAGS = /I ..\win32 /I ..\..\..\build-alpha\include /I ..\ext
|
2012-05-14 19:01:05 +02:00
|
|
|
|
|
|
|
LIBOR_OBJECTS = address.obj compat.obj container.obj di_ops.obj \
|
|
|
|
log.obj memarea.obj mempool.obj procmon.obj util.obj \
|
|
|
|
util_codedigest.obj
|
|
|
|
|
2013-01-17 20:38:52 +01:00
|
|
|
LIBOR_CRYPTO_OBJECTS = aes.obj crypto.obj torgzip.obj tortls.obj \
|
|
|
|
crypto_curve25519.obj curve25519-donna.obj
|
2012-05-14 19:01:05 +02:00
|
|
|
|
|
|
|
LIBOR_EVENT_OBJECTS = compat_libevent.obj
|
|
|
|
|
2013-01-17 20:38:52 +01:00
|
|
|
curve25519-donna.obj: ..\ext\curve25519_donna\curve25519-donna.c
|
|
|
|
$(CC) $(CFLAGS) /D inline=_inline /c ..\ext\curve25519_donna\curve25519-donna.c
|
|
|
|
|
2012-05-14 19:01:05 +02:00
|
|
|
libor.lib: $(LIBOR_OBJECTS)
|
|
|
|
lib $(LIBOR_OBJECTS) /out:libor.lib
|
|
|
|
|
|
|
|
libor-crypto.lib: $(LIBOR_CRYPTO_OBJECTS)
|
|
|
|
lib $(LIBOR_CRYPTO_OBJECTS) /out:libor-crypto.lib
|
|
|
|
|
|
|
|
libor-event.lib: $(LIBOR_EVENT_OBJECTS)
|
|
|
|
lib $(LIBOR_EVENT_OBJECTS) /out:libor-event.lib
|
2012-12-18 19:24:19 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
del *.obj *.lib libor*.lib
|