source: pymolproxy/trunk/Makefile.in @ 5049

Last change on this file since 5049 was 4592, checked in by ldelgass, 8 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
RevLine 
[749]1
[4592]2TARGETS =       pymolproxy
[749]3
[2633]4CC =            @CC@
5CC_SWITCHES =   $(CFLAGS) $(EXTRA_CFLAGS) $(DEFINES) $(INCLUDES)
6CFLAGS =        @CFLAGS@
[3403]7DEFINES =       -DSTANDALONE \
8                -DSVN_VERSION=\"$(SVN_VERSION)\" \
[4108]9                -DSTATSDIR=\"$(STATSDIR)\" \
10                -DLOGDIR=\"$(LOGDIR)\"
[2633]11EXTRA_CFLAGS =  -Wall
[3378]12INCLUDES =      $(TCL_INC_SPEC) -I$(srcdir)
[2633]13TCL_INC_SPEC =  @TCL_INC_SPEC@
14TCL_LIB_SPEC =  @TCL_LIB_SPEC@
[940]15
[2633]16bindir =        @bindir@
17datadir =       @datadir@
18datarootdir =   @datarootdir@
19exec_prefix =   @exec_prefix@
20includedir =    @includedir@
21libdir =        @libdir@
22mandir =        @mandir@
23prefix =        @prefix@
24srcdir =        @srcdir@
[749]25
[2633]26INSTALL =       @INSTALL@
27MKDIR_P =       @MKDIR_P@
28VPATH =         $(srcdir)
[749]29
[4364]30SVN_VERSION     = $(shell svnversion $(srcdir) | sed 's/Unversioned directory/unknown/')
[3403]31STATSDIR        = @STATSDIR@
[4108]32LOGDIR          = @LOGDIR@
[3379]33
[750]34.PHONY: all install clean distclean
[749]35
[4592]36FILES =         pymolproxy
[3377]37PROXY_OBJS =    pymolproxy.o md5.o
[2633]38LIBS =          $(TCL_LIB_SPEC) \
[4060]39                -Wl,-rpath,$(libdir)
[1970]40
[1944]41SCRIPTS         = $(srcdir)/scripts/box.py
[940]42
[749]43all: $(TARGETS)
44
[2633]45pymolproxy: $(PROXY_OBJS)
46        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS) -lpthread
47
[940]48.c.o:
49        $(CC) $(CC_SWITCHES) -o $@ -c $<
50
[1944]51install: install-pymolproxy install-scripts
[749]52
[4592]53install-pymolproxy: pymolproxy
[1944]54        $(MKDIR_P) -m 0755 $(bindir)
[2637]55        for i in $(FILES) ; do \
56            $(INSTALL) -m 0555 $$i $(bindir) ; \
57        done
[1944]58
59install-scripts:
60        $(MKDIR_P) -m 0755 $(libdir)/pymol/rappture
61        for i in $(SCRIPTS) ; do \
[1970]62            $(INSTALL) -m 0555 $$i $(libdir)/pymol/rappture; \
[1944]63        done
64
[749]65clean:
[1072]66        $(RM) a.out *.o *~ core* $(TARGETS) *.log *.tmp logfile* .deps/*.d
[749]67
[750]68distclean: clean
[4589]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.