-
Notifications
You must be signed in to change notification settings - Fork 0
/
pxEclient.target.mk
66 lines (47 loc) · 1.75 KB
/
pxEclient.target.mk
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# This file is generated by gyp; do not edit.
TOOLSET := target
TARGET := pxEclient
DEFS_Default :=
# Flags passed to all source files.
CFLAGS_Default :=
# Flags passed to only C files.
CFLAGS_C_Default :=
# Flags passed to only C++ files.
CFLAGS_CC_Default :=
INCS_Default :=
OBJS := $(obj).target/$(TARGET)/src/main.o \
$(obj).target/$(TARGET)/src/option.o \
$(obj).target/$(TARGET)/src/packet.o \
$(obj).target/$(TARGET)/src/auth.o
# Add to the list of files we specially track dependencies for.
all_deps += $(OBJS)
# CFLAGS et al overrides must be target-local.
# See "Target-specific Variable Values" in the GNU Make manual.
$(OBJS): TOOLSET := $(TOOLSET)
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
# Try building from generated source, too.
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
# End of this set of suffix rules
### Rules for final target.
LDFLAGS_Default :=
LIBS :=
$(builddir)/pxEclient: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
$(builddir)/pxEclient: LIBS := $(LIBS)
$(builddir)/pxEclient: LD_INPUTS := $(OBJS)
$(builddir)/pxEclient: TOOLSET := $(TOOLSET)
$(builddir)/pxEclient: $(OBJS) FORCE_DO_CMD
$(call do_cmd,link)
all_deps += $(builddir)/pxEclient
# Add target alias
.PHONY: pxEclient
pxEclient: $(builddir)/pxEclient
# Add executable to "all" target.
.PHONY: all
all: $(builddir)/pxEclient