12345678910111213141516171819202122232425262728 |
- $OpenBSD: patch-config_mk,v 1.1 2007/12/07 15:54:56 ajacoutot Exp $
- --- config.mk.orig Sun Mar 23 00:08:58 2003
- +++ config.mk Fri Dec 7 14:50:49 2007
- @@ -34,7 +34,7 @@ TARGETS = xevil
- # You can add -DNDEBUG to speed up a release build by removing the assert()
- # calls. But, on a really obscure Linux machine, this caused Xlib to blow up
- # internally, so you do so at your own risk.
- -DEBUG_OPT = -O #-DNDEBUG
- +DEBUG_OPT = # -O -DNDEBUG
-
- LINK_OPT =
-
- @@ -168,7 +168,14 @@ OBJ_DIR=$(DEPTH)/x11/FREEBSD PCKG_NAME="freebsd" \
- LIBS="-lXpm -lX11 -lm" $(TARGETS)
-
-
- +openbsd:
- + @$(MAKE) CC="${CXX}" \
- +CFLAGS="-DUSE_RANDOM -DUSE_UINT_NET_LENGTH -DUNAME_USR_BIN ${CXXFLAGS}" \
- +INCL_DIRS="-I$(X11BASE)/include" LIBS_DIRS="-L$(X11BASE)/lib" \
- +OBJ_DIR=$(DEPTH)/x11/OPENBSD PCKG_NAME="openbsd" \
- +LIBS="-lXpm -lX11 -lm" $(TARGETS)
-
- +
- hp700:
- @$(MAKE) CC="g++" LIBS="-lXpm -lX11 -lm" INCL_DIRS="" CFLAGS="-DUSE_RANDOM -DRANDOM_NEEDS_PROTOTYPES -DMATH_H_IS_CC -DPROTECTED_IS_PUBLIC" \
- $(TARGETS)
|