makefile.mk (e9fab906) makefile.mk (e1df3ed4)
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

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

50OOO_PATCH_FILES= \
51 $(TARFILE_NAME).patch.ooo_build \
52 $(TARFILE_NAME).patch.dmake \
53
54PATCH_FILES=$(OOO_PATCH_FILES)
55
56
57.IF "$(OS)"=="OS2"
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

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

50OOO_PATCH_FILES= \
51 $(TARFILE_NAME).patch.ooo_build \
52 $(TARFILE_NAME).patch.dmake \
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
61OOO_PATCH_FILES+=$(TARFILE_NAME).patch.os2
58CONFIGURE_DIR=
59CONFIGURE_ACTION=libtoolize && aclocal && autoconf && .$/configure RAPTOR2_CFLAGS=-I${PWD}$/..$/${INPATH}/inc RAPTOR2_LIBS='-L${PWD}$/..$/${INPATH}/lib -lraptor2 -lxml2 -lcurl' PKG_CONFIG_PATH='../raptor2-2.0.15;../rasqal-0.9.33'
60CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-regex-library=posix --with-decimal=none
61BUILD_ACTION=$(GNUMAKE)
62BUILD_FLAGS+= -j$(EXTMAXPROCESS)
63BUILD_DIR=$(CONFIGURE_DIR)
62.ELIF "$(OS)"=="WNT"
63.IF "$(COM)"=="GCC"
64rasqal_CC=$(CC) -mthreads
65.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
66rasqal_CC+=-shared-libgcc
67.ENDIF
68rasqal_LIBS=
69.IF "$(MINGW_SHARED_GXXLIB)"=="YES"

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

144.IF "$(COM)"=="GCC"
145OUT2LIB+=src$/.libs$/*.a
146OUT2BIN+=src$/.libs$/*.dll
147OUT2BIN+=src/rasqal-config
148.ELSE
149# if we use dmake, this is done automagically
150.ENDIF
151.ELIF "$(OS)"=="OS2"
64.ELIF "$(OS)"=="WNT"
65.IF "$(COM)"=="GCC"
66rasqal_CC=$(CC) -mthreads
67.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
68rasqal_CC+=-shared-libgcc
69.ENDIF
70rasqal_LIBS=
71.IF "$(MINGW_SHARED_GXXLIB)"=="YES"

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

146.IF "$(COM)"=="GCC"
147OUT2LIB+=src$/.libs$/*.a
148OUT2BIN+=src$/.libs$/*.dll
149OUT2BIN+=src/rasqal-config
150.ELSE
151# if we use dmake, this is done automagically
152.ENDIF
153.ELIF "$(OS)"=="OS2"
152# if we use dmake, this is done automagically
154OUT2LIB+=src$/.libs$/*.a
155OUT2BIN+=src$/.libs$/*.dll
153.ELSE
154OUT2LIB+=src$/.libs$/librasqal.so.$(RASQAL_MAJOR) src$/.libs$/librasqal.so
155OUT2BIN+=src/rasqal-config
156.ENDIF
157
158# --- Targets ------------------------------------------------------
159
160.INCLUDE : set_ext.mk
161.INCLUDE : target.mk
162.INCLUDE : tg_ext.mk
163
156.ELSE
157OUT2LIB+=src$/.libs$/librasqal.so.$(RASQAL_MAJOR) src$/.libs$/librasqal.so
158OUT2BIN+=src/rasqal-config
159.ENDIF
160
161# --- Targets ------------------------------------------------------
162
163.INCLUDE : set_ext.mk
164.INCLUDE : target.mk
165.INCLUDE : tg_ext.mk
166