home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-07-25 | 1.1 KB | 43 lines |
- # Makefile for wireI
- # created by Ian Wilkinson on Sat Sep 12 23:08:54 1992
- #
- # Makefile...
- # Borrows from that in self/applications/serverDemo.
- #
- # Copyright (c) Canon Research Centre Europe, 1992.
- # All rights reserved.
-
- OPENWINHOME:sh = echo ${OPENWINHOME:-/usr/openwin}
- ROOTDIR = ${SELF_BASELINE_DIR}
- WI_LIBPATH = -L$(OPENWINHOME)/lib
- WI_LIBS = -ljot -lwire -lcps
- INCLUDES = -I${ROOTDIR}/sun4/optimized -I${ROOTDIR}/glueDefs \
- -I$(OPENWINHOME)/include
- CDEFS = wireIPS.h
- %.h: %.cps
- cps $<
-
- app: $(CDEFS) wireI.so
-
- # Static constructors in the dynamic library is NOT working
- wireI.so: wireI.o
- @echo Linking $@
- @ld -o $@ $? $(WI_LIBPATH) $(WI_LIBS)
-
- wireI.o: wireI.C
- @echo Compiling wireI.C
- @${COMPILE.gnu.o} -o $@ $?
-
- clean:
- -rm wireI.so wireI.o wireIPS.h
-
- # The following includes contain information about the current
- # installed g++ compiler, g++ options, and g++ include directories.
- include ${ROOTDIR}/MakefileSun4Template
- include ${ROOTDIR}/MakefileOptimizeTemplate
- include ${ROOTDIR}/MakefileCompileTemplate
- include ${ROOTDIR}/MakefileFTPTemplate
- include ${ROOTDIR}/MakefilePublishTemplate
-
-
-