Commit 6df069da83f1345a61ba0fe570721908f6e240dc
1 parent
981dd162
Exists in
master
and in
1 other branch
Updating library package.
Showing
5 changed files
with
86 additions
and
9 deletions
Show diff stats
Makefile.in
... | ... | @@ -44,6 +44,7 @@ LIBRARY_NAME=hllapi |
44 | 44 | |
45 | 45 | LIBRARY_SOURCES= \ |
46 | 46 | $(wildcard src/$(LIBRARY_NAME)/*.c) \ |
47 | + $(wildcard src/$(LIBRARY_NAME)/*.cc) \ | |
47 | 48 | $(wildcard src/$(LIBRARY_NAME)/@OSNAME@/*.c) \ |
48 | 49 | $(wildcard src/$(LIBRARY_NAME)/@OSNAME@/*.rc) |
49 | 50 | |
... | ... | @@ -146,6 +147,19 @@ $(OBJDBG)/%.o: \ |
146 | 147 | -o $@ -c $< |
147 | 148 | |
148 | 149 | $(OBJDBG)/%.o: \ |
150 | + %.cc \ | |
151 | + $(DEPENDS) | |
152 | + | |
153 | + @echo $< ... | |
154 | + @$(MKDIR) $(@D) | |
155 | + | |
156 | + @$(CXX) \ | |
157 | + $(CFLAGS) \ | |
158 | + -Wall -Wextra -fstack-check \ | |
159 | + -DDEBUG=1 \ | |
160 | + -o $@ -c $< | |
161 | + | |
162 | +$(OBJDBG)/%.o: \ | |
149 | 163 | %.rc |
150 | 164 | |
151 | 165 | @echo $< ... |
... | ... | @@ -166,6 +180,17 @@ $(OBJRLS)/%.o: \ |
166 | 180 | -o $@ -c $< |
167 | 181 | |
168 | 182 | $(OBJRLS)/%.o: \ |
183 | + %.cc \ | |
184 | + $(DEPENDS) | |
185 | + | |
186 | + @echo $< ... | |
187 | + @$(MKDIR) $(@D) | |
188 | + @$(CXX) \ | |
189 | + $(CFLAGS) \ | |
190 | + -DNDEBUG=1 \ | |
191 | + -o $@ -c $< | |
192 | + | |
193 | +$(OBJRLS)/%.o: \ | |
169 | 194 | %.rc |
170 | 195 | |
171 | 196 | @echo $< ... | ... | ... |
configure.ac
hllapi.cbp
... | ... | @@ -32,24 +32,46 @@ |
32 | 32 | <Compiler> |
33 | 33 | <Add option="-Wall" /> |
34 | 34 | </Compiler> |
35 | - <Unit filename="src/plugin/linux/daemon.h" /> | |
36 | - <Unit filename="src/plugin/linux/globals.h" /> | |
37 | - <Unit filename="src/plugin/linux/gobject.c"> | |
35 | + <Unit filename="src/daemon/linux/daemon.c"> | |
38 | 36 | <Option compilerVar="CC" /> |
39 | 37 | </Unit> |
40 | - <Unit filename="src/plugin/linux/main.c"> | |
38 | + <Unit filename="src/daemon/linux/iocallback.c"> | |
41 | 39 | <Option compilerVar="CC" /> |
42 | 40 | </Unit> |
43 | - <Unit filename="src/plugin/linux/misc.c"> | |
41 | + <Unit filename="src/hllapi/calls.cc" /> | |
42 | + <Unit filename="src/hllapi/client.h" /> | |
43 | + <Unit filename="src/hllapi/hllapi.c"> | |
44 | 44 | <Option compilerVar="CC" /> |
45 | 45 | </Unit> |
46 | - <Unit filename="src/plugin/linux/service.h" /> | |
47 | - <Unit filename="src/plugin/windows/main.c"> | |
46 | + <Unit filename="src/hllapi/remotectl.h" /> | |
47 | + <Unit filename="src/include/config.h" /> | |
48 | + <Unit filename="src/include/dbus-glue.h" /> | |
49 | + <Unit filename="src/ipc3270c/linux/daemon.h" /> | |
50 | + <Unit filename="src/ipc3270c/linux/globals.h" /> | |
51 | + <Unit filename="src/ipc3270c/linux/gobject.c"> | |
52 | + <Option compilerVar="CC" /> | |
53 | + </Unit> | |
54 | + <Unit filename="src/ipc3270c/linux/main.c"> | |
55 | + <Option compilerVar="CC" /> | |
56 | + </Unit> | |
57 | + <Unit filename="src/ipc3270c/linux/misc.c"> | |
48 | 58 | <Option compilerVar="CC" /> |
49 | 59 | </Unit> |
60 | + <Unit filename="src/ipc3270c/linux/service.h" /> | |
61 | + <Unit filename="src/ipc3270c/windows/main.c"> | |
62 | + <Option compilerVar="CC" /> | |
63 | + </Unit> | |
64 | + <Unit filename="src/ipc3270c/windows/private.h" /> | |
65 | + <Unit filename="src/ipc3270c/windows/resources.rc" /> | |
66 | + <Unit filename="src/plugin/linux/daemon.h" /> | |
67 | + <Unit filename="src/plugin/linux/globals.h" /> | |
68 | + <Unit filename="src/plugin/linux/service.h" /> | |
50 | 69 | <Unit filename="src/plugin/windows/private.h" /> |
51 | 70 | <Unit filename="src/plugin/windows/resources.rc" /> |
52 | - <Unit filename="src/testprogram/testprogram.c"> | |
71 | + <Unit filename="src/testprograms/hllapi.c"> | |
72 | + <Option compilerVar="CC" /> | |
73 | + </Unit> | |
74 | + <Unit filename="src/testprograms/ipc3270c.c"> | |
53 | 75 | <Option compilerVar="CC" /> |
54 | 76 | </Unit> |
55 | 77 | <Extensions> | ... | ... |
src/hllapi/calls.cc
... | ... | @@ -0,0 +1,29 @@ |
1 | +#include <windows.h> | |
2 | + | |
3 | +VS_VERSION_INFO VERSIONINFO | |
4 | +FILEVERSION @PACKAGE_MAJOR_VERSION@,@PACKAGE_MINOR_VERSION@,@PACKAGE_MAJOR_RELEASE@,0 | |
5 | +PRODUCTVERSION @PACKAGE_MAJOR_VERSION@,@PACKAGE_MINOR_VERSION@,@PACKAGE_MAJOR_RELEASE@,0 | |
6 | + | |
7 | +BEGIN | |
8 | + | |
9 | + BLOCK "StringFileInfo" | |
10 | + BEGIN | |
11 | + BLOCK "080904E4" | |
12 | + BEGIN | |
13 | + VALUE "FileDescription", "pw3270 HLLAPI Client Module\0" | |
14 | + VALUE "CompanyName", "Banco do Brasil S/A.\0" | |
15 | + VALUE "FileVersion", "@WIN32_VERSION@\0" | |
16 | + VALUE "LegalCopyright", "(C) 2017 Banco do Brasil S/A. All Rights Reserved\0" | |
17 | + VALUE "OriginalFilename", "ipc3270@DLLEXT@\0" | |
18 | + VALUE "ProductName", "@PACKAGE_NAME@\0" | |
19 | + VALUE "ProductVersion", "@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@.@PACKAGE_MAJOR_RELEASE@.0\0" | |
20 | + END | |
21 | + END | |
22 | + | |
23 | + BLOCK "VarFileInfo" | |
24 | + BEGIN | |
25 | + VALUE "Translation", 0x809, 0x04E4 | |
26 | + END | |
27 | + | |
28 | +END | |
29 | + | ... | ... |