Changeset d09e5a1 for Makefile.in


Ignore:
Timestamp:
May 31, 2003, 3:33:42 PM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
5e53c4a
Parents:
c86a35c
Message:
Added libfaim
Added basic AIM support, including the "aimlogin", "aimwrite" and
   "aimlogout" commands
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile.in

    raaf6071 rd09e5a1  
    1010
    1111CC=@CC@
    12 LIBS=@LIBS@
    13 CFLAGS=@CFLAGS@ -DDATADIR=\"${datadir}\"
     12LIBS=@LIBS@ -L./libfaim -lfaim
     13CFLAGS=@CFLAGS@ -I. -I./libfaim -DDATADIR=\"${datadir}\"
    1414LDFLAGS=@LDFLAGS@
    1515XSUBPPDIR=@XSUBPPDIR@
     
    2222     readconfig.c keys.c functions.c zwrite.c viewwin.c help.c filter.c \
    2323     regex.c history.c view.c dict.c variable.c filterelement.c pair.c \
    24      keypress.c keymap.c keybinding.c cmd.c context.c zcrypt.c
     24     keypress.c keymap.c keybinding.c cmd.c context.c zcrypt.c aim.c
    2525OWL_SRC = owl.c
    2626TESTER_SRC = tester.c
     
    3434OBJS = $(BASE_OBJS) $(GEN_O)
    3535
    36 AUTOGEN=$(GEN_C) $(GEN_H)
     36#AUTOGEN=$(GEN_C) $(GEN_H)
     37AUTOGEN=$(GEN_C)
    3738
    3839
    39 owl: $(AUTOGEN) $(OBJS) owl.o
     40owl: $(AUTOGEN) $(OBJS) owl.o libfaim
    4041        ./athstatic $(CC) -o owl owl.o $(OBJS) $(LDFLAGS) $(LIBS)
    4142
     
    4647        ./tester reg
    4748
    48 clean:
     49clean: libfaimclean
    4950        $(RM) owl tester *.o $(AUTOGEN) owl_prototypes.h.new
    5051
    51 distclean: clean
     52distclean: clean libfaimdistclean
    5253        $(RM) config.cache config.log config.status Makefile config.h TAGS *~ core
    5354
    54 proto: owl_prototypes.h
     55#proto: owl_prototypes.h
    5556
    5657perlglue.c: perlglue.xs
     
    6162
    6263# Only move owl_prototypes.h into place if the new one is different
    63 owl_prototypes.h: codelist.pl varstubs.c $(BASE_SRCS)
    64         perl codelist.pl | grep -v ZWRITEOPTIONS > owl_prototypes.h.new
    65         @cmp -s owl_prototypes.h.new $@ || { \
    66          echo 'Interfaces changed!'; \
    67          echo mv -f owl_prototypes.h.new $@; \
    68               mv -f owl_prototypes.h.new $@; }
     64#owl_prototypes.h: codelist.pl varstubs.c $(BASE_SRCS)
     65#       perl codelist.pl | grep -v ZWRITEOPTIONS > owl_prototypes.h.new
     66#       @cmp -s owl_prototypes.h.new $@ || { \
     67#        echo 'Interfaces changed!'; \
     68#        echo mv -f owl_prototypes.h.new $@; \
     69#             mv -f owl_prototypes.h.new $@; }
     70owl_prototypes.h:
    6971
    7072.PHONY: tags clean distclean proto test
     
    7577        etags $(BASE_SRCS) $(OWL_SRC) $(TESTER_SRC) $(GEN_C) owl.h $(GEN_H)
    7678
    77 $(BASE_OBJS) varstubs.h:: owl.h config.h owl_prototypes.h
     79#$(BASE_OBJS) varstubs.h:: owl.h config.h owl_prototypes.h
     80$(BASE_OBJS) varstubs.h:: owl.h config.h
     81
     82libfaim: libfaim/libfaim.a
     83
     84libfaim/libfaim.a:
     85        (cd libfaim; $(MAKE))
     86
     87libfaimclean:
     88        (cd libfaim; $(MAKE) clean)
     89
     90libfaimdistclean:
     91        (cd libfaim; $(MAKE) distclean)
    7892
    7993all: owl
     
    8397        ${INSTALL_DATA} doc/owl.1 ${mandir}/man1/owl.1
    8498
    85 
    8699installdirs: mkinstalldirs
    87100        ${srcdir}/mkinstalldirs ${bindir} ${mandir}/man1 ${datadir}/owl
Note: See TracChangeset for help on using the changeset viewer.