Last change
on this file since 4622 was
4592,
checked in by ldelgass, 10 years ago
|
Remove old (non-threaded) pymolproxy implementation from trunk. Can be restored
to a branch if ever need it again. The trunk version of nanoscale will be
changed to use pymolproxy as the binary name
|
File size:
1.5 KB
|
Line | |
---|
1 | |
---|
2 | TARGETS = pymolproxy |
---|
3 | |
---|
4 | CC = @CC@ |
---|
5 | CC_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(DEFINES) $(INCLUDES) |
---|
6 | CFLAGS = @CFLAGS@ |
---|
7 | DEFINES = -DSTANDALONE \ |
---|
8 | -DSVN_VERSION=\"$(SVN_VERSION)\" \ |
---|
9 | -DSTATSDIR=\"$(STATSDIR)\" \ |
---|
10 | -DLOGDIR=\"$(LOGDIR)\" |
---|
11 | EXTRA_CFLAGS = -Wall |
---|
12 | INCLUDES = $(TCL_INC_SPEC) -I$(srcdir) |
---|
13 | TCL_INC_SPEC = @TCL_INC_SPEC@ |
---|
14 | TCL_LIB_SPEC = @TCL_LIB_SPEC@ |
---|
15 | |
---|
16 | bindir = @bindir@ |
---|
17 | datadir = @datadir@ |
---|
18 | datarootdir = @datarootdir@ |
---|
19 | exec_prefix = @exec_prefix@ |
---|
20 | includedir = @includedir@ |
---|
21 | libdir = @libdir@ |
---|
22 | mandir = @mandir@ |
---|
23 | prefix = @prefix@ |
---|
24 | srcdir = @srcdir@ |
---|
25 | |
---|
26 | INSTALL = @INSTALL@ |
---|
27 | MKDIR_P = @MKDIR_P@ |
---|
28 | VPATH = $(srcdir) |
---|
29 | |
---|
30 | SVN_VERSION = $(shell svnversion $(srcdir) | sed 's/Unversioned directory/unknown/') |
---|
31 | STATSDIR = @STATSDIR@ |
---|
32 | LOGDIR = @LOGDIR@ |
---|
33 | |
---|
34 | .PHONY: all install clean distclean |
---|
35 | |
---|
36 | FILES = pymolproxy |
---|
37 | PROXY_OBJS = pymolproxy.o md5.o |
---|
38 | LIBS = $(TCL_LIB_SPEC) \ |
---|
39 | -Wl,-rpath,$(libdir) |
---|
40 | |
---|
41 | SCRIPTS = $(srcdir)/scripts/box.py |
---|
42 | |
---|
43 | all: $(TARGETS) |
---|
44 | |
---|
45 | pymolproxy: $(PROXY_OBJS) |
---|
46 | $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS) -lpthread |
---|
47 | |
---|
48 | .c.o: |
---|
49 | $(CC) $(CC_SWITCHES) -o $@ -c $< |
---|
50 | |
---|
51 | install: install-pymolproxy install-scripts |
---|
52 | |
---|
53 | install-pymolproxy: pymolproxy |
---|
54 | $(MKDIR_P) -m 0755 $(bindir) |
---|
55 | for i in $(FILES) ; do \ |
---|
56 | $(INSTALL) -m 0555 $$i $(bindir) ; \ |
---|
57 | done |
---|
58 | |
---|
59 | install-scripts: |
---|
60 | $(MKDIR_P) -m 0755 $(libdir)/pymol/rappture |
---|
61 | for i in $(SCRIPTS) ; do \ |
---|
62 | $(INSTALL) -m 0555 $$i $(libdir)/pymol/rappture; \ |
---|
63 | done |
---|
64 | |
---|
65 | clean: |
---|
66 | $(RM) a.out *.o *~ core* $(TARGETS) *.log *.tmp logfile* .deps/*.d |
---|
67 | |
---|
68 | distclean: clean |
---|
69 | $(RM) -f autom4te.cache |
---|
70 | $(RM) Makefile config.cache config.log config.status pymol |
---|
Note: See
TracBrowser
for help on using the repository browser.