Changeset aaf6071
- Timestamp:
- Apr 20, 2003, 1:10:17 PM (21 years ago)
- 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:
- f87c490
- Parents:
- 4594d83
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r69894d2 raaf6071 2 2 3 3 2.0.1-pre-1 4 Moved the (broken)newmsgproc stuff to a function procedure4 Moved newmsgproc stuff to a function procedure 5 5 Added the 'newlinestrip' variable, on by default, that strips 6 6 leading and trailing newlines from incoming messages. … … 64 64 Change to codelist.pl to deal with new code style 65 65 Remove some ancient stuff from zcrypt.c 66 General cleanup to Makefile.in 66 67 67 68 1.2.8 -
Makefile.in
rac70242 raaf6071 1 2 1 # $Id$ 3 2 4 3 srcdir = @srcdir@ 5 4 VPATH = @srcdir@ 6 7 5 prefix = @prefix@ 8 6 exec_prefix = @exec_prefix@ 9 10 7 datadir = @datadir@ 11 8 bindir = @bindir@ … … 14 11 CC=@CC@ 15 12 LIBS=@LIBS@ 16 #CFLAGS=@CFLAGS@ @DEFS@17 13 CFLAGS=@CFLAGS@ -DDATADIR=\"${datadir}\" 18 14 LDFLAGS=@LDFLAGS@ 19 15 XSUBPPDIR=@XSUBPPDIR@ 20 INSTALL =@INSTALL@21 INSTALL_PROGRAM =@INSTALL_PROGRAM@22 INSTALL_DATA =@INSTALL_DATA@16 INSTALL=@INSTALL@ 17 INSTALL_PROGRAM=@INSTALL_PROGRAM@ 18 INSTALL_DATA=@INSTALL_DATA@ 23 19 24 OBJS=list.o message.o mainwin.o popwin.o zephyr.o messagelist.o commands.o \ 25 global.o text.o fmtext.o editwin.o util.o logging.o readconfig.o keys.o \ 26 functions.o zwrite.o viewwin.o help.o filter.o regex.o history.o view.o \ 27 dict.o variable.o varstubs.o filterelement.o pair.o \ 28 keypress.o keymap.o keybinding.o cmd.o context.o perlglue.o zcrypt.o 20 BASE_SRCS=list.c message.c mainwin.c popwin.c zephyr.c messagelist.c \ 21 commands.c global.c text.c fmtext.c editwin.c util.c logging.c \ 22 readconfig.c keys.c functions.c zwrite.c viewwin.c help.c filter.c \ 23 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 25 OWL_SRC = owl.c 26 TESTER_SRC = tester.c 29 27 30 AUTOGEN=owl_prototypes.h varstubs.c perlglue.c 28 BASE_OBJS = $(BASE_SRCS:.c=.o) 29 30 GEN_C = varstubs.c perlglue.c 31 GEN_H = owl_prototypes.h 32 GEN_O = $(GEN_C:.c=.o) 33 34 OBJS = $(BASE_OBJS) $(GEN_O) 35 36 AUTOGEN=$(GEN_C) $(GEN_H) 37 31 38 32 39 owl: $(AUTOGEN) $(OBJS) owl.o 33 40 ./athstatic $(CC) -o owl owl.o $(OBJS) $(LDFLAGS) $(LIBS) 34 41 35 tester: $( AUTOGEN) $(OBJS) tester.o42 tester: $(OBJS) tester.o 36 43 $(CC) -o tester tester.o $(OBJS) $(LDFLAGS) $(LIBS) 37 44 … … 53 60 perl stubgen.pl > varstubs.c 54 61 62 # 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 $@; } 69 70 .PHONY: tags clean distclean proto test 71 72 tags: TAGS 73 74 TAGS: $(BASE_SRCS) $(OWL_SRC) $(TESTER_SRC) $(GEN_C) owl.h $(GEN_H) 75 etags $(BASE_SRCS) $(OWL_SRC) $(TESTER_SRC) $(GEN_C) owl.h $(GEN_H) 76 77 $(BASE_OBJS) varstubs.h:: owl.h config.h owl_prototypes.h 78 55 79 all: owl 56 80 … … 59 83 ${INSTALL_DATA} doc/owl.1 ${mandir}/man1/owl.1 60 84 85 61 86 installdirs: mkinstalldirs 62 87 ${srcdir}/mkinstalldirs ${bindir} ${mandir}/man1 ${datadir}/owl 63 64 # Only move owl_prototypes.h into place if the new one is different65 owl_prototypes.h: codelist.pl varstubs.c $(OBJS:.o=.c)66 perl codelist.pl | grep -v ZWRITEOPTIONS > owl_prototypes.h.new67 @cmp -s owl_prototypes.h.new owl_prototypes.h || echo 'Interfaces changed!'68 @cmp -s owl_prototypes.h.new owl_prototypes.h || mv -f owl_prototypes.h.new owl_prototypes.h69 70 tags:71 etags *.[ch]72 73 *.o:: owl.h config.h owl_prototypes.h
Note: See TracChangeset
for help on using the changeset viewer.