annotate src/win32/IdleTracker/Makefile.mingw @ 13128:8adf78fc630c

[gaim-migrate @ 15490] The old message was a little misleading and scary committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 05 Feb 2006 22:31:48 +0000
parents bb7723f0b4b9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3904
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
1 #
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
2 # Makefile.mingw
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
3 #
4545
464ec3e2ce43 [gaim-migrate @ 4824]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4532
diff changeset
4 # Description: Makefile for idletrack
3904
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
5 #
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
6
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
7 #
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
8 # PATHS
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
9 #
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
10
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
11 GAIM_TOP := ../../..
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
12 GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
13
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
14 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
15 ## VARIABLE DEFINITIONS
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
16 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
17
4545
464ec3e2ce43 [gaim-migrate @ 4824]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4532
diff changeset
18 TARGET = idletrack
3904
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
19
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
20 # Compiler Options
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
21
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
22 CFLAGS =
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
23
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
24 DEFINES =
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
25
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
26 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
27 ## INCLUDE MAKEFILES
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
28 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
29
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
30 include $(GAIM_TOP)/src/win32/global.mak
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
31
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
32 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
33 ## INCLUDE PATHS
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
34 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
35
4532
6488535322a1 [gaim-migrate @ 4811]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3904
diff changeset
36 INCLUDE_PATHS +=
3904
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
37
4532
6488535322a1 [gaim-migrate @ 4811]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3904
diff changeset
38 LIB_PATHS =
3904
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
39
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
40 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
41 ## SOURCES, OBJECTS
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
42 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
43
4545
464ec3e2ce43 [gaim-migrate @ 4824]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4532
diff changeset
44 C_SRC = idletrack.c
3904
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
45
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
46 OBJECTS = $(C_SRC:%.c=%.o)
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
47
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
48
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
49 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
50 ## LIBRARIES
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
51 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
52
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
53 LIBS =
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
54
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
55 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
56 ## RULES
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
57 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
58
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
59 # How to make a C file
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
60
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
61 %.o: %.c
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
62 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@ -c $<
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
63
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
64 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
65 ## TARGET DEFINITIONS
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
66 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
67
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
68 .PHONY: all clean
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
69
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
70 all: $(TARGET).dll
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
71
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
72 install:
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
73
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
74
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
75 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
76 ## BUILD DLL
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
77 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
78
5932
bb7723f0b4b9 [gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4545
diff changeset
79 $(TARGET).dll: $(OBJECTS)
bb7723f0b4b9 [gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4545
diff changeset
80 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--out-implib,$(TARGET).lib -o $(TARGET).dll
3904
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
81
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
82 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
83 ## CLEAN RULES
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
84 ##
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
85
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
86 clean:
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
87 rm -rf *.o
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
88 rm -rf $(TARGET).dll
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
89 rm -rf $(TARGET).lib
98ede8f38be6 [gaim-migrate @ 4057]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
90 rm -rf $(TARGET).def