source: trunk/packages/vizservers/nanoscale/Makefile.in @ 4111

Last change on this file since 4111 was 4111, checked in by ldelgass, 7 years ago

Revert some changes from r4108: nanovis and vtkvis redirect stdout/stderr to
the trace log. Default to using stdin/stdout in nanovis/vtkvis when no command
line option is given. Add command line options to nanoscale config file to
set socket descriptor for nanovis/vtkvis/geovis.

File size: 1.5 KB
Line 
1
2CC              = @CC@
3CFLAGS          = @CFLAGS@
4EXTRA_CFLAGS    = -Wall
5CC_SWITCHES     = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) $(DEFINES)
6LDFLAGS         = @LDFLAGS@
7
8bindir          = @bindir@
9datadir         = @datadir@
10datarootdir     = @datarootdir@
11exec_prefix     = @exec_prefix@
12includedir      = @includedir@
13libdir          = @libdir@
14mandir          = @mandir@
15prefix          = @prefix@
16srcdir          = @srcdir@
17
18VPATH           = $(srcdir)
19
20INSTALL         = @INSTALL@
21INSTALL_PROGRAM = ${INSTALL} -m 0555
22INSTALL_DATA    = ${INSTALL} -m 0444
23INSTALL_SCRIPT  = ${INSTALL} -m 0444
24RM              = rm -f
25
26SERVER_OBJS     = server.o
27CLIENT_OBJS     = client.o clientlib.o
28
29TCL_LIB_SPEC    = @TCL_LIB_SPEC@
30TCL_INC_SPEC    = @TCL_INC_SPEC@
31LD_RUN_PATH     = $(libdir)
32LOGDIR          = @LOGDIR@
33SVN_VERSION     = $(shell svnversion $(srcdir))
34
35DEFINES         = -DSERVERSFILE=\"$(libdir)/renderservers.tcl\" \
36                -DSVN_VERSION=\"$(SVN_VERSION)\" \
37                -DLOGDIR=\"$(LOGDIR)\"
38INCLUDES        = -I. $(TCL_INC_SPEC)
39LIBS            = $(TCL_LIB_SPEC) \
40                -Wl,-rpath,$(LD_RUN_PATH)
41
42.PHONY: all install clean distclean
43
44TARGETS         = nanoscale
45
46all: $(TARGETS)
47
48nanoscale: $(SERVER_OBJS)
49        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
50
51install: nanoscale renderservers.tcl
52        $(INSTALL_PROGRAM) -D nanoscale $(bindir)/nanoscale
53        $(INSTALL_SCRIPT) renderservers.tcl $(libdir)
54
55client: $(CLIENT_OBJS)
56
57.c.o:
58        $(CC) $(CC_SWITCHES) -o $@ -c $<
59
60clean:
61        $(RM) -r a.out $(SERVER_OBJS) *~ core* $(TARGETS) *.log *.tmp logfile* .deps/*.d
62
63distclean: clean
64        $(RM) Makefile config.h renderservers.tcl
65
Note: See TracBrowser for help on using the repository browser.