source: trunk/packages/vizservers/pymolproxy/Makefile.in @ 1944

Last change on this file since 1944 was 1944, checked in by gah, 11 years ago

add unit cell to molvisviewer

File size: 1.3 KB
Line 
1
2TARGETS         = pymolproxy
3
4TCL_INC_SPEC    = @TCL_INC_SPEC@
5TCL_LIB_SPEC    = @TCL_LIB_SPEC@
6CC              = @CC@
7INCLUDES        = $(TCL_INC_SPEC)
8CFLAGS          = @CFLAGS@
9EXTRA_CFLAGS    = -Wall
10DEFINES         = -DSTANDALONE
11CC_SWITCHES     = $(CFLAGS) $(EXTRA_CFLAGS) $(DEFINES) $(INCLUDES)
12
13bindir          = @bindir@
14datadir         = @datadir@
15datarootdir     = @datarootdir@
16exec_prefix     = @exec_prefix@
17includedir      = @includedir@
18libdir          = @libdir@
19mandir          = @mandir@
20prefix          = @prefix@
21srcdir          = @srcdir@
22
23RP_DIR          = @RP_DIR@
24INSTALL         = @INSTALL@
25MKDIR_P         = @MKDIR_P@
26VPATH           = $(srcdir)
27
28.PHONY: all install clean distclean
29
30OBJS            = pymolproxy.o
31LIBS            = $(TCL_LIB_SPEC)
32SCRIPTS         = $(srcdir)/scripts/box.py
33
34all: $(TARGETS)
35
36pymolproxy: $(OBJS)
37        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
38
39.c.o:
40        $(CC) $(CC_SWITCHES) -o $@ -c $<
41
42install: install-pymolproxy install-scripts
43
44install-pymolproxy: pymolproxy
45        $(MKDIR_P) -m 0755 $(bindir)
46        $(INSTALL) -m 0555 pymolproxy $(bindir)/pymolproxy
47        $(INSTALL) -m 0555 $(srcdir)/pymol $(bindir)/pymol
48
49install-scripts:
50        $(MKDIR_P) -m 0755 $(libdir)/pymol/rappture
51        for i in $(SCRIPTS) ; do \
52            $(INSTALL) -m 555 $$i $(libdir)/pymol/rappture; \
53        done
54
55clean:
56        $(RM) a.out *.o *~ core* $(TARGETS) *.log *.tmp logfile* .deps/*.d
57
58distclean: clean
59        $(RM) Makefile
Note: See TracBrowser for help on using the repository browser.