summaryrefslogtreecommitdiff
path: root/MSVC_NMake/install.mak
blob: 473117c534f218fd5838fc984f73f54fe3558eed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# NMake Makefile snippet for copying the built libraries, utilities and headers to
# a path under $(PREFIX).

install: all
	@if not exist $(PREFIX)\bin\ mkdir $(PREFIX)\bin
	@if not exist $(PREFIX)\lib\cairomm-$(CAIROMM_MAJOR_VERSION).$(CAIROMM_MINOR_VERSION)\include\ mkdir $(PREFIX)\lib\cairomm-$(CAIROMM_MAJOR_VERSION).$(CAIROMM_MINOR_VERSION)\include
	@if not exist $(PREFIX)\include\cairomm-$(CAIROMM_MAJOR_VERSION).$(CAIROMM_MINOR_VERSION)\cairomm\ @mkdir $(PREFIX)\include\cairomm-$(CAIROMM_MAJOR_VERSION).$(CAIROMM_MINOR_VERSION)\cairomm
	@copy /b $(CFG)\$(PLAT)\$(CAIROMM_LIBNAME).dll $(PREFIX)\bin
	@copy /b $(CFG)\$(PLAT)\$(CAIROMM_LIBNAME).pdb $(PREFIX)\bin
	@copy /b $(CFG)\$(PLAT)\$(CAIROMM_LIBNAME).lib $(PREFIX)\lib
	@for %h in ($(cairomm_public_h)) do @copy "..\cairomm\%h" "$(PREFIX)\include\cairomm-$(CAIROMM_MAJOR_VERSION).$(CAIROMM_MINOR_VERSION)\cairomm\%h"
	@copy ".\cairomm\cairommconfig.h" "$(PREFIX)\lib\cairomm-$(CAIROMM_MAJOR_VERSION).$(CAIROMM_MINOR_VERSION)\include\"