File: Makefile

package info (click to toggle)
dpm-postgres 1.7.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 13,788 kB
  • ctags: 10,782
  • sloc: ansic: 146,136; sh: 13,362; perl: 11,142; python: 5,529; cpp: 5,113; sql: 1,790; makefile: 955; fortran: 113
file content (69 lines) | stat: -rwxr-xr-x 1,339 bytes parent folder | download | duplicates (4)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#
#  Copyright (C) 1997-2002 by CERN/IT/PDP/DM
#  All rights reserved
#

#  Default rules for Make          Linux

CC += -g -fPIC -D_LARGEFILE64_SOURCE
MTCCFLAGS = -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT
MTLDLIBS =
MTLDFLAGS = -pthread
SHLIBLDFLAGS = -shared
SHLIBREQLIBS = -lc -lpthread

FC = g77

ACCTFLAG=-DSACCT

BIN = /opt/lcg/bin

CP = cp
LD = cc
LN = ln

RANLIB = ranlib

SHELL = /bin/sh

#INCLUDES = ../../../h
INCLUDES = ../../../h

#LIBS = -L../../../shlib -llfc -lshift $(ADNSLIB) -lnsl -luuid -lCsec -ldl
LIBS = -L../../../shlib -L/opt/lcg/lib -llfc $(ADNSLIB) -lnsl -luuid -ldl

PROGS = migrate_info migrate_path migrate_files

CFLAGS = -I$(INCLUDES)

DEPLIBS = ../../../ns/libns.a

all: $(PROGS)

migrate_info: migrate_info.o $(DEPLIBS)
	$(CC) -o $@ $(LDFLAGS) migrate_info.o $(LIBS)
migrate_path: migrate_path.o $(DEPLIBS)
	$(CC) -o $@ $(LDFLAGS) migrate_path.o $(LIBS)
migrate_files: migrate_files.o $(DEPLIBS)
	$(CC) -o $@ $(LDFLAGS) migrate_files.o $(LIBS)

../../../ns/libns.a:	FORCE
	cd ../../../ns ; $(MAKE) libns.a

clean:
	-@$(RM) -f *.o *.a *.so ,* .es1 core

clobber:        clean
	-@$(RM) -f $(PROGS)

depend:
	makedepend -Y$(INCLUDES) *.c 2> /dev/null

Makefiles:

FORCE:

####################### DEPENDENCIES ##########################

# DO NOT DELETE THIS LINE -- make  depend  depends  on  it.