From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5497 invoked by alias); 1 Sep 2017 09:03:17 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 5487 invoked by uid 89); 1 Sep 2017 09:03:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-124.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*MI:sk:2017090 X-HELO: drew.franken.de Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 01 Sep 2017 09:03:13 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id DCE187213B000 for ; Fri, 1 Sep 2017 11:03:09 +0200 (CEST) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id 39C9D5E0394 for ; Fri, 1 Sep 2017 11:03:09 +0200 (CEST) Received: by calimero.vinschen.de (Postfix, from userid 500) id 2ACF8A80642; Fri, 1 Sep 2017 11:03:09 +0200 (CEST) Date: Fri, 01 Sep 2017 09:03:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: [PATCH v2 6/8] Update Makefile Message-ID: <20170901090309.GE14109@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <20170804025258.19248-7-yselkowi@redhat.com> <20170901014036.8108-1-yselkowi@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: <20170901014036.8108-1-yselkowi@redhat.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-SW-Source: 2017-09/txt/msg00002.txt.bz2 --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2279 Hi Yaakov, On Aug 31 20:40, Yaakov Selkowitz wrote: > --- > Makefile | 28 ++++++++++++++-------------- > 1 file changed, 14 insertions(+), 14 deletions(-) >=20 > diff --git a/Makefile b/Makefile > index e1bb705..ee8d07b 100644 > --- a/Makefile > +++ b/Makefile > @@ -2,6 +2,7 @@ > CC ?=3D gcc > AR ?=3D ar > CFLAGS ?=3D -g -O2 > +CPPFLAGS =3D -I. -D_GNU_SOURCE >=20=20 > prefix:=3D/usr > bindir=3D$(prefix)/bin > @@ -9,41 +10,40 @@ libdir=3D$(prefix)/lib > incdir=3D$(prefix)/include > docdir=3D$(prefix)/share/doc/Cygwin > DLLVER=3D0 > -EXE=3D.exe >=20=20 > STATICLIB=3Dlibcrypt.a > SHAREDLIB=3Dcygcrypt-$(DLLVER).dll > IMPORTLIB=3Dlibcrypt.dll.a >=20=20 > -APPS=3Dcrypt$(EXE) > LIBS=3D$(STATICLIB) $(SHAREDLIB) >=20=20 > -all: $(APPS) $(LIBS) > +SRCS=3Dcrypt.c crypt_blowfish.c crypt_des.c crypt_md5.c crypt_r.c \ > + crypt_sha256.c crypt_sha512.c encrypt.c > +OBJS=3D$(SRCS:.c=3D.o) >=20=20 > -crypt$(EXE): crypt.o $(LIBS) > - $(CC) -o $@ crypt.o -L. -lcrypt > +all: $(LIBS) >=20=20 > -$(STATICLIB): encrypt.o > - $(AR) rv $@ encrypt.o > +$(STATICLIB): $(OBJS) > + $(AR) rv $@ $^ >=20=20 > -$(SHAREDLIB): encrypt.o > - $(CC) -shared -Wl,--gc-sections -Wl,--out-implib=3D$(IMPORTLIB) crypt.d= ef \ > - $^ -o $@ > +$(SHAREDLIB): $(OBJS) crypt.def > + $(CC) -shared -Wl,--gc-sections -Wl,--out-implib=3D$(IMPORTLIB) $^ -o $@ >=20=20 > -encrypt.o: encrypt.h > +crypt.o: crypt.h > + > +crypt_r.o: crypt.h >=20=20 > distclean: clean >=20=20 > clean: > - -rm *.o *.exe *.a *.dll > + -rm *.o *.a *.dll >=20=20 > install: all > install -d $(DESTDIR)$(bindir) > install -d $(DESTDIR)$(libdir) > install -d $(DESTDIR)$(incdir) > install -d $(DESTDIR)$(docdir) > - install -m 755 $(APPS) $(DESTDIR)$(bindir) > - install -m 644 encrypt.h $(DESTDIR)$(incdir)/crypt.h > + install -m 644 crypt.h $(DESTDIR)$(incdir)/crypt.h > install -m 644 $(STATICLIB) $(DESTDIR)$(libdir) > install -m 644 $(IMPORTLIB) $(DESTDIR)$(libdir) > install -m 755 $(SHAREDLIB) $(DESTDIR)$(bindir) > --=20 > 2.14.1 Looks good. Please push and feel free to make a new crypt release. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZqSJMAAoJEPU2Bp2uRE+gnc8P/ii2W+tagkQTGLKr5FAyIZpv HzFOullr15FCA4nhQus+v4dSM7IdJjInVu3w2H3esKYghH3sdQz0uDfqAI6PECJJ JdTjuLs89NrjwHFFMpK7vqzUh0TY+IJAJ11hkWAfanVIiPEYz3w70PpNjnB+MlzL vYhThSvNcUDMs4/iF9i7BnFZ0Xui5iT587TnR8pnUrZzmxgQp7klAD9wZ5tQzLAf 4Il2pHEtwe2LFUQv6rmpw4aTNEc0B21/pxFG2k85pu5wCSJjJ1S48hQMjblYyNt0 hBIemoFIhcAqtVRECkfgnlvIf2Ef+JgZpK/p8y7HD3cxNM5kaqHrGj1bTvTf3HNr MnPSPSV1aKVUgxOAdpZ+/fOPSHawb+/zSMlX+kM/cC8Viw4IklnM5oajK8qZgYhA MltblwoCW5gmX7vbUdjQCKuqhCwgnIgNb3a59o/93fXgN0aMw2SPEnV68vfO8J62 6Oi8QFKF56F7mq97SOn2FevSU+x4oClWB6VGelRUXfWmY491NhcH7tiDXjvM5OdA 50Fh2L8VP835BQcB/yldvMZ/ToI+th91PhwEvMTY1dXk5YANvorlduUggYhEMlqp JwQNmzpi2tTTOdxFaWwYVwVJmOx70Rrx3FGVOcJqk5QLsMaoHrMLOUtiRJKbOM++ usF3Qxo5E4yM6yydbepg =8Gii -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw--