barnowl_perlaimdebianowlrelease-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change
on this file since 7933748 was
d0d65df,
checked in by James M. Kretchmar <kretch@mit.edu>, 22 years ago
|
The message object now uses a list of attributes internally, in
prep. for supporting new messaging protocols
owl_function_info now uses fmtext instead of one staticly sized
buffer
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[1aee7d9] | 1 | |
---|
| 2 | # $Id$ |
---|
| 3 | |
---|
[7d4fbcd] | 4 | CC=@CC@ |
---|
| 5 | LIBS=@LIBS@ |
---|
| 6 | #CFLAGS=@CFLAGS@ @DEFS@ |
---|
| 7 | CFLAGS=@CFLAGS@ |
---|
| 8 | LDFLAGS=@LDFLAGS@ |
---|
[8ee73f8d] | 9 | XSUBPPDIR=@XSUBPPDIR@ |
---|
[7d4fbcd] | 10 | |
---|
| 11 | OBJS=list.o message.o mainwin.o popwin.o zephyr.o messagelist.o commands.o \ |
---|
| 12 | global.o text.o fmtext.o editwin.o util.o logging.o readconfig.o keys.o \ |
---|
| 13 | functions.o zwrite.o viewwin.o help.o filter.o regex.o history.o view.o \ |
---|
[d0d65df] | 14 | dict.o variable.o varstubs.o filterelement.o pair.o \ |
---|
[d309eb3] | 15 | keypress.o keymap.o keybinding.o cmd.o context.o perlglue.o zcrypt.o |
---|
[7d4fbcd] | 16 | |
---|
[8ee73f8d] | 17 | AUTOGEN=owl_prototypes.h varstubs.c perlglue.c |
---|
[7d4fbcd] | 18 | |
---|
| 19 | owl: $(AUTOGEN) $(OBJS) owl.o |
---|
[601a9e0] | 20 | ./athstatic $(CC) -o owl owl.o $(OBJS) $(LDFLAGS) $(LIBS) |
---|
[7d4fbcd] | 21 | |
---|
| 22 | tester: $(AUTOGEN) $(OBJS) tester.o |
---|
| 23 | $(CC) -o tester tester.o $(OBJS) $(LDFLAGS) $(LIBS) |
---|
| 24 | |
---|
| 25 | test: tester |
---|
| 26 | ./tester reg |
---|
| 27 | |
---|
| 28 | clean: |
---|
| 29 | $(RM) *~ *.o owl tester core $(AUTOGEN) owl_prototypes.h.new |
---|
| 30 | |
---|
| 31 | distclean: clean |
---|
| 32 | $(RM) config.cache config.log config.status Makefile config.h TAGS |
---|
| 33 | |
---|
| 34 | proto: owl_prototypes.h |
---|
| 35 | |
---|
[8ee73f8d] | 36 | perlglue.c: perlglue.xs |
---|
| 37 | perl $(XSUBPPDIR)/xsubpp -typemap $(XSUBPPDIR)/typemap -prototypes perlglue.xs > perlglue.c |
---|
[7d4fbcd] | 38 | |
---|
| 39 | varstubs.c: variable.c stubgen.pl |
---|
| 40 | perl stubgen.pl > varstubs.c |
---|
| 41 | |
---|
| 42 | # Only move owl_prototypes.h into place if the new one is different |
---|
| 43 | owl_prototypes.h: codelist.pl varstubs.c $(OBJS:.o=.c) |
---|
[d309eb3] | 44 | perl codelist.pl | grep -v ZWRITEOPTIONS > owl_prototypes.h.new |
---|
[7d4fbcd] | 45 | @cmp -s owl_prototypes.h.new owl_prototypes.h || echo 'Interfaces changed!' |
---|
| 46 | @cmp -s owl_prototypes.h.new owl_prototypes.h || mv -f owl_prototypes.h.new owl_prototypes.h |
---|
| 47 | |
---|
| 48 | tags: |
---|
| 49 | etags *.[ch] |
---|
| 50 | |
---|
| 51 | *.o:: owl.h config.h owl_prototypes.h |
---|
Note: See
TracBrowser
for help on using the repository browser.