Last change
on this file since 144 was 23, checked in by Yuri Dario, 18 years ago |
High memory is still not safe, something failing with highmem buffers, disable.
|
-
Property svn:eol-style
set to
native
|
File size:
1.4 KB
|
Line | |
---|
1 | #
|
---|
2 | # gcc 3.3.5 is required!
|
---|
3 | #
|
---|
4 |
|
---|
5 | VERSION = 1.0.15
|
---|
6 | BUILD = 15
|
---|
7 |
|
---|
8 | SAMBA = ..
|
---|
9 | TOOLKIT = E:\dev\toolkit452
|
---|
10 |
|
---|
11 | INCLUDES = -I.\h -I.\rc \
|
---|
12 | -I$(SAMBA) -I$(SAMBA)/include -I$(SAMBA)/lib/replace \
|
---|
13 | -I$(SAMBA)/popt \
|
---|
14 | -I$(SAMBA)/lib/talloc \
|
---|
15 | -I$(SAMBA)/librpc \
|
---|
16 | -I$(SAMBA)/tdb/include
|
---|
17 |
|
---|
18 | CFLAGS = -g -Zomf -O3 -march=pentium -mcpu=pentium4
|
---|
19 | LDFLAGS = -s -Zomf -Zno-fork -Zsym -Zmap -Zbin-files
|
---|
20 |
|
---|
21 | CC = gcc
|
---|
22 | LIBS = $(SAMBA)/bin/libsmbclient.a -lsocket -lsyslog
|
---|
23 |
|
---|
24 | NDPSMB_OBJS = ndpsmb.o
|
---|
25 | SMBCD_OBJS = smbcd.o smbwrp.o
|
---|
26 |
|
---|
27 |
|
---|
28 | all: ndpsmb.dll ndpsmb.hlp smbcd.exe
|
---|
29 |
|
---|
30 | .c.o:
|
---|
31 | $(CC) -c $(CFLAGS) $(INCLUDES) $*.c
|
---|
32 |
|
---|
33 | ndpsmb.dll: $(NDPSMB_OBJS) ndpsmb.def rc\rc.res makefile
|
---|
34 | $(CC) -Zdll $(LDFLAGS) -o $@ $(NDPSMB_OBJS) rc\rc.res ndpsmb.def
|
---|
35 |
|
---|
36 | smbcd.exe: $(SMBCD_OBJS) rc\rc.res makefile
|
---|
37 | $(CC) -Zexe $(LDFLAGS) -o $@ $(LIBS) $(SMBCD_OBJS) rc\rc.res
|
---|
38 |
|
---|
39 | rc\description.rc: makefile
|
---|
40 | call BldLevelInf -V$(VERSION) -N"Netlabs.org" -D"NDPSMB - SMBFS NetDrive External Plugin" -Len rc\description.rc
|
---|
41 |
|
---|
42 | rc\rc.res: .\rc\rc.rc .\rc\rc.dlg .\rc\rc.h .\H\ndpl_rc.h rc\description.rc
|
---|
43 | wrc -r -i.\h;.\rc;$(TOOLKIT)\h .\rc\rc.rc
|
---|
44 |
|
---|
45 | ndpsmb.hlp: .\rc\rc.ipf .\rc\rc.h .\H\hmacros.h makefile
|
---|
46 | -$(CC) -E $(INCLUDES) -x c .\rc\rc.ipf > rc.i
|
---|
47 | $(TOOLKIT)\bin\ipfc rc.i ndpsmb.hlp /COUNTRY=001 /CODEPAGE=850
|
---|
48 | del rc.i
|
---|
49 |
|
---|
50 | #ndpsmb.o: makefile .\H\ndextpl2.h .\H\ndfs.h smbcd.h smbwrp.h .\H\mydebug.h
|
---|
51 |
|
---|
52 |
|
---|
53 | clean:
|
---|
54 | rm *.obj
|
---|
55 | rm *.map
|
---|
56 | rm *.dll
|
---|
57 | rm *.hlp
|
---|
Note:
See
TracBrowser
for help on using the repository browser.