make/jpda/transport/socket/Makefile

Print this page




  23 # questions.
  24 #
  25 
  26 #
  27 # Makefile for building the JDI back-end implementation
  28 #
  29 
  30 BUILDDIR = ../../..
  31 LIBRARY = dt_socket
  32 PRODUCT = jbug
  33 
  34 # Mapfile only used on Solaris/Linux
  35 FILES_m = mapfile-vers
  36 
  37 include $(BUILDDIR)/common/Defs.gmk
  38 
  39 ifeq ($(PLATFORM), linux)
  40   OTHER_LDLIBS += $(LIBNSL) $(LIBSOCKET) -lpthread
  41 endif
  42 
  43 ifeq ($(PLATFORM), macosx))
  44   LIBSOCKET =
  45   OTHER_LDLIBS += -pthread
  46 endif
  47 
  48 ifeq ($(PLATFORM), solaris)
  49   OTHER_LDLIBS += $(LIBNSL) $(LIBSOCKET)
  50 endif
  51 
  52 ifeq ($(PLATFORM), windows)
  53   OTHER_LDLIBS += ws2_32.lib
  54 endif
  55 
  56 OTHER_INCLUDES = -I$(INCLUDEDIR) -I$(PLATFORM_INCLUDE) \
  57                  -I$(SHARE_SRC)/transport/export \
  58                  -I$(SHARE_SRC)/transport/socket \
  59                  -I$(PLATFORM_SRC)/transport/socket \
  60                  -I$(SHARE_SRC)/back/export \
  61                  -I$(PLATFORM_SRC)/back
  62 
  63 #




  23 # questions.
  24 #
  25 
  26 #
  27 # Makefile for building the JDI back-end implementation
  28 #
  29 
  30 BUILDDIR = ../../..
  31 LIBRARY = dt_socket
  32 PRODUCT = jbug
  33 
  34 # Mapfile only used on Solaris/Linux
  35 FILES_m = mapfile-vers
  36 
  37 include $(BUILDDIR)/common/Defs.gmk
  38 
  39 ifeq ($(PLATFORM), linux)
  40   OTHER_LDLIBS += $(LIBNSL) $(LIBSOCKET) -lpthread
  41 endif
  42 
  43 ifeq ($(PLATFORM), macosx)
  44   LIBSOCKET =
  45   OTHER_LDLIBS += -pthread
  46 endif
  47 
  48 ifeq ($(PLATFORM), solaris)
  49   OTHER_LDLIBS += $(LIBNSL) $(LIBSOCKET)
  50 endif
  51 
  52 ifeq ($(PLATFORM), windows)
  53   OTHER_LDLIBS += ws2_32.lib
  54 endif
  55 
  56 OTHER_INCLUDES = -I$(INCLUDEDIR) -I$(PLATFORM_INCLUDE) \
  57                  -I$(SHARE_SRC)/transport/export \
  58                  -I$(SHARE_SRC)/transport/socket \
  59                  -I$(PLATFORM_SRC)/transport/socket \
  60                  -I$(SHARE_SRC)/back/export \
  61                  -I$(PLATFORM_SRC)/back
  62 
  63 #