makefile.mk (7871dc3e) makefile.mk (f78a4bb8)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 26 unchanged lines hidden (view full) ---

35 @echo "An already available installation of Redland RDF should exist on your system."
36 @echo "Therefore the version provided here does not need to be built in addition."
37.ENDIF
38
39# --- Files --------------------------------------------------------
40
41.INCLUDE : ../redlandversion.mk
42
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 26 unchanged lines hidden (view full) ---

35 @echo "An already available installation of Redland RDF should exist on your system."
36 @echo "Therefore the version provided here does not need to be built in addition."
37.ENDIF
38
39# --- Files --------------------------------------------------------
40
41.INCLUDE : ../redlandversion.mk
42
43RASQALVERSION=0.9.16
43RASQALVERSION=0.9.33
44
45TARFILE_NAME=rasqal-$(RASQALVERSION)
44
45TARFILE_NAME=rasqal-$(RASQALVERSION)
46TARFILE_MD5=fca8706f2c4619e2fa3f8f42f8fc1e9d
46TARFILE_MD5=1f5def51ca0026cd192958ef07228b52
47
47
48ADDITIONAL_FILES=src/makefile.mk src/rasqal_config.h
48ADDITIONAL_FILES=src/makefile.mk
49
50OOO_PATCH_FILES= \
49
50OOO_PATCH_FILES= \
51 $(TARFILE_NAME).patch.autotools \
52 $(TARFILE_NAME).patch.ooo_build \
53 $(TARFILE_NAME).patch.dmake \
51 $(TARFILE_NAME).patch.ooo_build \
52 $(TARFILE_NAME).patch.dmake \
54 $(TARFILE_NAME).patch.win32
55
56PATCH_FILES=$(OOO_PATCH_FILES)
57
58
59.IF "$(OS)"=="OS2"
60BUILD_ACTION=dmake
61BUILD_DIR=$(CONFIGURE_DIR)$/src
62ADDITIONAL_FILES+=src/windows.h

--- 12 unchanged lines hidden (view full) ---

75CONFIGURE_DIR=
76CONFIGURE_ACTION=.$/configure PATH="..$/..$/..$/bin:$$PATH"
77CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-openssl-digests --with-xml-parser=libxml --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --disable-pcre --with-decimal=none --with-www=xml --build=i586-pc-mingw32 --host=i586-pc-mingw32 lt_cv_cc_dll_switch="-shared" CC="$(rasqal_CC)" CPPFLAGS="-nostdinc $(INCLUDE)" LDFLAGS="-no-undefined -Wl,--enable-runtime-pseudo-reloc-v2,--export-all-symbols -L$(ILIB:s/;/ -L/)" LIBS="$(rasqal_LIBS)" OBJDUMP="$(WRAPCMD) objdump" LIBXML2LIB=$(LIBXML2LIB) XSLTLIB="$(XSLTLIB)"
78BUILD_ACTION=$(GNUMAKE)
79BUILD_FLAGS+= -j$(EXTMAXPROCESS)
80BUILD_DIR=$(CONFIGURE_DIR)
81.ELSE
82# there is no wntmsci build environment in the tarball; we use custom dmakefile
53
54PATCH_FILES=$(OOO_PATCH_FILES)
55
56
57.IF "$(OS)"=="OS2"
58BUILD_ACTION=dmake
59BUILD_DIR=$(CONFIGURE_DIR)$/src
60ADDITIONAL_FILES+=src/windows.h

--- 12 unchanged lines hidden (view full) ---

73CONFIGURE_DIR=
74CONFIGURE_ACTION=.$/configure PATH="..$/..$/..$/bin:$$PATH"
75CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-openssl-digests --with-xml-parser=libxml --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --disable-pcre --with-decimal=none --with-www=xml --build=i586-pc-mingw32 --host=i586-pc-mingw32 lt_cv_cc_dll_switch="-shared" CC="$(rasqal_CC)" CPPFLAGS="-nostdinc $(INCLUDE)" LDFLAGS="-no-undefined -Wl,--enable-runtime-pseudo-reloc-v2,--export-all-symbols -L$(ILIB:s/;/ -L/)" LIBS="$(rasqal_LIBS)" OBJDUMP="$(WRAPCMD) objdump" LIBXML2LIB=$(LIBXML2LIB) XSLTLIB="$(XSLTLIB)"
76BUILD_ACTION=$(GNUMAKE)
77BUILD_FLAGS+= -j$(EXTMAXPROCESS)
78BUILD_DIR=$(CONFIGURE_DIR)
79.ELSE
80# there is no wntmsci build environment in the tarball; we use custom dmakefile
81OOO_PATCH_FILES+= $(TARFILE_NAME).patch.win32
82CONFIGURE_ACTION= ${PERL} -p -e '$$prefix="'$(PWD)/$(OUT)'"; $$libdir="'$(PWD)/$(LB)'"; $$incdir="'$(PWD)/$(INCCOM)'"; $$ldflags="-L$(SOLARLIBDIR) -lraptor2 -lm";' -e 's/\@prefix\@/$$prefix/; s/\@exec_prefix\@/\$${prefix}/; s/\@libdir\@/$$libdir/; s/\@includedir\@/$$incdir/; s/\@PACKAGE\@/rasqal/; s/\@VERSION\@/0.9.33/; s/\@PKG_CONFIG_REQUIRES\@/raptor2 >= 2.0.7/; s/\@RAPTOR_LDFLAGS\@/$$ldflags/;' < rasqal.pc.in > rasqal.pc && \
83 ${PERL} -p -e 's/\@RASQAL_VERSION_DECIMAL\@/933/;s/\@VERSION\@/0.9.33/;s/\@RASQAL_VERSION_MAJOR\@/0/;s/\@RASQAL_VERSION_MINOR\@/9/;s/\@RASQAL_VERSION_RELEASE\@/33/;s/\@HAVE_SYS_TIME_H\@/0/;s/\@HAVE_TIME_H\@/1/;s/\@RAPTOR_VERSION_DEC\@/2.0.15/' < src/rasqal.h.in > src/rasqal.h && \
84 $(COPY) src/rasqal_config.h.in src/rasqal_config.h && \
85 $(COPY) src/snprintf.c src/rasqal_snprintf.c && \
86 $(COPY) libsv/sv.c src/sv.c
83BUILD_ACTION=dmake
84BUILD_DIR=$(CONFIGURE_DIR)$/src
85.ENDIF
86.ELSE # "WNT"
87
88.IF "$(OS)$(COM)"=="LINUXGCC" || "$(OS)$(COM)"=="FREEBSDGCC"
89LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' -Wl,-noinhibit-exec
90.ENDIF # "$(OS)$(COM)"=="LINUXGCC"

--- 22 unchanged lines hidden (view full) ---

113XSLTLIB!:=$(XSLTLIB) # expand dmake variables for xslt-config
114
115.EXPORT: CPPFLAGS
116.EXPORT: LDFLAGS
117.EXPORT: LIBXML2LIB
118.EXPORT: XSLTLIB
119
120CONFIGURE_DIR=
87BUILD_ACTION=dmake
88BUILD_DIR=$(CONFIGURE_DIR)$/src
89.ENDIF
90.ELSE # "WNT"
91
92.IF "$(OS)$(COM)"=="LINUXGCC" || "$(OS)$(COM)"=="FREEBSDGCC"
93LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' -Wl,-noinhibit-exec
94.ENDIF # "$(OS)$(COM)"=="LINUXGCC"

--- 22 unchanged lines hidden (view full) ---

117XSLTLIB!:=$(XSLTLIB) # expand dmake variables for xslt-config
118
119.EXPORT: CPPFLAGS
120.EXPORT: LDFLAGS
121.EXPORT: LIBXML2LIB
122.EXPORT: XSLTLIB
123
124CONFIGURE_DIR=
121CONFIGURE_ACTION=.$/configure PATH="..$/..$/..$/bin:$$PATH"
122CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml
125CONFIGURE_ACTION=.$/configure PATH="..$/..$/..$/bin:$$PATH" RASQAL_CFLAGS=-I${PWD}$/..$/${INPATH}/inc RASQAL_LIBS="-L${PWD}/..$/${INPATH}/lib -lrasqual" RAPTOR2_CFLAGS=-I${PWD}$/..$/${INPATH}/inc RAPTOR2_LIBS="-L${PWD}/..$/${INPATH}/lib -lraptor2" PKG_CONFIG_PATH="../raptor2-2.0.15:../rasqal-0.9.33"
126CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-regex-library=posix --with-decimal=none
127.IF "$(SYSTEM_LIBXML)" == "NO"
128CONFIGURE_FLAGS+=--with-xml2-config=${SOLARVERSION}/${INPATH}/bin/xml2-config
129.ENDIF
123BUILD_ACTION=$(AUGMENT_LIBRARY_PATH) $(GNUMAKE)
124BUILD_FLAGS+= -j$(EXTMAXPROCESS)
125BUILD_DIR=$(CONFIGURE_DIR)
126#INSTALL_ACTION=$(GNUMAKE) install
127#INSTALL_FLAGS+=DESTDIR=$(PWD)$/$(P_INSTALL_TARGET_DIR)
128.ENDIF
129
130

--- 26 unchanged lines hidden ---
130BUILD_ACTION=$(AUGMENT_LIBRARY_PATH) $(GNUMAKE)
131BUILD_FLAGS+= -j$(EXTMAXPROCESS)
132BUILD_DIR=$(CONFIGURE_DIR)
133#INSTALL_ACTION=$(GNUMAKE) install
134#INSTALL_FLAGS+=DESTDIR=$(PWD)$/$(P_INSTALL_TARGET_DIR)
135.ENDIF
136
137

--- 26 unchanged lines hidden ---