diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-02-26 03:09:21 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-02-26 03:11:47 +0100 |
commit | 90ec0bf58bf8cd9e59fd4cab2c1dbfde9b4119e1 (patch) | |
tree | 98d5905baa26c2976b57060de5de6665ad2076ba /trio/Makefile.in | |
parent | 64d253be1e67688147246819eeb8e4f8f8e77243 (diff) | |
download | fetchmail-90ec0bf58bf8cd9e59fd4cab2c1dbfde9b4119e1.tar.gz fetchmail-90ec0bf58bf8cd9e59fd4cab2c1dbfde9b4119e1.tar.bz2 fetchmail-90ec0bf58bf8cd9e59fd4cab2c1dbfde9b4119e1.zip |
Import new trio version, disabling config.h #include.
Diffstat (limited to 'trio/Makefile.in')
-rw-r--r-- | trio/Makefile.in | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/trio/Makefile.in b/trio/Makefile.in index f57f16ba..4f3b9692 100644 --- a/trio/Makefile.in +++ b/trio/Makefile.in @@ -10,9 +10,11 @@ RANLIB = @RANLIB@ ERASE = rm -f MKDIR = mkdir -p GENDOC = doxygen - -PURIFY = purify -PURIFYOPTIONS = -chain-length=16 -first-only=YES +srcdir = @srcdir@ +# VPATH doesn't seem to work with /usr/xpg4/bin/make on Solaris +# (use /usr/ccs/bin/make), and doesn't work on older Solaris make +# such as Solaris 2.6. +VPATH = @srcdir@ # Installation settings INSTALL = @INSTALL@ @@ -22,9 +24,22 @@ exec_prefix = @exec_prefix@ includedir = @includedir@ libdir = @libdir@ -all: $(TARGETLIB) $(TARGET) regression +all: $(TARGETLIB) $(TARGET) + +.PHONY: all check test install doc clean + +$(srcdir)/configure: configure.in + cd $(srcdir) && autoconf -test: all +Makefile: Makefile.in config.status + CONFIG_COMMANDS= CONFIG_LINKS= CONFIG_HEADERS= \ + CONFIG_FILES=Makefile ./config.status + +config.status: configure + ./config.status --recheck + +check: test +test: regression ./regression install: $(TARGETLIB) @@ -32,12 +47,9 @@ install: $(TARGETLIB) $(MKDIR) $(includedir) $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB) for i in $(TARGETINCS);do \ - (set -x;$(INSTALL_DATA) $$i $(includedir)); \ + (set -x;$(INSTALL_DATA) $(srcdir)/$$i $(includedir)); \ done -pure: $(TOBJS) $(OBJS) - $(PURIFY) $(PURIFYOPTIONS) $(CC) $(CFLAGS) $^ $(LDFLAGS) - regression: regression.o $(TARGETLIB) $(CC) $(CFLAGS) regression.o $(LDFLAGS) -o $@ @@ -55,7 +67,7 @@ $(TARGETLIB): $(OBJS) $(RANLIB) $(TARGETLIB) doc:: - $(GENDOC) doc/trio.cfg + (cd $(srcdir) && $(GENDOC) doc/trio.cfg) clean: $(ERASE) *~ core core.* regression example $(TOBJS) $(OBJS) $(TARGET) $(TARGETLIB) example.o regression.o |