Last change
on this file was 286, checked in by Herwig Bauernfeind, 16 years ago |
Update 3.0 to 3.0.35
|
-
Property svn:eol-style
set to
native
|
File size:
1.4 KB
|
Rev | Line | |
---|
[9] | 1 | #
|
---|
| 2 | # gcc 3.3.5 is required!
|
---|
| 3 | #
|
---|
[5] | 4 |
|
---|
[286] | 5 | VERSION = 1.0.34
|
---|
| 6 | BUILD = 34
|
---|
[5] | 7 |
|
---|
[9] | 8 | SAMBA = ..
|
---|
[286] | 9 | TOOLKIT = U:\OS2TK45
|
---|
[5] | 10 |
|
---|
[286] | 11 | INCLUDES = -I.\h -I.\rc -I. \
|
---|
[9] | 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
|
---|
[5] | 17 |
|
---|
[9] | 18 | CFLAGS = -g -Zomf -O3 -march=pentium -mcpu=pentium4
|
---|
[23] | 19 | LDFLAGS = -s -Zomf -Zno-fork -Zsym -Zmap -Zbin-files
|
---|
[5] | 20 |
|
---|
[9] | 21 | CC = gcc
|
---|
| 22 | LIBS = $(SAMBA)/bin/libsmbclient.a -lsocket -lsyslog
|
---|
[5] | 23 |
|
---|
[9] | 24 | NDPSMB_OBJS = ndpsmb.o
|
---|
| 25 | SMBCD_OBJS = smbcd.o smbwrp.o
|
---|
[5] | 26 |
|
---|
| 27 |
|
---|
[9] | 28 | all: ndpsmb.dll ndpsmb.hlp smbcd.exe
|
---|
[5] | 29 |
|
---|
[9] | 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
|
---|
[286] | 40 | BldLevelInf.cmd -V$(VERSION) -Len rc\description.rc
|
---|
[9] | 41 |
|
---|
| 42 | rc\rc.res: .\rc\rc.rc .\rc\rc.dlg .\rc\rc.h .\H\ndpl_rc.h rc\description.rc
|
---|
[286] | 43 | rc -r -i .\h;.\rc;$(TOOLKIT)\h .\rc\rc.rc
|
---|
[9] | 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
|
---|
[5] | 48 | del rc.i
|
---|
| 49 |
|
---|
[286] | 50 | ndpsmb.o: makefile .\H\ndextpl2.h .\H\ndfs.h smbcd.h smbwrp.h
|
---|
[5] | 51 |
|
---|
[9] | 52 |
|
---|
[5] | 53 | clean:
|
---|
[286] | 54 | rm *.o
|
---|
[5] | 55 | rm *.map
|
---|
| 56 | rm *.dll
|
---|
[9] | 57 | rm *.hlp
|
---|
[286] | 58 | rm rc\description.rc
|
---|
Note:
See
TracBrowser
for help on using the repository browser.