f1876a2bc5
- adds a sample split vpn script from Thomas Schoeller, tested by many - thanks! ok sthen@ landry@
19 lines
685 B
Plaintext
19 lines
685 B
Plaintext
$OpenBSD: patch-Makefile,v 1.4 2008/04/04 21:41:27 okan Exp $
|
|
--- Makefile.orig Thu Sep 6 16:05:15 2007
|
|
+++ Makefile Wed Sep 19 06:05:20 2007
|
|
@@ -49,12 +49,9 @@ RELEASE_VERSION := $(shell cat VERSION)
|
|
#OPENSSL_GPL_VIOLATION = -DOPENSSL_GPL_VIOLATION
|
|
#OPENSSLLIBS = -lcrypto
|
|
|
|
-CC=gcc
|
|
-CFLAGS ?= -O3 -g
|
|
-CFLAGS += -W -Wall -Wmissing-declarations -Wwrite-strings
|
|
-CFLAGS += $(shell libgcrypt-config --cflags)
|
|
+CC ?= gcc
|
|
+CFLAGS += -W -Wall '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags)
|
|
CPPFLAGS += -DVERSION=\"$(VERSION)\" $(OPENSSL_GPL_VIOLATION)
|
|
-LDFLAGS ?= -g
|
|
LDFLAGS += $(shell libgcrypt-config --libs) $(OPENSSLLIBS)
|
|
|
|
ifeq ($(shell uname -s), SunOS)
|