windows.mk (cf91f1ae) windows.mk (8e6bd3e9)
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

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

275$(call gb_Output_announce,$(2),$(true),C ,3)
276$(call gb_Helper_abbreviate_dirs_native,\
277 mkdir -p $(dir $(1)) $(dir $(4)) && \
278 unset INCLUDE && \
279 $(gb_CC) \
280 $(DEFS) \
281 $(T_CFLAGS) \
282 -Fd$(PDBFILE) \
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

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

275$(call gb_Output_announce,$(2),$(true),C ,3)
276$(call gb_Helper_abbreviate_dirs_native,\
277 mkdir -p $(dir $(1)) $(dir $(4)) && \
278 unset INCLUDE && \
279 $(gb_CC) \
280 $(DEFS) \
281 $(T_CFLAGS) \
282 -Fd$(PDBFILE) \
283 $(CFLAGS) \
283 $(PCHFLAGS) \
284 -I$(dir $(3)) \
285 $(INCLUDE) \
286 -c $(3) \
287 -Fo$(1))
288$(call gb_Object__command_deponcompile,$(1),$(4),$(3),$(DEFS),$(T_CFLAGS),$(INCLUDE))
289endef
290

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

295$(call gb_Output_announce,$(2),$(true),CXX,3)
296$(call gb_Helper_abbreviate_dirs_native,\
297 mkdir -p $(dir $(1)) $(dir $(4)) && \
298 unset INCLUDE && \
299 $(gb_CXX) \
300 $(DEFS) \
301 $(T_CXXFLAGS) \
302 -Fd$(PDBFILE) \
284 $(PCHFLAGS) \
285 -I$(dir $(3)) \
286 $(INCLUDE) \
287 -c $(3) \
288 -Fo$(1))
289$(call gb_Object__command_deponcompile,$(1),$(4),$(3),$(DEFS),$(T_CFLAGS),$(INCLUDE))
290endef
291

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

296$(call gb_Output_announce,$(2),$(true),CXX,3)
297$(call gb_Helper_abbreviate_dirs_native,\
298 mkdir -p $(dir $(1)) $(dir $(4)) && \
299 unset INCLUDE && \
300 $(gb_CXX) \
301 $(DEFS) \
302 $(T_CXXFLAGS) \
303 -Fd$(PDBFILE) \
304 $(CXXFLAGS) \
303 $(PCHFLAGS) \
304 -I$(dir $(3)) \
305 $(INCLUDE_STL) $(INCLUDE) \
306 -c $(3) \
307 -Fo$(1))
308$(call gb_Object__command_deponcompile,$(1),$(4),$(3),$(DEFS),$(T_CXXFLAGS),$(INCLUDE))
309endef
310

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

544$(call gb_Deliver_add_deliverable,$(OUTDIR)/bin/$(notdir $(patsubst %.dll,%.pdb,$(3))),$(patsubst %.dll,%.pdb,$(3)),$(1))
545$(call gb_Deliver_add_deliverable,$(OUTDIR)/bin/$(notdir $(patsubst %.dll,%.ilk,$(3))),$(patsubst %.dll,%.ilk,$(3)),$(1))
546endif
547
548$(call gb_Deliver_add_deliverable,$(OUTDIR)/bin/$(notdir $(3)),$(3),$(1))
549
550$(call gb_LinkTarget_get_target,$(2)) \
551$(call gb_LinkTarget_get_headers_target,$(2)) : PDBFILE = $(call gb_LinkTarget_get_pdbfile,$(2))
305 $(PCHFLAGS) \
306 -I$(dir $(3)) \
307 $(INCLUDE_STL) $(INCLUDE) \
308 -c $(3) \
309 -Fo$(1))
310$(call gb_Object__command_deponcompile,$(1),$(4),$(3),$(DEFS),$(T_CXXFLAGS),$(INCLUDE))
311endef
312

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

546$(call gb_Deliver_add_deliverable,$(OUTDIR)/bin/$(notdir $(patsubst %.dll,%.pdb,$(3))),$(patsubst %.dll,%.pdb,$(3)),$(1))
547$(call gb_Deliver_add_deliverable,$(OUTDIR)/bin/$(notdir $(patsubst %.dll,%.ilk,$(3))),$(patsubst %.dll,%.ilk,$(3)),$(1))
548endif
549
550$(call gb_Deliver_add_deliverable,$(OUTDIR)/bin/$(notdir $(3)),$(3),$(1))
551
552$(call gb_LinkTarget_get_target,$(2)) \
553$(call gb_LinkTarget_get_headers_target,$(2)) : PDBFILE = $(call gb_LinkTarget_get_pdbfile,$(2))
552
554ifeq ($(gb_FULLDEPS),$(true))
555$(call gb_LinkTarget_get_dep_target,$(2)) : PDBFILE = $(call gb_LinkTarget_get_pdbfile,$(2))
556endif
553endef
554
555define gb_Library_add_default_nativeres
556$(call gb_WinResTarget_WinResTarget_init,$(1)/$(2))
557$(call gb_WinResTarget_add_file,$(1)/$(2),solenv/inc/shlinfo)
558$(call gb_WinResTarget_set_defs,$(1)/$(2),\
559 $$(DEFS) \
560 -DADDITIONAL_VERINFO1 \

--- 180 unchanged lines hidden ---
557endef
558
559define gb_Library_add_default_nativeres
560$(call gb_WinResTarget_WinResTarget_init,$(1)/$(2))
561$(call gb_WinResTarget_add_file,$(1)/$(2),solenv/inc/shlinfo)
562$(call gb_WinResTarget_set_defs,$(1)/$(2),\
563 $$(DEFS) \
564 -DADDITIONAL_VERINFO1 \

--- 180 unchanged lines hidden ---