## Process this file with automake to produce Makefile.in bin_PROGRAMS = gtkyahoo libexec_SCRIPTS = gtkyahoo-sound-handler SUBDIRS=libyahoo DISTCLEANFILES=gtkyahoo-sound-handler gtkyahoo.spec gtkyahoo-ximian.spec debian/changelog \ gtkyahoo.lsm # Couldn't figure out how to get this into config.h DEFS = -DLIBEXECDIR=\"$(libexecdir)\" -DPKGDATADIR=\"$(pkgdatadir)\" INCLUDES=-I$(srcdir) -I. gtkyahoo_LDADD = gtkyahoo_DEPENDENCIES = ./libyahoo/.libs/libyahoo.a SOUNDS= \ sounds/beep.au \ sounds/logoff.au \ sounds/logon.au \ sounds/send.au \ sounds/receive.au EXTRA_DIST = \ NOTES \ acconfig.h \ DISCLAIMER \ images/README \ images/logo.xpm \ images/send.xpm \ images/cancel.xpm \ images/status-offline.xpm \ images/status-away.xpm \ images/status-idle.xpm \ images/status-here.xpm \ images/gtkyahoo-icon.xpm \ images/mail-full.xpm \ images/mail-empty.xpm \ debian/dirs debian/docs debian/menu debian/control \ debian/changelog.in debian/copyright debian/rules \ gtkyahoo.lsm.in \ gtkyahoo.spec.in \ gtkyahoo-ximian.spec.in \ gtkyahoo.spec \ gtkyahoo-ximian.spec \ sample.gtkyahoorc \ simple.gtkyahoorc \ sample.gtkrc \ rcfile.l \ rcfile.y \ ylwrap \ gtkyahoo.desktop \ get-authors.pl \ $(SOUNDS) gtkyahoo_SOURCES = \ gtkyahoo.c \ window-chat.c \ window-raw.c \ window-calendar.c \ window-chatinvite.c \ window-addfriend.c \ window-addignore.c \ window-removefriend.c \ window-startchat.c \ window-sendoffline.c \ window-autoreply.c \ window-autoforward.c \ window-alert.c \ window-recvfile.c \ window-sendfile.c \ window-about.c \ window-custom.c \ window-start-conference.c \ window-conference.c \ window-conference-invitation.c \ window-addressbook.c \ window-login.c \ menus.c \ utils.c \ rcfile.c \ status.c \ actions.c \ events.c \ images.c \ snprintf.c \ y.tab.c \ lex.yy.c \ debug.c \ idle.c noinst_HEADERS = \ structs.h \ gtkyahoo.h \ debug.h \ actions.h \ actions-proto.h \ events-proto.h \ gtkyahoo-proto.h \ status-proto.h \ window-chat-proto.h \ window-calendar-proto.h \ window-raw-proto.h \ window-chatinvite-proto.h \ window-addignore-proto.h \ window-addfriend-proto.h \ window-removefriend-proto.h \ window-startchat-proto.h \ window-sendoffline-proto.h \ window-autoreply-proto.h \ window-autoforward-proto.h \ window-recvfile-proto.h \ window-sendfile-proto.h \ window-about-proto.h \ window-alert-proto.h \ window-custom-proto.h \ window-start-conference.h \ window-conference.h \ window-conference-invitation.h \ window-addressbook.h \ window-login.h \ utils-proto.h \ idle-proto.h \ rcfile-proto.h \ menus-proto.h \ images.h \ gtkyahoo-authors.h \ events.h gtkyahoo-authors.h: AUTHORS get-authors.pl perl get-authors.pl # # Special dependencies for images.o since images.c is built weird # images.o: \ images.c \ images/logo.xpm \ images/send.xpm \ images/mail-full.xpm \ images/mail-empty.xpm \ images/status-offline.xpm \ images/status-here.xpm \ images/status-idle.xpm \ images/status-away.xpm # # Development utility targets # indent: for p in $(SOURCES) $(HEADERS); do \ case $$p in \ *lex.yy.v*|*y.tab.*) \ echo Skipping Indent: $$p ; \ ;; \ *) \ echo Indenting: $$p ; \ indent $(srcdir)/$$p ; \ rm -f $(srcdir)/$$p~ ; \ ;; \ esac ; \ done proto: $(srcdir)/mkproto $(srcdir)/images.c $(srcdir)/images.h for p in gtkyahoo window-chat window-calendar \ status window-raw window-chatinvite window-addfriend window-addignore\ window-startchat window-autoreply window-removefriend \ window-sendoffline window-recvfile window-sendfile \ window-about actions window-autoforward rcfile utils \ events window-alert window-custom menus idle ; do \ $(srcdir)/mkproto $(srcdir)/$$p.c $(srcdir)/$$p-proto.h; \ done y.tab.c y.tab.h: rcfile.y bison -y -d $(srcdir)/rcfile.y # Wired to flex so that a case insensitive parser can be generated lex.yy.c: rcfile.l y.tab.h flex -i $(srcdir)/rcfile.l # # Install sound files # install-data-local: $(srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir)/sounds for p in $(SOUNDS); do \ $(INSTALL) -m 644 $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/sounds ; \ done $(INSTALL) -m 644 $(srcdir)/sample.gtkyahoorc $(DESTDIR)$(pkgdatadir) $(INSTALL) -m 644 $(srcdir)/simple.gtkyahoorc $(DESTDIR)$(pkgdatadir)