File: Makefile

package info (click to toggle)
icomlib 1.0.1-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,716 kB
  • ctags: 1,363
  • sloc: cpp: 4,848; makefile: 533; sh: 181; ansic: 145
file content (48 lines) | stat: -rw-r--r-- 935 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
######
# automagically built by ./configure
######

SRCDIR	=/home/bottoms/icomlib-1.0.1
PREFIX	=/usr
P_DEBUG =-O2
P_CC	=gcc
P_CXX	=g++
P_SYS	=-DLinux
P_MOC	=/usr/bin/moc
P_QTLIB	=/usr/lib/qt3/lib
P_QTINC	=/usr/lib/qt3/include
P_LINKER=g++
P_LINK	=g++
P_QTOK	=y
P_GUISTYLE=-DSGI_STYLE

# linux configuration file

P_LINKER=$(P_CXX)
P_X11=/usr/X11R6
P_LFLAGS_PCOMM=-shared -Wl,-soname,libpcomm.so.1
P_LFLAGS_PCP=-shared -Wl,-soname,libpcp.so.1
P_LFLAGS_PLOG=-shared -Wl,-soname,libplog.so.1
P_LINK=$(P_LINKER)
PCOMMHEAD	= $(SRCDIR)/src/pcomm/pcomm.h \
		  $(SRCDIR)/src/pcomm/pcrdef.h

PCPHEAD		= $(SRCDIR)/src/pcp/pcp.h

PLOGHEAD	= $(SRCDIR)/src/plog/plog.h

all: clean
	ln -f $(PLOGHEAD) .
	ln -f $(PCOMMHEAD) .
	ln -f $(PCPHEAD) .

clean:
	rm -f core *~ *.h *.cpp

testvar:
	@echo "****$(PWD)****"
	@echo "*** LIBS   $(LIBS)"
	@echo "*** SRCDIR $(SRCDIR)"
	@echo "*** $(PCOMMHEAD) "
	@echo "*** $(PCPHEAD) "
	@echo "*** $(PLOGHEAD) "