barnowl_perlaimdebianowlrelease-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change
on this file since ac70242 was
ac70242,
checked in by James M. Kretchmar <kretch@mit.edu>, 21 years ago
|
Makefile.in: define DATADIR, for default owlconf.
Makefile.in: provide "all" and "install" rules.
configure.in: try also libdes and libkrb4, for people using heimdal
configure.in: see if des_ecb_encrypt is already prototyped.
configure.in: minor changes to work with new autoconf without needing acconfig.h.
configure.in: find the install program.
configure.in: test for use_default_colors since some versions of
solaris don't have it, so we can at least compile something
vaguely working there.
keypress.c: ifdefs for keys not defined on at least some solarises.
owl.c: don't call use_default_colors if we don't have it
readconfig.c: added *commented out* code to try to find a
system-default owlconf if the user doesn't have one. Have to
ponder if I want this
zcrypt.c: don't prototype des_ecb_encrypt if there is a prototype in
des.h.
zcrypt.c: include owl.h so we get the configure-generated config.h
Change to codelist.pl to deal with new code style
|
-
Property mode set to
100644
|
File size:
1.9 KB
|
Rev | Line | |
---|
[1aee7d9] | 1 | |
---|
| 2 | # $Id$ |
---|
| 3 | |
---|
[ac70242] | 4 | srcdir = @srcdir@ |
---|
| 5 | VPATH = @srcdir@ |
---|
| 6 | |
---|
| 7 | prefix = @prefix@ |
---|
| 8 | exec_prefix = @exec_prefix@ |
---|
| 9 | |
---|
| 10 | datadir = @datadir@ |
---|
| 11 | bindir = @bindir@ |
---|
| 12 | mandir = @mandir@ |
---|
| 13 | |
---|
[7d4fbcd] | 14 | CC=@CC@ |
---|
| 15 | LIBS=@LIBS@ |
---|
| 16 | #CFLAGS=@CFLAGS@ @DEFS@ |
---|
[ac70242] | 17 | CFLAGS=@CFLAGS@ -DDATADIR=\"${datadir}\" |
---|
[7d4fbcd] | 18 | LDFLAGS=@LDFLAGS@ |
---|
[8ee73f8d] | 19 | XSUBPPDIR=@XSUBPPDIR@ |
---|
[ac70242] | 20 | INSTALL = @INSTALL@ |
---|
| 21 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
---|
| 22 | INSTALL_DATA = @INSTALL_DATA@ |
---|
[7d4fbcd] | 23 | |
---|
| 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 \ |
---|
[d0d65df] | 27 | dict.o variable.o varstubs.o filterelement.o pair.o \ |
---|
[d309eb3] | 28 | keypress.o keymap.o keybinding.o cmd.o context.o perlglue.o zcrypt.o |
---|
[7d4fbcd] | 29 | |
---|
[8ee73f8d] | 30 | AUTOGEN=owl_prototypes.h varstubs.c perlglue.c |
---|
[7d4fbcd] | 31 | |
---|
| 32 | owl: $(AUTOGEN) $(OBJS) owl.o |
---|
[601a9e0] | 33 | ./athstatic $(CC) -o owl owl.o $(OBJS) $(LDFLAGS) $(LIBS) |
---|
[7d4fbcd] | 34 | |
---|
| 35 | tester: $(AUTOGEN) $(OBJS) tester.o |
---|
| 36 | $(CC) -o tester tester.o $(OBJS) $(LDFLAGS) $(LIBS) |
---|
| 37 | |
---|
| 38 | test: tester |
---|
| 39 | ./tester reg |
---|
| 40 | |
---|
| 41 | clean: |
---|
[e9b1f60] | 42 | $(RM) owl tester *.o $(AUTOGEN) owl_prototypes.h.new |
---|
[7d4fbcd] | 43 | |
---|
| 44 | distclean: clean |
---|
[e9b1f60] | 45 | $(RM) config.cache config.log config.status Makefile config.h TAGS *~ core |
---|
[7d4fbcd] | 46 | |
---|
| 47 | proto: owl_prototypes.h |
---|
| 48 | |
---|
[8ee73f8d] | 49 | perlglue.c: perlglue.xs |
---|
| 50 | perl $(XSUBPPDIR)/xsubpp -typemap $(XSUBPPDIR)/typemap -prototypes perlglue.xs > perlglue.c |
---|
[7d4fbcd] | 51 | |
---|
| 52 | varstubs.c: variable.c stubgen.pl |
---|
| 53 | perl stubgen.pl > varstubs.c |
---|
| 54 | |
---|
[ac70242] | 55 | all: owl |
---|
| 56 | |
---|
| 57 | install: all installdirs |
---|
| 58 | ${INSTALL_PROGRAM} owl ${bindir}/owl |
---|
| 59 | ${INSTALL_DATA} doc/owl.1 ${mandir}/man1/owl.1 |
---|
| 60 | |
---|
| 61 | installdirs: mkinstalldirs |
---|
| 62 | ${srcdir}/mkinstalldirs ${bindir} ${mandir}/man1 ${datadir}/owl |
---|
| 63 | |
---|
[7d4fbcd] | 64 | # Only move owl_prototypes.h into place if the new one is different |
---|
| 65 | owl_prototypes.h: codelist.pl varstubs.c $(OBJS:.o=.c) |
---|
[d309eb3] | 66 | perl codelist.pl | grep -v ZWRITEOPTIONS > owl_prototypes.h.new |
---|
[7d4fbcd] | 67 | @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.h |
---|
| 69 | |
---|
| 70 | tags: |
---|
| 71 | etags *.[ch] |
---|
| 72 | |
---|
| 73 | *.o:: owl.h config.h owl_prototypes.h |
---|
Note: See
TracBrowser
for help on using the repository browser.