summaryrefslogtreecommitdiffstats
path: root/sesman/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/tools/Makefile')
-rw-r--r--sesman/tools/Makefile27
1 files changed, 14 insertions, 13 deletions
diff --git a/sesman/tools/Makefile b/sesman/tools/Makefile
index 585327d2..46ec9e50 100644
--- a/sesman/tools/Makefile
+++ b/sesman/tools/Makefile
@@ -1,15 +1,16 @@
# sesman tools makefile
-SESTESTOBJ = sestest.o tcp.o \
- os_calls.o d3des.o list.o file.o \
- libscp_v1c.o
+SESTESTOBJ = sestest.o \
+ os_calls.o
+# d3des.o list.o file.o \
+# libscp_v1c.o tcp.o
SESRUNOBJ = sesrun.o config.o tcp.o \
os_calls.o d3des.o list.o file.o log.o
DEFINES = -DLIBSCP_CLIENT
-CFLAGS = -Wall -O2 -I../../common -I../ -I/usr/include/nptl $(DEFINES)
-LDFLAGS = -L /usr/gnu/lib -I/usr/include/nptl -L/usr/lib/nptl -lpthread -ldl $(DEFINES)
+CFLAGS = -Wall -O2 -I../../common -I../ -I/usr/include/nptl -I../libscp $(DEFINES)
+LDFLAGS = -L /usr/gnu/lib -I/usr/include/nptl -L/usr/lib/nptl -L../libscp -lpthread -ldl -lscp -Wl,-rpath,../libscp $(DEFINES)
#LDFLAGS = -L /usr/gnu/lib -ldl $(DEFINES)
C_OS_FLAGS = $(CFLAGS) -c -g
CC = gcc
@@ -25,26 +26,26 @@ srun: $(SESRUNOBJ)
os_calls.o: ../../common/os_calls.c
$(CC) $(C_OS_FLAGS) ../../common/os_calls.c
-d3des.o: ../../common/d3des.c
+#d3des.o: ../../common/d3des.c
$(CC) $(C_OS_FLAGS) ../../common/d3des.c
-list.o: ../../common/list.c
+#list.o: ../../common/list.c
$(CC) $(C_OS_FLAGS) ../../common/list.c
-file.o: ../../common/file.c
+#file.o: ../../common/file.c
$(CC) $(C_OS_FLAGS) ../../common/file.c
-log.o: ../../common/file.c
+log.o: ../../common/log.c
$(CC) $(C_OS_FLAGS) ../../common/log.c
-tcp.o: ../tcp.c
- $(CC) $(C_OS_FLAGS) ../tcp.c
+#tcp.o: tcp.c
+# $(CC) $(C_OS_FLAGS) ../tcp.c
config.o: ../config.c
$(CC) $(C_OS_FLAGS) ../config.c
-libscp_v1c.o: ../libscp_v1c.c
- $(CC) $(C_OS_FLAGS) ../libscp_v1c.c
+#libscp_v1c.o: ../libscp_v1c.c
+# $(CC) $(C_OS_FLAGS) ../libscp_v1c.c
clean:
rm -f *.o sestest sesrun