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

Last change on this file since 4050 was 4050, checked in by ldelgass, 9 years ago

Remove old server impl.

File size: 1.3 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)
32
33DEFINES         = -DSERVERSFILE=\"$(libdir)/renderservers.tcl\"
34INCLUDES        = -I. $(TCL_INC_SPEC)
35LIBS            = $(TCL_LIB_SPEC) \
36                -Wl,-rpath,$(LD_RUN_PATH)
37
38.PHONY: all install clean distclean
39
40TARGETS         = nanoscale
41
42all: $(TARGETS)
43
44nanoscale: $(SERVER_OBJS)
45        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
46
47install: nanoscale renderservers.tcl
48        $(INSTALL_PROGRAM) -D nanoscale $(bindir)/nanoscale
49        $(INSTALL_SCRIPT) renderservers.tcl $(libdir)
50
51client: $(CLIENT_OBJS)
52
53.c.o:
54        $(CC) $(CC_SWITCHES) -o $@ -c $<
55
56clean:
57        $(RM) -r a.out $(SERVER_OBJS) *~ core* $(TARGETS) *.log *.tmp logfile* .deps/*.d
58
59distclean: clean
60        $(RM) Makefile config.h renderservers.tcl
61
Note: See TracBrowser for help on using the repository browser.