diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-10-26 15:41:21 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-10-26 15:41:21 +0900 |
commit | a3377e1039b10375101aa7fd1e3d28a744edc854 (patch) | |
tree | 5e2950689deaf406a4c81f17fa55a57503dc4776 /build/atk-introspection-msvc.mak | |
parent | 4ffb1d0e64a5ed0c877abcbc0cd178f8185870a1 (diff) | |
download | atk-accepted/tizen_2.4_mobile.tar.gz atk-accepted/tizen_2.4_mobile.tar.bz2 atk-accepted/tizen_2.4_mobile.zip |
tizen 2.4 releasetizen_2.4_mobile_releasesubmit/tizen_2.4/20151028.063438accepted/tizen/2.4/mobile/20151029.035119tizen_2.4accepted/tizen_2.4_mobile
Diffstat (limited to 'build/atk-introspection-msvc.mak')
-rw-r--r-- | build/atk-introspection-msvc.mak | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/build/atk-introspection-msvc.mak b/build/atk-introspection-msvc.mak new file mode 100644 index 0000000..8b4c38c --- /dev/null +++ b/build/atk-introspection-msvc.mak @@ -0,0 +1,50 @@ +# NMake Makefile to build Introspection Files for ATK + +!include testsrules_msvc.mak + +APIVERSION = 1.0 + +CHECK_PACKAGE = gobject-2.0 + +!include introspection-msvc.mak + +!if "$(BUILD_INTROSPECTION)" == "TRUE" +all: Atk-$(APIVERSION).gir Atk-$(APIVERSION).typelib + +atk_list: + @-echo Generating Filelist to Introspect for ATK... + $(PYTHON2) gen-file-list-atk.py + +Atk-$(APIVERSION).gir: atk_list + @-echo Generating Atk-$(APIVERSION).gir... + @set CC=$(CC) + @set PYTHONPATH=$(BASEDIR)\lib\gobject-introspection + @set PATH=win32\vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(BASEDIR)\bin;$(PATH);$(MINGWDIR)\bin + @set PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) + @set LIB=win32\vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(BASEDIR)\lib;$(LIB) + $(PYTHON2) $(G_IR_SCANNER) --verbose -I.. --add-include-path=.. \ + --namespace=Atk --nsversion=$(APIVERSION) --include=GObject-2.0 \ + --no-libtool --pkg=glib-2.0 --library=atk-1.0 \ + --reparse-validate --add-include-path=$(G_IR_INCLUDEDIR) \ + --pkg-export atk --warn-all --c-include "atk/atk.h" \ + -DATK_DISABLE_DEPRECATED -DATK_COMPILATION -DATK_LOCALEDIR=\"/dummy/share/locale\" \ + --filelist=atk_list -o Atk-$(APIVERSION).gir + +Atk-$(APIVERSION).typelib: Atk-$(APIVERSION).gir + @-echo Compiling Atk-$(APIVERSION).typelib... + $(G_IR_COMPILER) --includedir=. --debug --verbose Atk-1.0.gir -o Atk-1.0.typelib + +install-introspection: Atk-$(APIVERSION).gir Atk-$(APIVERSION).typelib + @-copy Atk-$(APIVERSION).gir $(G_IR_INCLUDEDIR) + @-copy /b Atk-$(APIVERSION).typelib $(G_IR_TYPELIBDIR) + +!else +all: + @-echo $(ERROR_MSG) +!endif + +clean: + @-del /f/q Atk-$(APIVERSION).typelib + @-del /f/q Atk-$(APIVERSION).gir + @-del /f/q atk_list + @-del /f/q *.pyc |