Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 356550 Details for
Bug 378013
app-crypt/pvk - Converts PVK files to PEM files and back again
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
app-crypt/pvk/files/pvk-0.12-Makefile-rework.diff
pvk-0.12-Makefile-rework.diff (text/plain), 1.54 KB, created by
Bertrand Jacquin
on 2013-08-20 23:51:10 UTC
(
hide
)
Description:
app-crypt/pvk/files/pvk-0.12-Makefile-rework.diff
Filename:
MIME Type:
Creator:
Bertrand Jacquin
Created:
2013-08-20 23:51:10 UTC
Size:
1.54 KB
patch
obsolete
>--- Makefile 2013-08-21 00:35:26.024299153 +0200 >+++ Makefile 2013-08-21 01:06:19.256160856 +0200 >@@ -1,23 +1,64 @@ >+#!/usr/bin/make -f < > >-# Editable options >-TOP=$(HOME)/openssl >-SSLINC=/usr/local/ssl/include >-SSLLIB=/usr/local/ssl/lib >+NAME = pvk > >-CFLAGS=-Wall -I$(SSLINC) >+# Source files >+SRC = \ >+ pvk.c \ >+ pvkerr.c \ >+ pvkread.c \ >+ pvkwrite.c > >-all: pvk >+# Usefull programs >+PKG_CONFIG ?= pkg-config > >-OBJS=pvkread.o pvkwrite.o pvkerr.o >+CC ?= cc > >-$(OBJS): pvk.h >+INSTALL ?= install >+RM ?= rm -f > >-pvk: $(OBJS) pvk.o pvk.h >- $(CC) $(CFLAGS) -o pvk pvk.o $(OBJS) -L$(SSLLIB) -lcrypto >+# Installation destination >+DESTDIR = >+PREFIX = /usr/local >+BINDIR = $(PREFIX)/bin > >-errors: >- perl $(TOP)/util/mkerr.pl -nostatic -conf pvk.ec -write *.c >+# Compiler flags, if user environnement does not define them >+CFLAGS ?= \ >+ -W -Wall > >-clean: >- rm -f *.o pvk >+CRYPTO_CFLAGS ?= \ >+ $(shell sh -c '$(PKG_CONFIG) --cflags libcrypto') >+ >+CRYPTO_LDFLAGS ?= \ >+ $(shell sh -c '$(PKG_CONFIG) --libs libcrypto') >+ >+# Compiler flags to apply in any cases >+SPEC_CFLAGS = \ >+ $(CRYPTO_CFLAGS) >+ >+SPEC_LDFLAGS = \ >+ $(CRYPTO_LDFLAGS) >+ >+# Build pvk by default >+all: $(NAME) >+ >+# Compile rules >+$(NAME): $(SRC:c=o) >+ $(CC) -o $@ $^ $(SPEC_LDFLAGS) $(LDFLAGS) > >+$(NAME).o: $(NAME).c $(NAME).h >+ $(CC) -c $(SPEC_CFLAGS) $(CFLAGS) -o $@ $< >+ >+%.o: %.c >+ $(CC) -c $(SPEC_CFLAGS) $(CFLAGS) -o $@ $< >+ >+# Install rules >+install: $(DESTDIR)$(BINDIR)/$(NAME) >+ >+$(DESTDIR)$(BINDIR)/$(NAME): $(NAME) >+ $(INSTALL) -D -m 755 $< $@ >+ >+# Cleanup rules >+clean: >+ $(RM) $(SRC:c=o) >+ $(RM) $(NAME)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 378013
:
282327
|
350508
|
356548
| 356550