Ignore:
Timestamp:
Mar 31, 2007, 11:07:59 PM (15 years ago)
Author:
joshe
Message:

Add an ipc proxy to make remote daemon connections easier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/daemon/mk/daemon.mk

    r1617 r1623  
    77SRVSRCS  = daemon.c server.c torrents.c
    88CLISRCS  = client.c remote.c
     9PXYSRCS  = proxy.c
    910
    1011COMOBJS  = $(COMSRCS:%.c=%.o)
    1112SRVOBJS  = $(SRVSRCS:%.c=%.o)
    1213CLIOBJS  = $(CLISRCS:%.c=%.o)
    13 SRCS     = $(COMSRCS) $(SRVSRCS) $(CLISRCS)
     14PXYOBJS  = $(PXYSRCS:%.c=%.o)
     15SRCS     = $(COMSRCS) $(SRVSRCS) $(CLISRCS) $(PXYSRCS)
    1416
    1517CFLAGS  += $(CFLAGS_EVENT) -I../libtransmission
     
    1719LDFLAGS += $(LDFLAGS_EVENT)
    1820
    19 all: transmission-daemon transmission-remote
     21all: transmission-daemon transmission-remote transmission-proxy
    2022
    2123transmission-daemon: OBJS    = $(SRVOBJS) $(COMOBJS)
     
    2729        $(LINK_RULE)
    2830
     31transmission-proxy:  OBJS    = $(PXYOBJS) $(COMOBJS)
     32transmission-proxy:  $(LDLIBS) $(PXYOBJS) $(COMOBJS)
     33        $(LINK_RULE)
     34
    2935%.o: %.c ../mk/config.mk ../mk/common.mk ../mk/daemon.mk
    3036        $(CC_RULE)
     
    3339        @echo "Clean transmission-daemon"
    3440        @echo "Clean transmission-remote"
    35         @echo "Clean $(COMOBJS) $(SRVOBJS) $(CLIOBJS)"
     41        @echo "Clean transmission-proxy"
     42        @echo "Clean $(COMOBJS) $(SRVOBJS) $(CLIOBJS) $(PXYOBJS)"
    3643        @$(RM) transmission-daemon transmission-remote
    37         @$(RM) $(COMOBJS) $(SRVOBJS) $(CLIOBJS)
     44        @$(RM) $(COMOBJS) $(SRVOBJS) $(CLIOBJS) $(PXYOBJS)
    3845
    3946.depend: $(SRCS) ../mk/config.mk ../mk/common.mk ../mk/daemon.mk
    4047        $(DEP_RULE)
    4148
    42 install: install.srv install.srv.man install.cli install.cli.man
     49install: install.srv install.srv.man install.cli install.cli.man \
     50         install.pxy install.pxy.man
    4351
    4452install.srv: transmission-daemon
     
    5462        $(INSTALL_MAN_RULE)
    5563
     64install.pxy: transmission-proxy
     65        $(INSTALL_BIN_RULE)
     66
     67install.pxy.man: transmission-proxy.1
     68        $(INSTALL_MAN_RULE)
     69
    5670-include .depend
Note: See TracChangeset for help on using the changeset viewer.