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

Last change on this file since 951 was 951, checked in by gah, 17 years ago

added datarootdir to Makefile.in

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         = @datadir@
13datarootdir     = @datarootdir@
14exec_prefix     = @exec_prefix@
15includedir      = @includedir@
16libdir          = @libdir@
17mandir          = @mandir@
18prefix          = @prefix@
19srcdir          = @srcdir@
20
21RP_DIR          = @RP_DIR@
22INSTALL         = @INSTALL@
23INSTALL_PROGRAM = ${INSTALL} -m 755
24INSTALL_DATA    = ${INSTALL} -m 644
25INSTALL_SCRIPT  = ${INSTALL} -m 644
26VPATH           = $(srcdir)
27
28.PHONY: all install clean distclean
29
30OBJS            = pymolproxy.o
31LIBS            = -ltcl8.4
32
33all: $(TARGETS)
34
35pymolproxy: $(OBJS)
36        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
37
38.c.o:
39        $(CC) $(CC_SWITCHES) -o $@ -c $<
40
41install: pymolproxy
42        $(INSTALL_PROGRAM) pymolproxy $(bindir)/pymolproxy
43        $(INSTALL_PROGRAM) $(srcdir)/pymol $(bindir)/pymol
44        @if test "$(RP_DIR)/lib" != "$(libdir)" ; then \
45          cp -rL $(RP_DIR)/lib/pymol $(libdir)/pymol; \
46        fi
47
48clean:
49        rm -rf a.out *.o *~ core* $(TARGETS) *.log *.tmp logfile* .deps/*.d
50
51distclean: clean
52        rm Makefile
Note: See TracBrowser for help on using the repository browser.