components/rtorrent/Makefile
changeset 1724 c2416ec0de64
parent 1678 68d1cdc71760
child 1948 2d1537e7942d
equal deleted inserted replaced
1723:7bf5284df303 1724:c2416ec0de64
    55 	    autoconf )
    55 	    autoconf )
    56 
    56 
    57 # this is needed or we can't compile the rak headers
    57 # this is needed or we can't compile the rak headers
    58 CC=$(CXX)
    58 CC=$(CXX)
    59 
    59 
    60 LDFLAGS += -L/usr/gnu/lib -R/usr/gnu/lib -lnsl -lsocket
    60 LDFLAGS += -L/usr/gnu/lib/$(MACH64) -R/usr/gnu/lib/$(MACH64)
    61 
    61 
    62 CXXFLAGS +=	-i
    62 CXXFLAGS +=	-i
    63 CXXFLAGS +=	-xspace
    63 CXXFLAGS +=	-xspace
    64 CXXFLAGS +=	$(studio_XREGS)
    64 CXXFLAGS +=	$(studio_XREGS)
    65 CXXFLAGS +=	-I/usr/include/ncurses
    65 CXXFLAGS +=	-I/usr/include/ncurses
    66 CONFIGURE_OPTIONS.32 +=		--srcdir=$(BUILD_DIR_32)
    66 CONFIGURE_OPTIONS.64 +=         --srcdir=$(BUILD_DIR_64)
    67 CONFIGURE_OPTIONS +=		--disable-debug
    67 CONFIGURE_OPTIONS +=		--disable-debug
    68 CONFIGURE_OPTIONS +=		CFLAGS="$(CFLAGS)"
    68 CONFIGURE_OPTIONS +=		CFLAGS="$(CFLAGS)"
    69 CONFIGURE_OPTIONS +=		LDFLAGS="$(LDFLAGS)"
    69 CONFIGURE_OPTIONS +=		LDFLAGS="$(LDFLAGS)"
    70 CONFIGURE_OPTIONS +=		CXXFLAGS="$(CXXFLAGS)"
    70 CONFIGURE_OPTIONS +=		CXXFLAGS="$(CXXFLAGS)"
    71 
    71 
    72 ASLR_MODE = $(ASLR_ENABLE)
    72 ASLR_MODE = $(ASLR_ENABLE)
    73 
    73 
    74 # common targets
    74 # common targets
    75 build:		$(BUILD_32)
    75 build:		$(BUILD_64)
    76 
    76 
    77 install:	$(INSTALL_32)
    77 install:	$(INSTALL_64)
    78 
    78 
    79 test:		$(NO_TESTS)
    79 test:		$(NO_TESTS)
    80 
    80 
    81 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    81 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    82 
    82