Ignore:
Timestamp:
Feb 14, 2008, 2:29:02 PM (17 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/vizservers/nanovis/Makefile.in

    r884 r887  
    1515bindir          = @bindir@
    1616libdir          = @libdir@
     17srcdir          = @srcdir@
    1718includedir      = @includedir@
    1819mandir          = @mandir@
     
    2728AUXSRC = config.h define.h global.h
    2829
     30RP_DIR =  @RP_DIR@
    2931R2INC = ./R2/include
    3032MATINC = ./newmat11
    3133
    32 LIB_DX = -lDXcallm -lm
    33 LIB_NANOVIS = -L@RP_DIR@/lib -ltcl8.4 -lGL -lglut -lglui -lGLEW -lCg -lCgGL -pthread -lrappture2 -lb64 -lz
    34 INCLUDES = -I@RP_DIR@/include -I@RP2_INCL_DIR@ -I/usr/include/GL -I$(R2INC) -I. -I$(MATINC)
     34DX_DIR  = /usr/dx
     35DX_INC_SPEC = -I$(DX_DIR)/include
     36DX_LIB_SPEC = -L$(DX_DIR)/lib_linux -lDXcallm -lm
     37DX_INC_SPEC = -I/usr/include/dx
     38DX_LIB_SPEC = -L/usr/lib/dx/lib_linux -lDXcallm -lm
     39GL_INC_SPEC = -I/usr/include/GL
     40GL_LIB_SPEC = -lGL -lglut -lglui -lGLEW -lCg -lCgGL -lpthread
     41MAT_INC_SPEC = -I$(MATINC)
     42R2_INC_SPEC = -I$(R2INC)
     43RP_INC_SPEC = -I$(RP_DIR)/include -I$(RP_DIR)/include/rappture2
     44RP_LIB_SPEC = -L$(RP_DIR)/lib -lrappture2 -lb64 -lz
     45
     46LIBS = \
     47        $(RP_LIB_SPEC) \
     48        -ltcl8.4 \
     49        $(GL_LIB_SPEC) \
     50        $(DX_LIB_SPEC)
     51
     52INCLUDES = \
     53        -I. \
     54        $(RP_INC_SPEC) \
     55        $(GL_INC_SPEC) \
     56        $(R2_INC_SPEC) \
     57        $(MAT_INC_SPEC)
    3558
    3659CFLAGS = @CFLAGS@
     
    112135        cholesky.o \
    113136        dxReader.o \
     137        dxReader2.o \
    114138        evalue.o \
    115139        fft.o \
     
    150174
    151175clean:
    152         rm -f *.o nanovis client
     176        rm -f nanovis client $(OBJS)
    153177
    154178distclean: clean
    155         rm Makefile
     179        rm -f Makefile *~
    156180
    157181nanovis: $(OBJS)
    158         $(CC) $(CC_SWITCHES) -o $@ $^ $(LIB_NANOVIS) $(LIB_DX)
     182        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
    159183
    160184client: Socket.o ClientSocket.o RenderClient.o Event.o
    161         $(CC) $(CC_SWITCHES) -o $@ $^ $(LIB_NANOVIS) $(LIB_DX)
     185        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
    162186
    163187.cpp.o:
     
    167191        $(CC) $(CC_SWITCHES) -c $^
    168192
     193dxReader2.o: $(srcdir)/dxReader2.cpp
     194        $(CC) -c $(CC_SWITCHES) $(DX_INC_SPEC) $?
    169195ColorGradient.o: transfer-function/ColorGradient.cpp
    170196        $(CC) $(CC_SWITCHES) -o $@ -c $<
Note: See TracChangeset for help on using the changeset viewer.