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

Last change on this file since 1970 was 1970, checked in by gah, 11 years ago
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)
32
33SCRIPTS         = $(srcdir)/scripts/box.py
34
35all: $(TARGETS)
36
37pymolproxy: $(OBJS)
38        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
39
40.c.o:
41        $(CC) $(CC_SWITCHES) -o $@ -c $<
42
43install: install-pymolproxy install-scripts
44
45install-pymolproxy: pymolproxy
46        $(MKDIR_P) -m 0755 $(bindir)
47        $(INSTALL) -m 0555 pymolproxy $(bindir)/pymolproxy
48        $(INSTALL) -m 0555 $(srcdir)/pymol $(bindir)/pymol
49
50install-scripts:
51        $(MKDIR_P) -m 0755 $(libdir)/pymol/rappture
52        for i in $(SCRIPTS) ; do \
53            $(INSTALL) -m 0555 $$i $(libdir)/pymol/rappture; \
54        done
55
56clean:
57        $(RM) a.out *.o *~ core* $(TARGETS) *.log *.tmp logfile* .deps/*.d
58
59distclean: clean
60        $(RM) Makefile
Note: See TracBrowser for help on using the repository browser.