-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (29 loc) · 884 Bytes
/
Makefile
File metadata and controls
42 lines (29 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# **********************************************************************
#
# Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
#
# **********************************************************************
top_srcdir = ../..
CLIENT = client
LIBFILENAME = $(call mklibfilename,HelloService)
SONAME = $(call mksoname,HelloService)
TARGETS = $(CLIENT) $(LIBFILENAME)
SLICE_OBJS = Hello.o
COBJS = $(SLICE_OBJS) \
Client.o
SOBJS = $(SLICE_OBJS) \
HelloI.o \
HelloServiceI.o
OBJS = $(COBJS) \
$(SOBJS)
include $(top_srcdir)/make/Make.rules
CPPFLAGS := -I. $(CPPFLAGS)
LINKWITH := -lIceBox $(BZIP2_RPATH_LINK) -lIce -lIceUtil
$(LIBFILENAME): $(SOBJS)
rm -f $@
$(call mkshlib,$@,$(SONAME),$(SOBJS),$(LINKWITH))
$(CLIENT): $(COBJS)
rm -f $@
$(CXX) $(LDFLAGS) $(LDEXEFLAGS) -o $@ $(COBJS) $(LIBS)
clean::
-rm -rf db/node/* db/registry/*