source: pymolproxy/trunk/Makefile.in @ 4589

Last change on this file since 4589 was 4589, checked in by ldelgass, 8 years ago

add configure for pymolproxy

File size: 1.7 KB
RevLine 
[749]1
[2633]2TARGETS =       pymolproxy pymolproxy2
[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
[2665]36FILES =         pymolproxy pymolproxy2
[3377]37PROXY_OBJS =    pymolproxy.o md5.o
38PROXY2_OBJS =   pymolproxy2.o md5.o
[2633]39LIBS =          $(TCL_LIB_SPEC) \
[4060]40                -Wl,-rpath,$(libdir)
[1970]41
[1944]42SCRIPTS         = $(srcdir)/scripts/box.py
[940]43
[749]44all: $(TARGETS)
45
[2633]46pymolproxy: $(PROXY_OBJS)
[940]47        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
[749]48
[2633]49pymolproxy2: $(PROXY2_OBJS)
50        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS) -lpthread
51
[940]52.c.o:
53        $(CC) $(CC_SWITCHES) -o $@ -c $<
54
[1944]55install: install-pymolproxy install-scripts
[749]56
[2633]57install-pymolproxy: pymolproxy pymolproxy2
[1944]58        $(MKDIR_P) -m 0755 $(bindir)
[2637]59        for i in $(FILES) ; do \
60            $(INSTALL) -m 0555 $$i $(bindir) ; \
61        done
[1944]62
63install-scripts:
64        $(MKDIR_P) -m 0755 $(libdir)/pymol/rappture
65        for i in $(SCRIPTS) ; do \
[1970]66            $(INSTALL) -m 0555 $$i $(libdir)/pymol/rappture; \
[1944]67        done
68
[749]69clean:
[1072]70        $(RM) a.out *.o *~ core* $(TARGETS) *.log *.tmp logfile* .deps/*.d
[749]71
[750]72distclean: clean
[4589]73        $(RM) -f autom4te.cache
74        $(RM) Makefile config.cache config.log config.status pymol
Note: See TracBrowser for help on using the repository browser.