Lines 1-6
Link Here
|
1 |
--- makefile.orig 2009-06-25 06:07:16.000000000 +0000 |
1 |
|
2 |
+++ makefile 2009-06-25 06:23:06.000000000 +0000 |
2 |
$FreeBSD$ |
3 |
@@ -4,15 +4,11 @@ |
3 |
|
|
|
4 |
--- makefile.orig |
5 |
+++ makefile |
6 |
@@ -4,10 +4,6 @@ |
4 |
|
7 |
|
5 |
include $(CONFIG) |
8 |
include $(CONFIG) |
6 |
|
9 |
|
Lines 11-19
Link Here
|
11 |
OBJS= src/lxplib.o $(COMPAT_O) |
14 |
OBJS= src/lxplib.o $(COMPAT_O) |
12 |
lib: src/$(LIBNAME) |
15 |
lib: src/$(LIBNAME) |
13 |
|
16 |
|
14 |
src/$(LIBNAME) : $(OBJS) |
17 |
@@ -18,11 +14,11 @@ |
15 |
- export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) -o src/$(LIBNAME) $(LIB_OPTION) $(OBJS) -lexpat |
18 |
$(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c |
16 |
+ export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) -o src/$(LIBNAME) $(LIB_OPTION) lxplib.o $(COMPAT_O) -lexpat |
|
|
17 |
|
19 |
|
18 |
$(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c |
20 |
install: |
19 |
$(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c |
21 |
- mkdir -p $(LUA_LIBDIR) |
|
|
22 |
- cp src/$(LIBNAME) $(LUA_LIBDIR) |
23 |
- cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so |
24 |
- mkdir -p $(LUA_DIR)/$T |
25 |
- cp src/$T/lom.lua $(LUA_DIR)/$T |
26 |
+ mkdir -p $(DESTDIR)$(LUA_LIBDIR) |
27 |
+ cp src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR) |
28 |
+ cd $(DESTDIR)$(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so |
29 |
+ mkdir -p $(DESTDIR)$(LUA_DIR)/$T |
30 |
+ cp src/$T/lom.lua $(DESTDIR)$(LUA_DIR)/$T |
31 |
|
32 |
clean: |
33 |
rm -f src/$(LIBNAME) $(OBJS) |