source: nanoscale/trunk/Makefile.in @ 5119

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

fix tab

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