blob: 107c23dbc8df1c560d1b04d6a92fe05c1fed1c0b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- storage/Makefile.in.orig 2019-12-30 23:36:03 UTC
+++ storage/Makefile.in
@@ -1,8 +1,8 @@
.SUFFIXES: .c .o
COMPILE = $(CC) $(CFLAGS)
-INC_PATH = -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
-LIB_PATH = $(LIBS) -lfastcommon
+INC_PATH = -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I$(LOCALBASE)/include
+LIB_PATH = $(LIBS) -L${LOCALBASE}/lib -lfastcommon
TARGET_PATH = $(TARGET_PREFIX)/bin
CONFIG_PATH = $(TARGET_CONF_PATH)
@@ -35,7 +35,7 @@ all: $(ALL_OBJS) $(ALL_PRGS)
install:
mkdir -p $(TARGET_PATH)
mkdir -p $(CONFIG_PATH)
- cp -f $(ALL_PRGS) $(TARGET_PATH)
+ install -s $(ALL_PRGS) $(TARGET_PATH)
if [ ! -f $(CONFIG_PATH)/storage.conf.sample ]; then cp -f ../conf/storage.conf $(CONFIG_PATH)/storage.conf.sample; fi
clean:
rm -f $(ALL_OBJS) $(ALL_PRGS)
|