| 
            Last change
 on this file since 940 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
           | 
        
      
      
| Line |   | 
|---|
| 1 | #
 | 
|---|
| 2 | # gcc 3.3.5 is required!
 | 
|---|
| 3 | #
 | 
|---|
| 4 | 
 | 
|---|
| 5 | VERSION         = 1.0.34
 | 
|---|
| 6 | BUILD           = 34
 | 
|---|
| 7 | 
 | 
|---|
| 8 | SAMBA           = ..
 | 
|---|
| 9 | TOOLKIT         = U:\OS2TK45
 | 
|---|
| 10 | 
 | 
|---|
| 11 | INCLUDES        = -I.\h -I.\rc -I. \
 | 
|---|
| 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 |         BldLevelInf.cmd -V$(VERSION) -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 |         rc -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
 | 
|---|
| 51 | 
 | 
|---|
| 52 | 
 | 
|---|
| 53 | clean:
 | 
|---|
| 54 |         rm *.o
 | 
|---|
| 55 |         rm *.map
 | 
|---|
| 56 |         rm *.dll
 | 
|---|
| 57 |         rm *.hlp
 | 
|---|
| 58 |         rm rc\description.rc
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.