Changes in Makefile [858ea01:b0a89cc]
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r858ea01 rb0a89cc 10 10 11 11 # Program variables 12 objects = bitlbee.o dcc.o help.o ipc.o irc.o irc_im.o irc_channel.o irc_commands.o irc_send.o irc_user.o irc_util.o nick.o $(OTR_BI)query.o root_commands.o set.o storage.o $(STORAGE_OBJS)12 objects = bitlbee.o dcc.o help.o ipc.o irc.o irc_im.o irc_channel.o irc_commands.o irc_send.o irc_user.o irc_util.o nick.o query.o root_commands.o set.o storage.o $(STORAGE_OBJS) 13 13 headers = bitlbee.h commands.h conf.h config.h help.h ipc.h irc.h log.h nick.h query.h set.h sock.h storage.h lib/events.h lib/ftutil.h lib/http_client.h lib/ini.h lib/md5.h lib/misc.h lib/proxy.h lib/sha1.h lib/ssl_client.h lib/url.h protocols/account.h protocols/bee.h protocols/ft.h protocols/nogaim.h 14 14 subdirs = lib protocols … … 27 27 subdirobjs = $(foreach dir,$(subdirs),$(dir)/$(dir).o) 28 28 29 all: $(OUTFILE) $(OTR_PI)29 all: $(OUTFILE) 30 30 $(MAKE) -C doc 31 31 … … 33 33 @echo -e '\nmake uninstall does not remove files in '$(DESTDIR)$(ETCDIR)', you can use make uninstall-etc to do that.\n' 34 34 35 install: install-bin install-doc install-plugins35 install: install-bin install-doc 36 36 @if ! [ -d $(DESTDIR)$(CONFIG) ]; then echo -e '\nThe configuration directory $(DESTDIR)$(CONFIG) does not exist yet, don'\''t forget to create it!'; fi 37 37 @if ! [ -e $(DESTDIR)$(ETCDIR)/bitlbee.conf ]; then echo -e '\nNo files are installed in '$(DESTDIR)$(ETCDIR)' by make install. Run make install-etc to do that.'; fi 38 38 @echo 39 39 40 .PHONY: install install-bin install-etc install-doc install-plugins\40 .PHONY: install install-bin install-etc install-doc \ 41 41 uninstall uninstall-bin uninstall-etc uninstall-doc \ 42 42 all clean distclean tar $(subdirs) … … 104 104 -rmdir $(DESTDIR)$(ETCDIR) 105 105 106 install-plugins:107 ifdef OTR_PI108 mkdir -p $(DESTDIR)$(PLUGINDIR)109 install -m 0755 otr.so $(DESTDIR)$(PLUGINDIR)110 endif111 112 106 tar: 113 107 fakeroot debian/rules clean || make distclean … … 118 112 $(subdirs): 119 113 @$(MAKE) -C $@ $(MAKECMDGOALS) 120 121 $(OTR_PI): %.so: $(SRCDIR)%.c122 @echo '*' Building plugin $@123 @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $< -o $@124 114 125 115 $(objects): %.o: $(SRCDIR)%.c
Note: See TracChangeset
for help on using the changeset viewer.