binaries: $(BINARIES)
sysbinaries: FORCE binaries
- bin/locate initdb postgres pg_ctl mysqld
+ rm -f bin.sys/*
+ bin/locate initdb postgres pg_ctl psql mysqld mysql
+ if [ -e /dev/stderr ]; then ln -s /dev/stderr bin.sys/stderr; else ln -s /proc/self/fd/2 bin.sys/stderr; fi
ls -la bin.sys
# Compile and link the programs:
$(CC) $(CFLAGS) -DHAVE_OPENSSL $(LDFLAGS) -o bin/client-ssl $(SRC)/client.c -lssl -lcrypto $(LIBS)
$(CLIENT_ANYTLS): $(CLIENT_GNUTLS) $(CLIENT_OPENSSL)
- ln -sf `basename $<` $@
+ [ -n "$(CLIENT_GNUTLS)" ] && ln -sf `basename $(CLIENT_GNUTLS)` $@ || ln -sf `basename $(CLIENT_OPENSSL)` $@
bin/checkaccess:$(SRC)/checkaccess.c Makefile
$(CC) $(CFLAGS) -DNO_TLS $(LDFLAGS) -o bin/checkaccess $(SRC)/checkaccess.c