Works with BSDmake
FossilOrigin-Name: 743f6d8162ee9c5530c45febd7868d381f91b72dfae7daa83f52811cb33c634b
This commit is contained in:
parent
6591941172
commit
98cd56e692
@ -4,6 +4,8 @@
|
|||||||
#-include ../Config.local.mak
|
#-include ../Config.local.mak
|
||||||
#-include ../WtpConfig.local.mak
|
#-include ../WtpConfig.local.mak
|
||||||
#include ../Macros.mak
|
#include ../Macros.mak
|
||||||
|
include ../Config.default.mak
|
||||||
|
-include ../Config.mak
|
||||||
|
|
||||||
|
|
||||||
INCL_DIRS=-I../
|
INCL_DIRS=-I../
|
||||||
@ -15,7 +17,7 @@ EXENAME := ./wtp
|
|||||||
|
|
||||||
LIBS := -lcw -lnettle
|
LIBS := -lcw -lnettle
|
||||||
#STATICLIBS := $(LIBDIR)/$(ARCH)/libcw.a
|
#STATICLIBS := $(LIBDIR)/$(ARCH)/libcw.a
|
||||||
LDFLAGS += -L$(LIBARCHDIR)
|
LDFLAGS += -L$(LIBARCHDIR) -L/usr/local/lib
|
||||||
|
|
||||||
#ifeq ($(SSL_LIBRARY),GNUTLS)
|
#ifeq ($(SSL_LIBRARY),GNUTLS)
|
||||||
#CFLAGS+=-DWITH_GNUTLS
|
#CFLAGS+=-DWITH_GNUTLS
|
||||||
@ -58,8 +60,8 @@ all: $(ALL)
|
|||||||
@$(CC) $(INCL_DIRS) -c $(CFLAGS) $< -o $@
|
@$(CC) $(INCL_DIRS) -c $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
$(EXENAME): $(OBJS)
|
$(EXENAME): $(OBJS)
|
||||||
echo " $(LD) $(EXENAME)"
|
echo " $(CC) $(EXENAME)"
|
||||||
$(LD) $(LDFLAGS) -o $(EXENAME) $(OBJS) $(LIBS) $(STATICLIBS)
|
$(CC) $(LDFLAGS) -o $(EXENAME) $(OBJS) $(LIBS) $(STATICLIBS)
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user