diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Freeze/Makefile | 5 | ||||
-rw-r--r-- | cpp/src/Glacier/Makefile | 7 | ||||
-rw-r--r-- | cpp/src/Ice/Makefile | 5 | ||||
-rw-r--r-- | cpp/src/IceBox/Makefile | 7 | ||||
-rw-r--r-- | cpp/src/IcePack/Makefile | 8 | ||||
-rw-r--r-- | cpp/src/IcePatch/Makefile | 7 | ||||
-rw-r--r-- | cpp/src/IceSSL/Makefile | 5 | ||||
-rw-r--r-- | cpp/src/IceStorm/Makefile | 9 | ||||
-rw-r--r-- | cpp/src/IceUtil/Makefile | 5 | ||||
-rw-r--r-- | cpp/src/IceXML/Makefile | 5 | ||||
-rw-r--r-- | cpp/src/Slice/Makefile | 5 | ||||
-rw-r--r-- | cpp/src/XMLTransform/Makefile | 6 | ||||
-rw-r--r-- | cpp/src/Yellow/Makefile | 9 | ||||
-rw-r--r-- | cpp/src/icecpp/Makefile | 5 | ||||
-rw-r--r-- | cpp/src/slice2cpp/Makefile | 3 | ||||
-rw-r--r-- | cpp/src/slice2docbook/Makefile | 3 | ||||
-rw-r--r-- | cpp/src/slice2freeze/Makefile | 3 | ||||
-rw-r--r-- | cpp/src/slice2freezej/Makefile | 3 | ||||
-rw-r--r-- | cpp/src/slice2java/Makefile | 3 | ||||
-rw-r--r-- | cpp/src/slice2wsdl/Makefile | 3 | ||||
-rw-r--r-- | cpp/src/slice2xsd/Makefile | 4 |
21 files changed, 109 insertions, 1 deletions
diff --git a/cpp/src/Freeze/Makefile b/cpp/src/Freeze/Makefile index 9d329e7a669..f45c22885c5 100644 --- a/cpp/src/Freeze/Makefile +++ b/cpp/src/Freeze/Makefile @@ -57,4 +57,9 @@ $(VERSIONED_NAME): $(OBJS) clean:: rm -f IdentityObjectDict.h IdentityObjectDict.cpp +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + include .depend diff --git a/cpp/src/Glacier/Makefile b/cpp/src/Glacier/Makefile index 35f21c29c6b..4faccc19d20 100644 --- a/cpp/src/Glacier/Makefile +++ b/cpp/src/Glacier/Makefile @@ -68,4 +68,11 @@ $(STARTER): $(SOBJS) $(NAME) rm -f $@ $(CXX) $(LDFLAGS) -o $@ $(SOBJS) -lGlacier -lIceSSL $(LIBS) $(OPENSSL_LIBS) -lcrypt +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + $(INSTALL_PROGRAM) $(ROUTER) $(install_bindir) + $(INSTALL_PROGRAM) $(STARTER) $(install_bindir) + include .depend diff --git a/cpp/src/Ice/Makefile b/cpp/src/Ice/Makefile index 40655505dd2..ea1c4f2302b 100644 --- a/cpp/src/Ice/Makefile +++ b/cpp/src/Ice/Makefile @@ -130,4 +130,9 @@ $(VERSIONED_NAME): $(OBJS) rm -f $@ $(CXX) $(SHLIB_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS) +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + include .depend diff --git a/cpp/src/IceBox/Makefile b/cpp/src/IceBox/Makefile index e192cfd6063..16be853943c 100644 --- a/cpp/src/IceBox/Makefile +++ b/cpp/src/IceBox/Makefile @@ -57,4 +57,11 @@ $(ADMIN): $(AOBJS) $(NAME) rm -f $@ $(CXX) $(LDFLAGS) -o $@ $(AOBJS) -lIceBox $(LIBS) +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + $(INSTALL_PROGRAM) $(SERVER) $(install_bindir) + $(INSTALL_PROGRAM) $(ADMIN) $(install_bindir) + include .depend diff --git a/cpp/src/IcePack/Makefile b/cpp/src/IcePack/Makefile index b55de602c0c..0950d9d9df4 100644 --- a/cpp/src/IcePack/Makefile +++ b/cpp/src/IcePack/Makefile @@ -129,4 +129,12 @@ clean:: rm -f Grammar.cpp Grammar.h rm -f Scanner.cpp +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + $(INSTALL_PROGRAM) $(ADMIN) $(install_bindir) + $(INSTALL_PROGRAM) $(NODE_SERVER) $(install_bindir) + $(INSTALL_PROGRAM) $(REGISTRY_SERVER) $(install_bindir) + include .depend diff --git a/cpp/src/IcePatch/Makefile b/cpp/src/IcePatch/Makefile index 57768301f79..085b1a28a64 100644 --- a/cpp/src/IcePatch/Makefile +++ b/cpp/src/IcePatch/Makefile @@ -59,4 +59,11 @@ $(SERVER): $(SOBJS) $(NAME) rm -f $@ $(CXX) $(LDFLAGS) -o $@ $(SOBJS) -lIcePatch $(LIBS) $(OPENSSL_LIBS) +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + $(INSTALL_PROGRAM) $(CLIENT) $(install_bindir) + $(INSTALL_PROGRAM) $(SERVER) $(install_bindir) + include .depend diff --git a/cpp/src/IceSSL/Makefile b/cpp/src/IceSSL/Makefile index 6388fc946e0..08081d19165 100644 --- a/cpp/src/IceSSL/Makefile +++ b/cpp/src/IceSSL/Makefile @@ -73,4 +73,9 @@ $(VERSIONED_NAME): $(OBJS) rm -f $@ $(CXX) $(SHLIB_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(OPENSSL_LIBS) $(XERCESC_LIBS) +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + include .depend diff --git a/cpp/src/IceStorm/Makefile b/cpp/src/IceStorm/Makefile index 1c3265920c6..921b32eef3a 100644 --- a/cpp/src/IceStorm/Makefile +++ b/cpp/src/IceStorm/Makefile @@ -102,4 +102,13 @@ clean:: -rm -f Grammar.cpp Grammar.h -rm -f Scanner.cpp +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + $(INSTALL_LIBRARY) $(VERSIONED_SNAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(SNAME)) + ln -s $(notdir $(VERSIONED_SNAME)) $(install_libdir)/$(notdir $(SNAME)) + $(INSTALL_PROGRAM) $(ADMIN) $(install_bindir) + include .depend diff --git a/cpp/src/IceUtil/Makefile b/cpp/src/IceUtil/Makefile index aea19cce8db..50978191346 100644 --- a/cpp/src/IceUtil/Makefile +++ b/cpp/src/IceUtil/Makefile @@ -39,4 +39,9 @@ $(VERSIONED_NAME): $(OBJS) rm -f $@ $(CXX) $(SHLIB_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS) +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + include .depend diff --git a/cpp/src/IceXML/Makefile b/cpp/src/IceXML/Makefile index 651b03d2bb1..abb33aedc51 100644 --- a/cpp/src/IceXML/Makefile +++ b/cpp/src/IceXML/Makefile @@ -31,4 +31,9 @@ $(VERSIONED_NAME): $(OBJS) rm -f $@ $(CXX) $(SHLIB_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(XERCESC_LIBS) +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + include .depend diff --git a/cpp/src/Slice/Makefile b/cpp/src/Slice/Makefile index 4b37a99b265..0b1cb556a77 100644 --- a/cpp/src/Slice/Makefile +++ b/cpp/src/Slice/Makefile @@ -43,4 +43,9 @@ clean:: rm -f Grammar.cpp Grammar.h rm -f Scanner.cpp +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + include .depend diff --git a/cpp/src/XMLTransform/Makefile b/cpp/src/XMLTransform/Makefile index f7400b04057..eedb20066fd 100644 --- a/cpp/src/XMLTransform/Makefile +++ b/cpp/src/XMLTransform/Makefile @@ -47,4 +47,10 @@ $(TRANSFORM_DB): $(TRANSFORM_OBJS) $(NAME) clean:: rm -f $(TRANSFORM_DB) +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + $(INSTALL_PROGRAM) $(TRANSFORM_DB) $(install_bindir) + include .depend diff --git a/cpp/src/Yellow/Makefile b/cpp/src/Yellow/Makefile index 0d4a268e377..9ef9c083bc7 100644 --- a/cpp/src/Yellow/Makefile +++ b/cpp/src/Yellow/Makefile @@ -80,4 +80,13 @@ clean:: rm -f Grammar.cpp Grammar.h rm -f Scanner.cpp +install:: all + $(INSTALL_LIBRARY) $(VERSIONED_NAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(NAME)) + ln -s $(notdir $(VERSIONED_NAME)) $(install_libdir)/$(notdir $(NAME)) + $(INSTALL_LIBRARY) $(VERSIONED_SNAME) $(install_libdir) + rm -f $(install_libdir)/$(notdir $(SNAME)) + ln -s $(notdir $(VERSIONED_SNAME)) $(install_libdir)/$(notdir $(SNAME)) + $(INSTALL_PROGRAM) $(ADMIN) $(install_bindir) + include .depend diff --git a/cpp/src/icecpp/Makefile b/cpp/src/icecpp/Makefile index f6662c1574a..8090eabb868 100644 --- a/cpp/src/icecpp/Makefile +++ b/cpp/src/icecpp/Makefile @@ -36,5 +36,8 @@ $(NAME): $(OBJS) rm -f $@ $(CC) -o $@ $(OBJS) +install:: all + $(INSTALL_PROGRAM) $(NAME) $(install_bindir) + clean:: - rm -f cexp.c
\ No newline at end of file + rm -f cexp.c diff --git a/cpp/src/slice2cpp/Makefile b/cpp/src/slice2cpp/Makefile index 1990db92f79..ff7ddd789cc 100644 --- a/cpp/src/slice2cpp/Makefile +++ b/cpp/src/slice2cpp/Makefile @@ -31,4 +31,7 @@ $(NAME): $(OBJS) rm -f $@ $(CXX) $(LDFLAGS) -o $@ $(OBJS) -lSlice $(BASELIBS) +install:: all + $(INSTALL_PROGRAM) $(NAME) $(install_bindir) + include .depend diff --git a/cpp/src/slice2docbook/Makefile b/cpp/src/slice2docbook/Makefile index 6fc047a60ad..afe0a0c1fc5 100644 --- a/cpp/src/slice2docbook/Makefile +++ b/cpp/src/slice2docbook/Makefile @@ -31,4 +31,7 @@ $(NAME): $(OBJS) rm -f $@ $(CXX) $(LDFLAGS) -o $@ $(OBJS) -lSlice $(BASELIBS) +install:: all + $(INSTALL_PROGRAM) $(NAME) $(install_bindir) + include .depend diff --git a/cpp/src/slice2freeze/Makefile b/cpp/src/slice2freeze/Makefile index 5939c70af06..e095bd764e3 100644 --- a/cpp/src/slice2freeze/Makefile +++ b/cpp/src/slice2freeze/Makefile @@ -30,4 +30,7 @@ $(NAME): $(OBJS) rm -f $@ $(CXX) $(LDFLAGS) -o $@ $(OBJS) -lSlice $(BASELIBS) +install:: all + $(INSTALL_PROGRAM) $(NAME) $(install_bindir) + include .depend diff --git a/cpp/src/slice2freezej/Makefile b/cpp/src/slice2freezej/Makefile index 1524c840378..6973c68e321 100644 --- a/cpp/src/slice2freezej/Makefile +++ b/cpp/src/slice2freezej/Makefile @@ -30,4 +30,7 @@ $(NAME): $(OBJS) rm -f $@ $(CXX) $(LDFLAGS) -o $@ $(OBJS) -lSlice $(BASELIBS) +install:: all + $(INSTALL_PROGRAM) $(NAME) $(install_bindir) + include .depend diff --git a/cpp/src/slice2java/Makefile b/cpp/src/slice2java/Makefile index 126cd8a9244..148dd08f2f8 100644 --- a/cpp/src/slice2java/Makefile +++ b/cpp/src/slice2java/Makefile @@ -31,4 +31,7 @@ $(NAME): $(OBJS) rm -f $@ $(CXX) $(LDFLAGS) -o $@ $(OBJS) -lSlice $(BASELIBS) +install:: all + $(INSTALL_PROGRAM) $(NAME) $(install_bindir) + include .depend diff --git a/cpp/src/slice2wsdl/Makefile b/cpp/src/slice2wsdl/Makefile index f67539421bb..03c3ef1c07b 100644 --- a/cpp/src/slice2wsdl/Makefile +++ b/cpp/src/slice2wsdl/Makefile @@ -32,4 +32,7 @@ $(NAME): $(OBJS) rm -f $@ $(CXX) $(LDFLAGS) -o $@ $(OBJS) -lSlice $(BASELIBS) $(XERCESC_LIBS) +install:: all + $(INSTALL_PROGRAM) $(NAME) $(install_bindir) + include .depend diff --git a/cpp/src/slice2xsd/Makefile b/cpp/src/slice2xsd/Makefile index d0d0d347b1c..49bb1b36516 100644 --- a/cpp/src/slice2xsd/Makefile +++ b/cpp/src/slice2xsd/Makefile @@ -39,4 +39,8 @@ $(VALIDATE): $(VOBJS) rm -f $@ $(CXX) $(LDFLAGS) -o $@ $(VOBJS) $(BASELIBS) $(XERCESC_LIBS) +install:: all + $(INSTALL_PROGRAM) $(NAME) $(install_bindir) + $(INSTALL_PROGRAM) $(VALIDATE) $(install_bindir) + include .depend |