Changeset 2347 for trunk


Ignore:
Timestamp:
Aug 12, 2011, 6:32:52 AM (13 years ago)
Author:
gah
Message:

new nanoscale

Location:
trunk/packages/vizservers/nanoscale
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanoscale/Makefile.in

    r2342 r2347  
    33CFLAGS          = @CFLAGS@
    44EXTRA_CFLAGS    = -Wall
    5 DEFINES         = @DEFINES@
    6 CC_SWITCHES     = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES)
     5CC_SWITCHES     = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) $(DEFINES)
    76LDFLAGS         = @LDFLAGS@
    87
     
    3130LD_RUN_PATH     = $(libdir)
    3231
     32DEFINES         = -DSERVERSFILE=\"$(libdir)/renderservers.tcl\"
    3333INCLUDES        = $(TCL_INC_SPEC)
    3434LIBS            = $(TCL_LIB_SPEC) \
     
    4444        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
    4545
    46 install: nanoscale
     46install: nanoscale renderservers.tcl
    4747        $(INSTALL_PROGRAM) -D nanoscale $(bindir)/nanoscale
     48        $(INSTALL) -m 0444 renderservers.tcl $(libdir)
    4849
    4950client: $(CLIENT_OBJS)
  • trunk/packages/vizservers/nanoscale/server2.c

    r2342 r2347  
    1515#define TRUE    1
    1616#define FALSE   0
    17 #define DEF_SERVERS  "/opt/hubzero/rappture/render/lib/renderservers.tcl"
     17
     18#ifndef SERVERSFILE
     19#define SERVERSFILE  "/opt/hubzero/rappture/render/lib/renderservers.tcl"
     20#endif
    1821
    1922#define ERROR(...)      LogMessage(LOG_ERR, __FILE__, __LINE__, __VA_ARGS__)
     
    260263    dispNum = 0;
    261264    maxCards = 1;
    262     fileName = DEF_SERVERS;
     265    fileName = SERVERSFILE;
    263266    debug = FALSE;
    264267    strcpy(display, "DISPLAY=:0.0");
Note: See TracChangeset for help on using the changeset viewer.