4 CFLAGS
+=-I
$(LUA_INCDIR
)
6 INSTALL_DATA
=install -m644
9 ALL
=encodings.so hashes.so net.so pposix.so signal.so table.so \
10 ringbuffer.so time.so poll.so compat.so
16 .PHONY
: all install clean
22 $(INSTALL_DATA
) $?
$(TARGET
)
25 rm -f
$(ALL
) $(patsubst %.so
,%.o
,$(ALL
))
27 encodings.so
: LDLIBS
+=$(IDNA_LIBS
)
29 hashes.so
: LDLIBS
+=$(OPENSSL_LIBS
)
31 crand.o
: CFLAGS
+=-DWITH_
$(RANDOM
)
32 crand.so
: LDLIBS
+=$(RANDOM_LIBS
)
35 $(LD
) $(LDFLAGS
) -o
$@
$^
$(LDLIBS
)