-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmakefile
72 lines (60 loc) · 2.01 KB
/
makefile
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
66
67
68
69
70
71
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include backends/subdir.mk
-include http/subdir.mk
-include Inventory/subdir.mk
-include tinyxml2/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
endif
# Add inputs and outputs from these tool invocations to the build variables
# All Target
all: OcsInventory-ng-agent urltest processors-info-test
# Tool invocations
OcsInventory-ng-agent: $(OBJS) $(USER_OBJS) main.o
@echo 'Building target: $@'
@echo 'Invoking: GCC C++ Linker'
g++ -o "ocsinventory-agent" $(OBJS) $(USER_OBJS) main.o $(LDFLAGS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
urltest: $(OBJS) $(USER_OBJS) test/urltest.o
@echo 'Building target: $@'
@echo 'Invoking: GCC C++ Linker'
g++ -o "test/urltest" $(OBJS) $(USER_OBJS) test/urltest.o $(LDFLAGS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
processors-info-test: $(OBJS) $(USER_OBJS) test/processors-info-test.o
@echo 'Building target: $@'
@echo 'Invoking: GCC C++ Linker'
g++ -o "test/processors-info-test" $(OBJS) $(USER_OBJS) test/processors-info-test.o $(LDFLAGS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(OBJS)$(C++_DEPS)$(C_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(CXX_DEPS)$(C_UPPER_DEPS) main.o test/urltest.o test/processors-info-test.o ocsinventory-agent test/urltest test/processors-info-test
-@echo ' '
.PHONY: all clean dependents
.SECONDARY: