Molecular Modeling Software
リビジョン | 213ad08705e71fbf86acd2fdf765417929fbac34 (tree) |
---|---|
日時 | 2022-02-11 14:06:17 |
作者 | Toshi Nagata <alchemist.2005@nift...> |
コミッター | Toshi Nagata |
Mac: Molby_command target is removed.
@@ -1,347 +0,0 @@ | ||
1 | -/* | |
2 | - * cmdtool_stubs.c | |
3 | - * | |
4 | - * Created by Toshi Nagata on Sun Jun 17 2001. | |
5 | - | |
6 | - Copyright (c) 2010 Toshi Nagata. All rights reserved. | |
7 | - | |
8 | - This program is free software; you can redistribute it and/or modify | |
9 | - it under the terms of the GNU General Public License as published by | |
10 | - the Free Software Foundation version 2 of the License. | |
11 | - | |
12 | - This program is distributed in the hope that it will be useful, | |
13 | - but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | - GNU General Public License for more details. | |
16 | - */ | |
17 | - | |
18 | -/* Empty stub functions for command-line tool */ | |
19 | - | |
20 | -#include "MolLib.h" | |
21 | -#include "Ruby_bind/Molby_extern.h" | |
22 | -#include "Missing.h" | |
23 | -#include <stdio.h> | |
24 | -#include <stdlib.h> | |
25 | -#include <stdarg.h> | |
26 | -#include <string.h> | |
27 | -#include <fcntl.h> | |
28 | -#include <unistd.h> | |
29 | -#include <libgen.h> /* for dirname() */ | |
30 | - | |
31 | -#include <ruby.h> | |
32 | - | |
33 | -Molecule * | |
34 | -MoleculeCallback_moleculeAtOrderedIndex(int idx) | |
35 | -{ | |
36 | - return NULL; | |
37 | -} | |
38 | - | |
39 | -void | |
40 | -MainViewCallback_setNeedsDisplay(MainView *mview, int flag) | |
41 | -{ | |
42 | -} | |
43 | - | |
44 | -/* | |
45 | -void | |
46 | -MainViewCallback_moleculeReplaced(MainView *mview, struct Molecule *mol) | |
47 | -{ | |
48 | -} | |
49 | -*/ | |
50 | - | |
51 | -void | |
52 | -MyAppCallback_beginUndoGrouping(void) | |
53 | -{ | |
54 | -} | |
55 | - | |
56 | -Molecule * | |
57 | -MoleculeCallback_currentMolecule(void) | |
58 | -{ | |
59 | - return NULL; | |
60 | -} | |
61 | - | |
62 | -void | |
63 | -MoleculeCallback_lockMutex(void *mutex) | |
64 | -{ | |
65 | -} | |
66 | - | |
67 | -void | |
68 | -MoleculeCallback_unlockMutex(void *mutex) | |
69 | -{ | |
70 | -} | |
71 | - | |
72 | -int | |
73 | -MoleculeCallback_callSubProcessAsync(Molecule *mol, const char *cmd, int (*callback)(Molecule *, int), int (*timerCallback)(Molecule *, int), FILE *output, FILE *errout) | |
74 | -{ | |
75 | - return -1; | |
76 | -} | |
77 | - | |
78 | -void | |
79 | -MyAppCallback_setGlobalSettings(const char *key, const char *value) | |
80 | -{ | |
81 | -} | |
82 | - | |
83 | -void | |
84 | -MyAppCallback_hideProgressPanel(void) | |
85 | -{ | |
86 | -} | |
87 | - | |
88 | -int | |
89 | -MyAppCallback_showScriptMessage(const char *fmt, ...) | |
90 | -{ | |
91 | - va_list ap; | |
92 | - va_start(ap, fmt); | |
93 | - return vprintf(fmt, ap); | |
94 | -} | |
95 | - | |
96 | -char * | |
97 | -MyAppCallback_getDocumentHomeDir(void) | |
98 | -{ | |
99 | - char *s; | |
100 | - s = getenv("HOME"); | |
101 | - return (s == NULL ? NULL : strdup(s)); | |
102 | -} | |
103 | - | |
104 | -char * | |
105 | -MyAppCallback_getHomeDir(void) | |
106 | -{ | |
107 | - char *s; | |
108 | - s = getenv("HOME"); | |
109 | - return (s == NULL ? NULL : strdup(s)); | |
110 | -} | |
111 | - | |
112 | -RubyValue | |
113 | -MyAppCallback_executeScriptFromFile(const char *path, int *status) | |
114 | -{ | |
115 | - return 0; | |
116 | -} | |
117 | - | |
118 | -void | |
119 | -MyAppCallback_setProgressMessage(const char *msg) | |
120 | -{ | |
121 | -} | |
122 | - | |
123 | -int | |
124 | -MainView_isAtomHidden(MainView *mview, int index) | |
125 | -{ | |
126 | - return 0; | |
127 | -} | |
128 | - | |
129 | -int | |
130 | -MolActionCallback_isUndoRegistrationEnabled(Molecule *mol) | |
131 | -{ | |
132 | - return 0; | |
133 | -} | |
134 | - | |
135 | -int | |
136 | -MyAppCallback_messageBox(const char *message, const char *title, int flags, int icon) | |
137 | -{ | |
138 | - return printf("%s\n%s\n", title, message); | |
139 | -} | |
140 | - | |
141 | -void | |
142 | -MainViewCallback_drawInfoText(MainView *mview, const char *label) | |
143 | -{ | |
144 | -} | |
145 | - | |
146 | -int | |
147 | -MyAppCallback_checkInterrupt(void) | |
148 | -{ | |
149 | - return 0; | |
150 | -} | |
151 | - | |
152 | -char * | |
153 | -MyAppCallback_getGlobalSettings(const char *key) | |
154 | -{ | |
155 | - return NULL; | |
156 | -} | |
157 | - | |
158 | -void | |
159 | -MyAppCallback_setProgressValue(double dval) | |
160 | -{ | |
161 | -} | |
162 | - | |
163 | -void | |
164 | -MyAppCallback_showProgressPanel(const char *msg) | |
165 | -{ | |
166 | -} | |
167 | - | |
168 | -int | |
169 | -MyAppCallback_getTextWithPrompt(const char *prompt, char *buf, int bufsize) | |
170 | -{ | |
171 | - buf[0] = 0; | |
172 | - return 0; | |
173 | -} | |
174 | - | |
175 | -int | |
176 | -MyAppCallback_callSubProcess(const char *cmdline, const char *procname, int (*callback)(void *), void *callback_data, FILE *output, FILE *errout, int *exitstatus_p, int *pid_p) | |
177 | -{ | |
178 | - return system(cmdline); | |
179 | -} | |
180 | - | |
181 | -void | |
182 | -MainViewCallback_display(MainView *mview) | |
183 | -{ | |
184 | -} | |
185 | - | |
186 | -void | |
187 | -MainViewCallback_makeFront(MainView *mview) | |
188 | -{ | |
189 | -} | |
190 | - | |
191 | -int | |
192 | -MolActionCallback_setUndoRegistrationEnabled(Molecule *mol, int flag) | |
193 | -{ | |
194 | - return 0; | |
195 | -} | |
196 | - | |
197 | -void | |
198 | -MoleculeCallback_notifyModification(Molecule *mp, int now_flag) | |
199 | -{ | |
200 | -} | |
201 | - | |
202 | -void | |
203 | -MyAppCallback_setConsoleColor(int color) | |
204 | -{ | |
205 | -} | |
206 | - | |
207 | -void | |
208 | -MyAppCallback_errorMessageBox(const char *fmt, ...) | |
209 | -{ | |
210 | - va_list ap; | |
211 | - va_start(ap, fmt); | |
212 | - vfprintf(stderr, fmt, ap); | |
213 | -} | |
214 | - | |
215 | -int | |
216 | -MyAppCallback_registerScriptMenu(const char *title) | |
217 | -{ | |
218 | - return -1; | |
219 | -} | |
220 | - | |
221 | -int | |
222 | -MyAppCallback_lookupScriptMenu(const char *title) | |
223 | -{ | |
224 | - return 0; | |
225 | -} | |
226 | - | |
227 | -void | |
228 | -MyAppCallback_endUndoGrouping(void) | |
229 | -{ | |
230 | -} | |
231 | - | |
232 | -void | |
233 | -MyAppCallback_showConsoleWindow(void) | |
234 | -{ | |
235 | -} | |
236 | - | |
237 | -void | |
238 | -MyAppCallback_hideConsoleWindow(void) | |
239 | -{ | |
240 | -} | |
241 | - | |
242 | -Molecule * | |
243 | -MoleculeCallback_openNewMolecule(const char *fname) | |
244 | -{ | |
245 | - return NULL; | |
246 | -} | |
247 | - | |
248 | -void MyAppCallback_bell(void) | |
249 | -{ | |
250 | -} | |
251 | - | |
252 | -int MyAppCallback_playSound(const char *filename, int flag) | |
253 | -{ | |
254 | - return 0; | |
255 | -} | |
256 | - | |
257 | -void MyAppCallback_stopSound(void) | |
258 | -{ | |
259 | -} | |
260 | - | |
261 | -void | |
262 | -MainView_getCamera(MainView *mview, Vector *outCamera, Vector *outLookAt, Vector *outUp) | |
263 | -{ | |
264 | -} | |
265 | - | |
266 | -void | |
267 | -RubyDialogInitClass(void) | |
268 | -{ | |
269 | -} | |
270 | - | |
271 | -Molecule * | |
272 | -MoleculeCallback_moleculeAtIndex(int idx) | |
273 | -{ | |
274 | - return NULL; | |
275 | -} | |
276 | - | |
277 | -void | |
278 | -MoleculeCallback_displayName(Molecule *mol, char *buf, int bufsize) | |
279 | -{ | |
280 | - buf[0] = 0; | |
281 | -} | |
282 | - | |
283 | -int | |
284 | -MoleculeCallback_setDisplayName(Molecule *mol, const char *name) | |
285 | -{ | |
286 | - return 0; | |
287 | -} | |
288 | - | |
289 | -void | |
290 | -MoleculeCallback_pathName(Molecule *mol, char *buf, int bufsize) | |
291 | -{ | |
292 | - if (mol != NULL && mol->path != NULL) { | |
293 | - strncpy(buf, mol->path, bufsize - 1); | |
294 | - buf[bufsize - 1] = 0; | |
295 | - } else buf[0] = 0; | |
296 | -} | |
297 | - | |
298 | -IntGroup * | |
299 | -MainView_selectedMO(MainView *mview) | |
300 | -{ | |
301 | - return NULL; | |
302 | -} | |
303 | - | |
304 | -void | |
305 | -MainView_resizeToFit(MainView *mview) | |
306 | -{ | |
307 | -} | |
308 | - | |
309 | -void | |
310 | -MolActionCallback_registerUndo(Molecule *mol, MolAction *action) | |
311 | -{ | |
312 | -} | |
313 | - | |
314 | -int | |
315 | -MainViewCallback_exportGraphic(MainView *mview, const char *fname, float scale, int bg_color, int width, int height) | |
316 | -{ | |
317 | - return 0; | |
318 | -} | |
319 | - | |
320 | -int | |
321 | -main(int argc, char **argv) | |
322 | -{ | |
323 | - int fd; | |
324 | - char *scriptdir; | |
325 | - static const char fname[] = "startup.rb"; | |
326 | - char *argv0 = argv[0]; | |
327 | - char *p = dirname(argv0); | |
328 | - if (p != NULL) { | |
329 | - asprintf(&p, "%s%cMolby_resources", p, PATH_SEPARATOR); | |
330 | - } else { | |
331 | - p = "."; | |
332 | - } | |
333 | - asprintf(&scriptdir, "%s%cScripts", p, PATH_SEPARATOR); | |
334 | - fd = open(".", O_RDONLY); | |
335 | - chdir(scriptdir); | |
336 | - | |
337 | - Molby_startup(fname, scriptdir); | |
338 | - | |
339 | - fchdir(fd); | |
340 | - close(fd); | |
341 | - | |
342 | - free(scriptdir); | |
343 | - | |
344 | - ruby_run_node(ruby_options(argc, argv)); | |
345 | - | |
346 | - return 0; | |
347 | -} |
@@ -26,7 +26,6 @@ | ||
26 | 26 | /* Begin PBXBuildFile section */ |
27 | 27 | E4196C66190B2FA500183E62 /* menu.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4196C65190B2FA500183E62 /* menu.mm */; }; |
28 | 28 | E41A7F962307D61200C65830 /* bitmaps in Resources */ = {isa = PBXBuildFile; fileRef = E41A7F952307D61200C65830 /* bitmaps */; }; |
29 | - E41A7F972307D71200C65830 /* bitmaps in CopyFiles */ = {isa = PBXBuildFile; fileRef = E41A7F952307D61200C65830 /* bitmaps */; }; | |
30 | 29 | E420BDEF1885746700A2B983 /* ConsoleFrame.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E420BDE81885746700A2B983 /* ConsoleFrame.cpp */; }; |
31 | 30 | E420BDF01885746700A2B983 /* filedlg.mm in Sources */ = {isa = PBXBuildFile; fileRef = E420BDEA1885746700A2B983 /* filedlg.mm */; }; |
32 | 31 | E420BDF11885746700A2B983 /* GlobalParameterFilesFrame.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E420BDEB1885746700A2B983 /* GlobalParameterFilesFrame.cpp */; }; |
@@ -50,36 +49,10 @@ | ||
50 | 49 | E420BE24188574F600A2B983 /* wxKillAddition.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E420BE21188574F600A2B983 /* wxKillAddition.cpp */; }; |
51 | 50 | E45B94621A170B9A008E95EB /* docview.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E45B94611A170B9A008E95EB /* docview.cpp */; }; |
52 | 51 | E4653CB118A0CC7D0022377B /* textctrl_addition.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4653CB018A0CC7D0022377B /* textctrl_addition.mm */; }; |
53 | - E49B3DF72306D9F500422E13 /* buildInfo_cmd.c in Sources */ = {isa = PBXBuildFile; fileRef = E49B3DF62306D9F500422E13 /* buildInfo_cmd.c */; }; | |
54 | - E49BFBFA1886E72000188237 /* MyVersion.c in Sources */ = {isa = PBXBuildFile; fileRef = E420BE18188574D700A2B983 /* MyVersion.c */; }; | |
55 | - E49BFBFB1886E74600188237 /* IntGroup.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC777D183E4F3F0064FB2E /* IntGroup.c */; }; | |
56 | - E49BFBFF1886E74600188237 /* MainViewCommon.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC7781183E4F3F0064FB2E /* MainViewCommon.c */; }; | |
57 | - E49BFC001886E74600188237 /* Missing.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC7790183E4F3F0064FB2E /* Missing.c */; }; | |
58 | - E49BFC021886E74600188237 /* MolAction.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC7792183E4F3F0064FB2E /* MolAction.c */; }; | |
59 | - E49BFC041886E74600188237 /* Molecule.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC7794183E4F3F0064FB2E /* Molecule.c */; }; | |
60 | - E49BFC071886E74600188237 /* Object.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC7797183E4F3F0064FB2E /* Object.c */; }; | |
61 | - E49BFC091886E74600188237 /* Dcd.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC777B183E4F3F0064FB2E /* Dcd.c */; }; | |
62 | - E49BFC0B1886E74600188237 /* Parameter.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC7799183E4F3F0064FB2E /* Parameter.c */; }; | |
63 | - E49BFC0D1886E74600188237 /* Trackball.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC77A4183E4F3F0064FB2E /* Trackball.c */; }; | |
64 | - E49BFC0F1886E74600188237 /* Types.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC77A6183E4F3F0064FB2E /* Types.c */; }; | |
65 | - E49BFC111886E74600188237 /* cmdtool_stubs.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC777A183E4F3F0064FB2E /* cmdtool_stubs.c */; }; | |
66 | - E49BFC121886E75700188237 /* MDCore.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC7784183E4F3F0064FB2E /* MDCore.c */; }; | |
67 | - E49BFC131886E75C00188237 /* MDEwald.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC7786183E4F3F0064FB2E /* MDEwald.c */; }; | |
68 | - E49BFC141886E75D00188237 /* MDForce.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC7788183E4F3F0064FB2E /* MDForce.c */; }; | |
69 | - E49BFC151886E75D00188237 /* MDGraphite.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC778A183E4F3F0064FB2E /* MDGraphite.c */; }; | |
70 | - E49BFC161886E75E00188237 /* MDPressure.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC778C183E4F3F0064FB2E /* MDPressure.c */; }; | |
71 | - E49BFC171886E75F00188237 /* MDSurface.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC778E183E4F3F0064FB2E /* MDSurface.c */; }; | |
72 | - E49BFC191886E76F00188237 /* ruby_bind.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC779F183E4F3F0064FB2E /* ruby_bind.c */; }; | |
73 | - E49BFC1B1886E77000188237 /* ruby_md.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC77A2183E4F3F0064FB2E /* ruby_md.c */; }; | |
74 | - E49BFC1C1886E77100188237 /* ruby_types.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC77A3183E4F3F0064FB2E /* ruby_types.c */; }; | |
75 | - E49BFC2C1886E88A00188237 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4FC7810183E50DC0064FB2E /* Accelerate.framework */; }; | |
76 | 52 | E4ACACE718C6D32300F08B67 /* ortep3 in Resources */ = {isa = PBXBuildFile; fileRef = E4ACACE418C6D32300F08B67 /* ortep3 */; }; |
77 | 53 | E4D379A219C87C2200636D28 /* modalwindow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4D379A119C87C2200636D28 /* modalwindow.cpp */; }; |
78 | 54 | E4D37E0E19CC831500636D28 /* modalwindow_osx.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4D37E0D19CC831500636D28 /* modalwindow_osx.mm */; }; |
79 | 55 | E4D3806619CEC7B600636D28 /* MyTextCtrl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4D3806419CEC7B600636D28 /* MyTextCtrl.cpp */; }; |
80 | - E4DF3BCE1FDCEB120014F980 /* Scripts in CopyFiles */ = {isa = PBXBuildFile; fileRef = E4FC77D6183E4FFE0064FB2E /* Scripts */; }; | |
81 | - E4DF3BCF1FDCEB120014F980 /* amber11 in CopyFiles */ = {isa = PBXBuildFile; fileRef = E4FC77D8183E503E0064FB2E /* amber11 */; }; | |
82 | - E4DF3BD01FDCEB120014F980 /* ortep3 in CopyFiles */ = {isa = PBXBuildFile; fileRef = E4ACACE418C6D32300F08B67 /* ortep3 */; }; | |
83 | 56 | E4FC77A9183E4F3F0064FB2E /* Dcd.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC777B183E4F3F0064FB2E /* Dcd.c */; }; |
84 | 57 | E4FC77AA183E4F3F0064FB2E /* IntGroup.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC777D183E4F3F0064FB2E /* IntGroup.c */; }; |
85 | 58 | E4FC77AB183E4F3F0064FB2E /* MainView.c in Sources */ = {isa = PBXBuildFile; fileRef = E4FC777F183E4F3F0064FB2E /* MainView.c */; }; |
@@ -144,22 +117,6 @@ | ||
144 | 117 | }; |
145 | 118 | /* End PBXContainerItemProxy section */ |
146 | 119 | |
147 | -/* Begin PBXCopyFilesBuildPhase section */ | |
148 | - E4DF3BCD1FDCEAEE0014F980 /* CopyFiles */ = { | |
149 | - isa = PBXCopyFilesBuildPhase; | |
150 | - buildActionMask = 2147483647; | |
151 | - dstPath = Molby_resources; | |
152 | - dstSubfolderSpec = 16; | |
153 | - files = ( | |
154 | - E41A7F972307D71200C65830 /* bitmaps in CopyFiles */, | |
155 | - E4DF3BCE1FDCEB120014F980 /* Scripts in CopyFiles */, | |
156 | - E4DF3BCF1FDCEB120014F980 /* amber11 in CopyFiles */, | |
157 | - E4DF3BD01FDCEB120014F980 /* ortep3 in CopyFiles */, | |
158 | - ); | |
159 | - runOnlyForDeploymentPostprocessing = 0; | |
160 | - }; | |
161 | -/* End PBXCopyFilesBuildPhase section */ | |
162 | - | |
163 | 120 | /* Begin PBXFileReference section */ |
164 | 121 | 8D1107320486CEB800E47090 /* Molby.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Molby.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
165 | 122 | E4196C65190B2FA500183E62 /* menu.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = menu.mm; sourceTree = "<group>"; }; |
@@ -208,7 +165,6 @@ | ||
208 | 165 | E460B2DC2739716500CD9407 /* Version */ = {isa = PBXFileReference; lastKnownFileType = text; name = Version; path = ../Version; sourceTree = "<group>"; }; |
209 | 166 | E4653CB018A0CC7D0022377B /* textctrl_addition.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = textctrl_addition.mm; sourceTree = "<group>"; }; |
210 | 167 | E49B3DF62306D9F500422E13 /* buildInfo_cmd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = buildInfo_cmd.c; sourceTree = "<group>"; }; |
211 | - E49BFB761886E2E400188237 /* Molby_command */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Molby_command; sourceTree = BUILT_PRODUCTS_DIR; }; | |
212 | 168 | E4ACACE418C6D32300F08B67 /* ortep3 */ = {isa = PBXFileReference; lastKnownFileType = folder; path = ortep3; sourceTree = "<group>"; }; |
213 | 169 | E4CB37081FDD4654001BB75E /* OpenGL_extensions.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = OpenGL_extensions.c; sourceTree = "<group>"; }; |
214 | 170 | E4CB37091FDD4654001BB75E /* OpenGL_extensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OpenGL_extensions.h; sourceTree = "<group>"; }; |
@@ -217,7 +173,6 @@ | ||
217 | 173 | E4D37E0D19CC831500636D28 /* modalwindow_osx.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = modalwindow_osx.mm; sourceTree = "<group>"; }; |
218 | 174 | E4D3806419CEC7B600636D28 /* MyTextCtrl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MyTextCtrl.cpp; sourceTree = "<group>"; }; |
219 | 175 | E4D3806519CEC7B600636D28 /* MyTextCtrl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyTextCtrl.h; sourceTree = "<group>"; }; |
220 | - E4FC777A183E4F3F0064FB2E /* cmdtool_stubs.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = cmdtool_stubs.c; path = ../MolLib/cmdtool_stubs.c; sourceTree = SOURCE_ROOT; }; | |
221 | 176 | E4FC777B183E4F3F0064FB2E /* Dcd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = Dcd.c; path = ../MolLib/Dcd.c; sourceTree = SOURCE_ROOT; }; |
222 | 177 | E4FC777C183E4F3F0064FB2E /* Dcd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Dcd.h; path = ../MolLib/Dcd.h; sourceTree = SOURCE_ROOT; }; |
223 | 178 | E4FC777D183E4F3F0064FB2E /* IntGroup.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = IntGroup.c; path = ../MolLib/IntGroup.c; sourceTree = SOURCE_ROOT; }; |
@@ -303,14 +258,6 @@ | ||
303 | 258 | ); |
304 | 259 | runOnlyForDeploymentPostprocessing = 0; |
305 | 260 | }; |
306 | - E49BFB741886E2E400188237 /* Frameworks */ = { | |
307 | - isa = PBXFrameworksBuildPhase; | |
308 | - buildActionMask = 2147483647; | |
309 | - files = ( | |
310 | - E49BFC2C1886E88A00188237 /* Accelerate.framework in Frameworks */, | |
311 | - ); | |
312 | - runOnlyForDeploymentPostprocessing = 0; | |
313 | - }; | |
314 | 261 | /* End PBXFrameworksBuildPhase section */ |
315 | 262 | |
316 | 263 | /* Begin PBXGroup section */ |
@@ -318,7 +265,6 @@ | ||
318 | 265 | isa = PBXGroup; |
319 | 266 | children = ( |
320 | 267 | 8D1107320486CEB800E47090 /* Molby.app */, |
321 | - E49BFB761886E2E400188237 /* Molby_command */, | |
322 | 268 | ); |
323 | 269 | name = Products; |
324 | 270 | sourceTree = "<group>"; |
@@ -392,7 +338,6 @@ | ||
392 | 338 | E4FC77A5183E4F3F0064FB2E /* Trackball.h */, |
393 | 339 | E4FC77A6183E4F3F0064FB2E /* Types.c */, |
394 | 340 | E4FC77A7183E4F3F0064FB2E /* Types.h */, |
395 | - E4FC777A183E4F3F0064FB2E /* cmdtool_stubs.c */, | |
396 | 341 | E4FC779B183E4F3F0064FB2E /* Ruby_bind */, |
397 | 342 | ); |
398 | 343 | name = MolLib; |
@@ -588,25 +533,6 @@ | ||
588 | 533 | productReference = 8D1107320486CEB800E47090 /* Molby.app */; |
589 | 534 | productType = "com.apple.product-type.application"; |
590 | 535 | }; |
591 | - E49BFB751886E2E400188237 /* Molby_command */ = { | |
592 | - isa = PBXNativeTarget; | |
593 | - buildConfigurationList = E49BFB7A1886E30200188237 /* Build configuration list for PBXNativeTarget "Molby_command" */; | |
594 | - buildPhases = ( | |
595 | - E49B3DF82306DB1800422E13 /* ShellScript */, | |
596 | - E49BFB731886E2E400188237 /* Sources */, | |
597 | - E49BFB741886E2E400188237 /* Frameworks */, | |
598 | - E4DF3BCD1FDCEAEE0014F980 /* CopyFiles */, | |
599 | - E43C5DE818E57C56004FE397 /* ShellScript */, | |
600 | - ); | |
601 | - buildRules = ( | |
602 | - ); | |
603 | - dependencies = ( | |
604 | - ); | |
605 | - name = Molby_command; | |
606 | - productName = Molby_command; | |
607 | - productReference = E49BFB761886E2E400188237 /* Molby_command */; | |
608 | - productType = "com.apple.product-type.tool"; | |
609 | - }; | |
610 | 536 | /* End PBXNativeTarget section */ |
611 | 537 | |
612 | 538 | /* Begin PBXProject section */ |
@@ -639,7 +565,6 @@ | ||
639 | 565 | projectRoot = ""; |
640 | 566 | targets = ( |
641 | 567 | 8D1107260486CEB800E47090 /* Molby */, |
642 | - E49BFB751886E2E400188237 /* Molby_command */, | |
643 | 568 | E4CB370B1FE2C1F7001BB75E /* Molby_win32 */, |
644 | 569 | E4B710FA2306BC80000A77EB /* Molby_win64 */, |
645 | 570 | E4CB370F1FE4FF0E001BB75E /* Molby_archive */, |
@@ -676,19 +601,6 @@ | ||
676 | 601 | shellPath = /bin/sh; |
677 | 602 | shellScript = "rm -rf \"$TARGET_BUILD_DIR/Molby.app/Contents/Resources/MolbyDoc\"\ncp -a \"$PROJECT_DIR/../Documents/MolbyDoc\" \"$TARGET_BUILD_DIR/Molby.app/Contents/Resources/\"\nif [ \"${BUILD_STYLE:=$CONFIGURATION}\" = \"Release\" ]; then\n rm -rf \"$PROJECT_DIR/../latest_binaries/Molby.app\" || exit 1\n (cd \"$TARGET_BUILD_DIR\"; cp -a Molby.app \"$PROJECT_DIR/../latest_binaries\") || exit 1\nfi\nexit 0\n"; |
678 | 603 | }; |
679 | - E43C5DE818E57C56004FE397 /* ShellScript */ = { | |
680 | - isa = PBXShellScriptBuildPhase; | |
681 | - buildActionMask = 12; | |
682 | - files = ( | |
683 | - ); | |
684 | - inputPaths = ( | |
685 | - ); | |
686 | - outputPaths = ( | |
687 | - ); | |
688 | - runOnlyForDeploymentPostprocessing = 0; | |
689 | - shellPath = /bin/sh; | |
690 | - shellScript = "if [ \"${BUILD_STYLE:=$CONFIGURATION}\" = \"Release\" ]; then\n mkdir -p \"$PROJECT_DIR/../latest_binaries/Molby\" || exit 1\n (cd \"$PROJECT_DIR/../latest_binaries/Molby\" && rm -rf Molby_command Molby_resources) || exit 1\n(cd \"$BUILT_PRODUCTS_DIR\"; echo $PWD; cp -a -H Molby_command Molby_resources \"$PROJECT_DIR/../latest_binaries/Molby\") || exit 1\nfi\n"; | |
691 | - }; | |
692 | 604 | E460B2DD273A94C600CD9407 /* ShellScript */ = { |
693 | 605 | isa = PBXShellScriptBuildPhase; |
694 | 606 | buildActionMask = 2147483647; |
@@ -723,23 +635,6 @@ | ||
723 | 635 | shellPath = /bin/sh; |
724 | 636 | shellScript = "cd $PROJECT_DIR\nexport TARGET_PLATFORM=MAC\nexport TARGET_ARCH=x86_64\nPATH=/usr/local/gcc8/bin:$PATH\nif ! [ -e ortep3/ortep3 ]; then\n make -f ../Makefile_ortep3\nfi\nif ! [ -e amber11/bin/sqm ]; then\n make -f ../Makefile_amber11\nfi\n"; |
725 | 637 | }; |
726 | - E49B3DF82306DB1800422E13 /* ShellScript */ = { | |
727 | - isa = PBXShellScriptBuildPhase; | |
728 | - buildActionMask = 2147483647; | |
729 | - files = ( | |
730 | - ); | |
731 | - inputFileListPaths = ( | |
732 | - ); | |
733 | - inputPaths = ( | |
734 | - ); | |
735 | - outputFileListPaths = ( | |
736 | - ); | |
737 | - outputPaths = ( | |
738 | - ); | |
739 | - runOnlyForDeploymentPostprocessing = 0; | |
740 | - shellPath = /bin/sh; | |
741 | - shellScript = "cd $PROJECT_DIR; sh ../record_build_date.sh --with-git-status >buildInfo_cmd.c\n"; | |
742 | - }; | |
743 | 638 | E4CB37171FE4FF42001BB75E /* ShellScript */ = { |
744 | 639 | isa = PBXShellScriptBuildPhase; |
745 | 640 | buildActionMask = 2147483647; |
@@ -825,35 +720,6 @@ | ||
825 | 720 | ); |
826 | 721 | runOnlyForDeploymentPostprocessing = 0; |
827 | 722 | }; |
828 | - E49BFB731886E2E400188237 /* Sources */ = { | |
829 | - isa = PBXSourcesBuildPhase; | |
830 | - buildActionMask = 2147483647; | |
831 | - files = ( | |
832 | - E49BFBFA1886E72000188237 /* MyVersion.c in Sources */, | |
833 | - E49BFBFB1886E74600188237 /* IntGroup.c in Sources */, | |
834 | - E49BFBFF1886E74600188237 /* MainViewCommon.c in Sources */, | |
835 | - E49BFC001886E74600188237 /* Missing.c in Sources */, | |
836 | - E49BFC021886E74600188237 /* MolAction.c in Sources */, | |
837 | - E49BFC041886E74600188237 /* Molecule.c in Sources */, | |
838 | - E49BFC071886E74600188237 /* Object.c in Sources */, | |
839 | - E49BFC091886E74600188237 /* Dcd.c in Sources */, | |
840 | - E49BFC0B1886E74600188237 /* Parameter.c in Sources */, | |
841 | - E49BFC0D1886E74600188237 /* Trackball.c in Sources */, | |
842 | - E49BFC0F1886E74600188237 /* Types.c in Sources */, | |
843 | - E49BFC111886E74600188237 /* cmdtool_stubs.c in Sources */, | |
844 | - E49BFC121886E75700188237 /* MDCore.c in Sources */, | |
845 | - E49BFC131886E75C00188237 /* MDEwald.c in Sources */, | |
846 | - E49B3DF72306D9F500422E13 /* buildInfo_cmd.c in Sources */, | |
847 | - E49BFC141886E75D00188237 /* MDForce.c in Sources */, | |
848 | - E49BFC151886E75D00188237 /* MDGraphite.c in Sources */, | |
849 | - E49BFC161886E75E00188237 /* MDPressure.c in Sources */, | |
850 | - E49BFC171886E75F00188237 /* MDSurface.c in Sources */, | |
851 | - E49BFC191886E76F00188237 /* ruby_bind.c in Sources */, | |
852 | - E49BFC1B1886E77000188237 /* ruby_md.c in Sources */, | |
853 | - E49BFC1C1886E77100188237 /* ruby_types.c in Sources */, | |
854 | - ); | |
855 | - runOnlyForDeploymentPostprocessing = 0; | |
856 | - }; | |
857 | 723 | /* End PBXSourcesBuildPhase section */ |
858 | 724 | |
859 | 725 | /* Begin PBXTargetDependency section */ |
@@ -1024,75 +890,6 @@ | ||
1024 | 890 | }; |
1025 | 891 | name = Release; |
1026 | 892 | }; |
1027 | - E49BFB781886E2E400188237 /* Debug */ = { | |
1028 | - isa = XCBuildConfiguration; | |
1029 | - buildSettings = { | |
1030 | - ALWAYS_SEARCH_USER_PATHS = NO; | |
1031 | - ARCHS = "$(ARCHS_STANDARD)"; | |
1032 | - COPY_PHASE_STRIP = NO; | |
1033 | - GCC_INLINES_ARE_PRIVATE_EXTERN = NO; | |
1034 | - GCC_SYMBOLS_PRIVATE_EXTERN = NO; | |
1035 | - GCC_VERSION = ""; | |
1036 | - HEADER_SEARCH_PATHS = ( | |
1037 | - "$(PROJECT_DIR)/../../fftw-3.3.2/build-osx/include", | |
1038 | - "$(PROJECT_DIR)/../../ruby-2.0.0-p353", | |
1039 | - "$(PROJECT_DIR)/../../ruby-2.0.0-p353/build-osx/include/ruby-2.0.0", | |
1040 | - "$(PROJECT_DIR)/../../ruby-2.0.0-p353/build-osx/include/ruby-2.0.0/x86_64-darwin18.7.0", | |
1041 | - ); | |
1042 | - INSTALL_PATH = /usr/local/bin; | |
1043 | - LIBRARY_SEARCH_PATHS = ( | |
1044 | - "$(PROJECT_DIR)/../../fftw-3.3.2/build-osx/lib", | |
1045 | - "$(PROJECT_DIR)/../../ruby-2.0.0-p353/build-osx/lib", | |
1046 | - ); | |
1047 | - MACOSX_DEPLOYMENT_TARGET = 10.6; | |
1048 | - OTHER_CFLAGS = "-D__CMDMAC__=1"; | |
1049 | - OTHER_LDFLAGS = ( | |
1050 | - "-lfftw3", | |
1051 | - "-lruby-static", | |
1052 | - "-lenc", | |
1053 | - "-ltrans", | |
1054 | - ); | |
1055 | - PREBINDING = NO; | |
1056 | - PRODUCT_NAME = Molby_command; | |
1057 | - SDKROOT = macosx10.6; | |
1058 | - }; | |
1059 | - name = Debug; | |
1060 | - }; | |
1061 | - E49BFB791886E2E400188237 /* Release */ = { | |
1062 | - isa = XCBuildConfiguration; | |
1063 | - buildSettings = { | |
1064 | - ALWAYS_SEARCH_USER_PATHS = NO; | |
1065 | - ARCHS = "$(ARCHS_STANDARD)"; | |
1066 | - COPY_PHASE_STRIP = YES; | |
1067 | - DEBUG_INFORMATION_FORMAT = dwarf; | |
1068 | - GCC_INLINES_ARE_PRIVATE_EXTERN = NO; | |
1069 | - GCC_SYMBOLS_PRIVATE_EXTERN = NO; | |
1070 | - GCC_VERSION = ""; | |
1071 | - HEADER_SEARCH_PATHS = ( | |
1072 | - "$(PROJECT_DIR)/../../fftw-3.3.2/build-osx/include", | |
1073 | - "$(PROJECT_DIR)/../../ruby-2.0.0-p353", | |
1074 | - "$(PROJECT_DIR)/../../ruby-2.0.0-p353/build-osx/include/ruby-2.0.0", | |
1075 | - "$(PROJECT_DIR)/../../ruby-2.0.0-p353/build-osx/include/ruby-2.0.0/x86_64-darwin18.7.0", | |
1076 | - ); | |
1077 | - INSTALL_PATH = /usr/local/bin; | |
1078 | - LIBRARY_SEARCH_PATHS = ( | |
1079 | - "$(PROJECT_DIR)/../../fftw-3.3.2/build-osx/lib", | |
1080 | - "$(PROJECT_DIR)/../../ruby-2.0.0-p353/build-osx/lib", | |
1081 | - ); | |
1082 | - MACOSX_DEPLOYMENT_TARGET = 10.6; | |
1083 | - OTHER_CFLAGS = "-D__CMDMAC__=1"; | |
1084 | - OTHER_LDFLAGS = ( | |
1085 | - "-lfftw3", | |
1086 | - "-lruby-static", | |
1087 | - "-lenc", | |
1088 | - "-ltrans", | |
1089 | - ); | |
1090 | - PREBINDING = NO; | |
1091 | - PRODUCT_NAME = Molby_command; | |
1092 | - SDKROOT = macosx10.6; | |
1093 | - }; | |
1094 | - name = Release; | |
1095 | - }; | |
1096 | 893 | E4B710FC2306BC80000A77EB /* Debug */ = { |
1097 | 894 | isa = XCBuildConfiguration; |
1098 | 895 | buildSettings = { |
@@ -1296,15 +1093,6 @@ | ||
1296 | 1093 | defaultConfigurationIsVisible = 0; |
1297 | 1094 | defaultConfigurationName = Release; |
1298 | 1095 | }; |
1299 | - E49BFB7A1886E30200188237 /* Build configuration list for PBXNativeTarget "Molby_command" */ = { | |
1300 | - isa = XCConfigurationList; | |
1301 | - buildConfigurations = ( | |
1302 | - E49BFB781886E2E400188237 /* Debug */, | |
1303 | - E49BFB791886E2E400188237 /* Release */, | |
1304 | - ); | |
1305 | - defaultConfigurationIsVisible = 0; | |
1306 | - defaultConfigurationName = Release; | |
1307 | - }; | |
1308 | 1096 | E4B710FB2306BC80000A77EB /* Build configuration list for PBXLegacyTarget "Molby_win64" */ = { |
1309 | 1097 | isa = XCConfigurationList; |
1310 | 1098 | buildConfigurations = ( |
@@ -1,91 +0,0 @@ | ||
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<Scheme | |
3 | - LastUpgradeVersion = "0820" | |
4 | - version = "1.3"> | |
5 | - <BuildAction | |
6 | - parallelizeBuildables = "YES" | |
7 | - buildImplicitDependencies = "YES"> | |
8 | - <BuildActionEntries> | |
9 | - <BuildActionEntry | |
10 | - buildForTesting = "YES" | |
11 | - buildForRunning = "YES" | |
12 | - buildForProfiling = "YES" | |
13 | - buildForArchiving = "YES" | |
14 | - buildForAnalyzing = "YES"> | |
15 | - <BuildableReference | |
16 | - BuildableIdentifier = "primary" | |
17 | - BlueprintIdentifier = "E49BFB751886E2E400188237" | |
18 | - BuildableName = "Molby_command" | |
19 | - BlueprintName = "Molby_command" | |
20 | - ReferencedContainer = "container:Molby.xcodeproj"> | |
21 | - </BuildableReference> | |
22 | - </BuildActionEntry> | |
23 | - </BuildActionEntries> | |
24 | - </BuildAction> | |
25 | - <TestAction | |
26 | - buildConfiguration = "Debug" | |
27 | - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | |
28 | - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | |
29 | - shouldUseLaunchSchemeArgsEnv = "YES"> | |
30 | - <Testables> | |
31 | - </Testables> | |
32 | - <MacroExpansion> | |
33 | - <BuildableReference | |
34 | - BuildableIdentifier = "primary" | |
35 | - BlueprintIdentifier = "E49BFB751886E2E400188237" | |
36 | - BuildableName = "Molby_command" | |
37 | - BlueprintName = "Molby_command" | |
38 | - ReferencedContainer = "container:Molby.xcodeproj"> | |
39 | - </BuildableReference> | |
40 | - </MacroExpansion> | |
41 | - <AdditionalOptions> | |
42 | - </AdditionalOptions> | |
43 | - </TestAction> | |
44 | - <LaunchAction | |
45 | - buildConfiguration = "Debug" | |
46 | - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | |
47 | - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | |
48 | - launchStyle = "0" | |
49 | - useCustomWorkingDirectory = "NO" | |
50 | - ignoresPersistentStateOnLaunch = "NO" | |
51 | - debugDocumentVersioning = "YES" | |
52 | - debugServiceExtension = "internal" | |
53 | - allowLocationSimulation = "YES"> | |
54 | - <BuildableProductRunnable | |
55 | - runnableDebuggingMode = "0"> | |
56 | - <BuildableReference | |
57 | - BuildableIdentifier = "primary" | |
58 | - BlueprintIdentifier = "E49BFB751886E2E400188237" | |
59 | - BuildableName = "Molby_command" | |
60 | - BlueprintName = "Molby_command" | |
61 | - ReferencedContainer = "container:Molby.xcodeproj"> | |
62 | - </BuildableReference> | |
63 | - </BuildableProductRunnable> | |
64 | - <AdditionalOptions> | |
65 | - </AdditionalOptions> | |
66 | - </LaunchAction> | |
67 | - <ProfileAction | |
68 | - buildConfiguration = "Release" | |
69 | - shouldUseLaunchSchemeArgsEnv = "YES" | |
70 | - savedToolIdentifier = "" | |
71 | - useCustomWorkingDirectory = "NO" | |
72 | - debugDocumentVersioning = "YES"> | |
73 | - <BuildableProductRunnable | |
74 | - runnableDebuggingMode = "0"> | |
75 | - <BuildableReference | |
76 | - BuildableIdentifier = "primary" | |
77 | - BlueprintIdentifier = "E49BFB751886E2E400188237" | |
78 | - BuildableName = "Molby_command" | |
79 | - BlueprintName = "Molby_command" | |
80 | - ReferencedContainer = "container:Molby.xcodeproj"> | |
81 | - </BuildableReference> | |
82 | - </BuildableProductRunnable> | |
83 | - </ProfileAction> | |
84 | - <AnalyzeAction | |
85 | - buildConfiguration = "Debug"> | |
86 | - </AnalyzeAction> | |
87 | - <ArchiveAction | |
88 | - buildConfiguration = "Release" | |
89 | - revealArchiveInOrganizer = "YES"> | |
90 | - </ArchiveAction> | |
91 | -</Scheme> |