girara 0.2.4
[git/cygwin-packages/girara.git] / 0.2.4-cygwin.patch
1 --- origsrc/girara-0.2.4/Makefile 2015-04-13 15:49:26.000000000 -0500
2 +++ src/girara-0.2.4/Makefile 2015-08-27 16:16:35.318521000 -0500
3 @@ -117,10 +117,16 @@ ${BUILDDIR_RELEASE}/${BINDIR}/lib${PROJE
4 $(QUIET)${CC} -Wl,${SONAME_FLAG},lib${PROJECT}.so.${SOMAJOR} \
5 ${SHARED_FLAG} ${LDFLAGS} -o $@ ${OBJECTS} ${LIBS}
6
7 +${BUILDDIR_RELEASE}/${BINDIR}/cyg${PROJECT}-${SOMAJOR}.dll: ${OBJECTS}
8 + $(call colorecho,LD,$@)
9 + @mkdir -p ${BUILDDIR_RELEASE}/${BINDIR}
10 + $(QUIET)${CC} -Wl,--out-implib,${BUILDDIR_RELEASE}/${BINDIR}/lib${PROJECT}.dll.a \
11 + ${SHARED_FLAG} ${LDFLAGS} -o $@ ${OBJECTS} ${LIBS}
12 +
13 ${PROJECT}: static shared
14 ${PROJECTNV}: ${PROJECT}
15 static: ${BUILDDIR_RELEASE}/${BINDIR}/lib${PROJECT}.a
16 -shared: ${BUILDDIR_RELEASE}/${BINDIR}/lib${PROJECT}.so.${SOVERSION}
17 +shared: ${BUILDDIR_RELEASE}/${BINDIR}/cyg${PROJECT}-${SOMAJOR}.dll
18 release: ${PROJECT}
19
20 # debug build
21 @@ -244,12 +250,10 @@ install-static: static
22
23 install-shared: shared
24 $(call colorecho,INSTALL,"Install shared library")
25 + $(QUIET)mkdir -m 755 -p ${DESTDIR}${PREFIX}/bin
26 $(QUIET)mkdir -m 755 -p ${DESTDIR}${LIBDIR}
27 - $(QUIET)install -m 644 ${BUILDDIR_RELEASE}/${BINDIR}/lib${PROJECT}.so.${SOVERSION} ${DESTDIR}${LIBDIR}
28 - $(QUIET)ln -sf lib${PROJECT}.so.${SOVERSION} ${DESTDIR}${LIBDIR}/lib${PROJECT}.so.${SOMAJOR} || \
29 - echo "Failed to create lib${PROJECT}.so.${SOMAJOR}. Please check if it exists and points to the correct version of lib${PROJECT}.so."
30 - $(QUIET)ln -sf lib${PROJECT}.so.${SOVERSION} ${DESTDIR}${LIBDIR}/lib${PROJECT}.so || \
31 - echo "Failed to create lib${PROJECT}.so. Please check if it exists and points to the correct version of lib${PROJECT}.so."
32 + $(QUIET)install -m 644 ${BUILDDIR_RELEASE}/${BINDIR}/cyg${PROJECT}-${SOMAJOR}.dll ${DESTDIR}${PREFIX}/bin
33 + $(QUIET)install -m 644 ${BUILDDIR_RELEASE}/${BINDIR}/lib${PROJECT}.dll.a ${DESTDIR}${LIBDIR}
34
35 install-headers: ${PROJECTNV}/version.h ${BUILDDIR}/${PROJECT}.pc
36 $(call colorecho,INSTALL,"Install pkg-config file")
This page took 0.031424 seconds and 5 git commands to generate.