Changeset 4aa0f6b for Makefile


Ignore:
Timestamp:
2010-06-07T14:31:07Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
56699f0
Parents:
0d9d53e (diff), 1fdb0a4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging killerbee stuff, bringing all the bleeding-edge stuff together.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r0d9d53e r4aa0f6b  
    1010
    1111# Program variables
    12 #objects = chat.o
    1312objects = 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)
    1413headers = account.h 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 user.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/ft.h protocols/nogaim.h
     
    8382install-dev:
    8483        mkdir -p $(DESTDIR)$(INCLUDEDIR)
    85         install -m 0644 $(headers) $(DESTDIR)$(INCLUDEDIR)
     84        install -m 0644 config.h $(DESTDIR)$(INCLUDEDIR)
     85        for i in $(headers); do install -m 0644 $(SRCDIR)$$i $(DESTDIR)$(INCLUDEDIR); done
    8686        mkdir -p $(DESTDIR)$(PCDIR)
    8787        install -m 0644 bitlbee.pc $(DESTDIR)$(PCDIR)
     
    9494install-etc:
    9595        mkdir -p $(DESTDIR)$(ETCDIR)
    96         install -m 0644 motd.txt $(DESTDIR)$(ETCDIR)/motd.txt
    97         install -m 0644 bitlbee.conf $(DESTDIR)$(ETCDIR)/bitlbee.conf
     96        install -m 0644 $(SRCDIR)motd.txt $(DESTDIR)$(ETCDIR)/motd.txt
     97        install -m 0644 $(SRCDIR)bitlbee.conf $(DESTDIR)$(ETCDIR)/bitlbee.conf
    9898
    9999uninstall-etc:
     
    111111        @$(MAKE) -C $@ $(MAKECMDGOALS)
    112112
    113 $(objects): %.o: %.c
     113$(objects): %.o: $(SRCDIR)%.c
    114114        @echo '*' Compiling $<
    115115        @$(CC) -c $(CFLAGS) $< -o $@
Note: See TracChangeset for help on using the changeset viewer.