bc72675e29
with gleydson soares
26 lines
898 B
Plaintext
26 lines
898 B
Plaintext
$OpenBSD: patch-Makefile,v 1.3 2011/04/18 18:12:47 jasper Exp $
|
|
--- Makefile.orig Fri Aug 25 00:24:17 2006
|
|
+++ Makefile Sun Apr 17 19:54:07 2011
|
|
@@ -10,10 +10,10 @@ endif
|
|
OBJS= src/$T.o $(COMPAT_O)
|
|
SRCS= src/$T.h src/$T.c
|
|
|
|
-lib: src/$(LIBNAME)
|
|
+all: src/$(LIBNAME)
|
|
|
|
src/$(LIBNAME): $(OBJS)
|
|
- export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) $(OPENSSL_LIBS)
|
|
+ $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) $(OPENSSL_LIBS)
|
|
|
|
$(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c
|
|
$(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c
|
|
@@ -21,7 +21,7 @@ $(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c
|
|
install: src/$(LIBNAME)
|
|
mkdir -p $(LUA_LIBDIR)
|
|
cp src/$(LIBNAME) $(LUA_LIBDIR)
|
|
- cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so
|
|
+# cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so
|
|
|
|
clean:
|
|
rm -f src/$(LIBNAME) $(OBJS) $(COMPAT_O)
|