File: Makefile.PS2_EE

package info (click to toggle)
libnfs 5.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,648 kB
  • sloc: ansic: 39,600; sh: 1,654; makefile: 315; xml: 178
file content (40 lines) | stat: -rw-r--r-- 1,137 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
EE_CFLAGS = -DPS2_EE \
	  -D_U_=/**/ -I../include -I../include/nfsc \
	  -I../mount -I../nfs -I../nfs4 -I../portmap

EE_LIB = libnfs.a
EE_INCS = 
EE_OBJS = ../lib/init.o ../lib/pdu.o ../lib/socket.o \
	../lib/nfs_v3.o ../lib/nfs_v4.o \
	../lib/libnfs.o ../lib/libnfs-sync.o ../lib/libnfs-zdr.o \
	../mount/mount.o ../mount/libnfs-raw-mount.o \
	../portmap/portmap.o ../portmap/libnfs-raw-portmap.o \
	../nfs/nfs.o ../nfs/libnfs-raw-nfs.o \
	../nfs4/nfs4.o ../nfs4/libnfs-raw-nfs4.o

all: $(EE_LIB) $(EE_OBJS)

install: all
ifeq ($(PS2SDK),)
	@echo "$PS2SDK is not set. Can not install libnfs."
	@exit 1
endif
	@echo Copying...
	@[ -d $(PS2SDK)/ee/include/nfsc ] || mkdir -p $(PS2SDK)/ee/include/nfsc
	@cp -frv ../include/nfsc/*.h $(PS2SDK)/ee/include/nfsc
	@cp -frv ../mount/*.h $(PS2SDK)/ee/include/nfsc
	@cp -frv ../portmap/*.h $(PS2SDK)/ee/include/nfsc
	@cp -frv ../nfs/*.h $(PS2SDK)/ee/include/nfsc
	@cp -frv ../nfs4/*.h $(PS2SDK)/ee/include/nfsc
	@cp -frv *.a $(PS2SDK)/ee/lib
	@echo Done!

clean:
	rm -rf *.a $(EE_OBJS)

reset:
	ps2client reset

include $(PS2SDK)/samples/Makefile.pref
include $(PS2SDK)/samples/Makefile.eeglobal