File: Makefile.mingw

package info (click to toggle)
guifications 2.16-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 3,368 kB
  • ctags: 1,094
  • sloc: ansic: 9,991; sh: 8,958; xml: 1,153; makefile: 185
file content (50 lines) | stat: -rw-r--r-- 1,091 bytes parent folder | download | duplicates (2)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# Makefile.mingw
#
# Description: Makefile for win32 (mingw) guifications 2
#

#
# PATHS
#

GF_SRC :=		./src
GF_PIXMAPS :=		./pixmaps
GF_THEMES :=		./themes
GF_PO :=		./po

GF_TOP := .
-include $(GF_TOP)/local.mak

PIDGIN_TREE_TOP ?=		../../..
include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak

##
## VARIABLE DEFINITIONS
##

GF_VERSION := $(shell cat ./VERSION)

PIDGIN_VERSION := $(shell cat $(PIDGIN_TREE_TOP)/VERSION)

.PHONY: all install installer clean

all:
	$(MAKE) -C $(GF_SRC) -f Makefile.mingw
	$(MAKE) -C $(GF_PO) -f Makefile.mingw

gf_config.h: gf_config.h.mingw
	cp gf_config.h.mingw gf_config.h

install: all
	$(MAKE) -C $(GF_PIXMAPS) -f Makefile.mingw install
	$(MAKE) -C $(GF_THEMES) -f Makefile.mingw install
	$(MAKE) -C $(GF_SRC) -f Makefile.mingw install
	$(MAKE) -C $(GF_PO) -f Makefile.mingw install

installer: all
	$(MAKENSIS) -DGUIFICATIONS_VERSION="$(GF_VERSION)" -DPIDGIN_VERSION="$(PIDGIN_VERSION)" -DPIDGIN_TREE_TOP="$(PIDGIN_TREE_TOP)" guifications-installer.nsi

clean:
	$(MAKE) -C $(GF_SRC) -f Makefile.mingw clean
	rm -f gf_config.h guifications-*.exe