source: trunk/vizservers/pymolproxy/Makefile.in @ 946

Last change on this file since 946 was 946, checked in by gah, 17 years ago
File size: 1.1 KB
Line 
1
2TARGETS         = pymolproxy
3
4CC              = @CC@
5INCLUDES        = -I@TCL_INCL_DIR@
6CFLAGS          = @CFLAGS@
7EXTRA_CFLAGS    = -Wall
8DEFINES         = -DSTANDALONE
9CC_SWITCHES     = $(CFLAGS) $(EXTRA_CFLAGS) $(DEFINES) $(INCLUDES)
10
11bindir          = @bindir@
12datadir         = @datarootdir@
13exec_prefix     = @exec_prefix@
14includedir      = @includedir@
15libdir          = @libdir@
16mandir          = @mandir@
17prefix          = @prefix@
18srcdir          = @srcdir@
19
20RP_DIR          = @RP_DIR@
21INSTALL         = @INSTALL@
22INSTALL_PROGRAM = ${INSTALL} -m 755
23INSTALL_DATA    = ${INSTALL} -m 644
24INSTALL_SCRIPT  = ${INSTALL} -m 644
25VPATH           = $(srcdir)
26
27.PHONY: all install clean distclean
28
29OBJS            = pymolproxy.o
30LIBS            = -ltcl8.4
31
32all: $(TARGETS)
33
34pymolproxy: $(OBJS)
35        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
36
37.c.o:
38        $(CC) $(CC_SWITCHES) -o $@ -c $<
39
40install: pymolproxy
41        $(INSTALL_PROGRAM) pymolproxy $(bindir)/pymolproxy
42        $(INSTALL_PROGRAM) $(srcdir)/pymol $(bindir)/pymol
43        @if test "$(RP_DIR)/lib" != "$(libdir)" ; then \
44          cp -rL $(RP_DIR)/lib/pymol $(libdir)/pymol; \
45        fi
46
47clean:
48        rm -rf a.out *.o *~ core* $(TARGETS) *.log *.tmp logfile* .deps/*.d
49
50distclean: clean
51        rm Makefile
Note: See TracBrowser for help on using the repository browser.