File: gjs-introspection-msvc.mak

package info (click to toggle)
gjs 1.58.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 5,140 kB
  • sloc: cpp: 24,189; sh: 4,931; ansic: 573; makefile: 206; xml: 75
file content (34 lines) | stat: -rw-r--r-- 1,142 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

!if "$(BUILD_INTROSPECTION)" == "TRUE"
# Create the file list for introspection (to avoid the dreaded command-line-too-long problem on Windows)
vs$(VSVER)\$(CFG)\$(PLAT)\libgjs\gjs_private_list:
	@for %f in ($(LIBGJS_PRIVATE_SOURCES)) do @echo ../%f >> $@

vs$(VSVER)\$(CFG)\$(PLAT)\GjsPrivate-1.0.gir: vs$(VSVER)\$(CFG)\$(PLAT)\gjs.lib vs$(VSVER)\$(CFG)\$(PLAT)\libgjs\gjs_private_list
	@-echo Generating $@...
	$(PYTHON) $(G_IR_SCANNER)			\
	--verbose -no-libtool				\
	--identifier-prefix=Gjs				\
	--symbol-prefix=gjs_				\
	--warn-all					\
	--namespace=GjsPrivate			\
	--nsversion=1.0					\
	$(INTROSPECTION_INCLUDE_PACKAGES)		\
	--library=gjs					\
	--add-include-path=$(G_IR_INCLUDEDIR)		\
	--pkg-export=gjs				\
	--cflags-begin					\
	$(LIBGJS_CFLAGS_BASE)				\
	--cflags-end					\
	--filelist=vs$(VSVER)\$(CFG)\$(PLAT)\libgjs\gjs_private_list	\
	-L.\vs$(VSVER)\$(CFG)\$(PLAT)	\
	-o $@

vs$(VSVER)\$(CFG)\$(PLAT)\GjsPrivate-1.0.typelib: vs$(VSVER)\$(CFG)\$(PLAT)\GjsPrivate-1.0.gir
	$(PREFIX)\bin\g-ir-compiler			\
	--includedir=vs$(VSVER)\$(CFG)\$(PLAT) --debug --verbose	\
	$(**:\=/)					\
	-o $@
!else
!error $(ERROR_MSG)
!endif