|
Last change
on this file since 552 was 414, checked in by Herwig Bauernfeind, 16 years ago |
|
Samba 3.5.0: Initial import
|
|
File size:
626 bytes
|
| Line | |
|---|
| 1 | # Makefile for samba-pdb examples
|
|---|
| 2 | # Variables
|
|---|
| 3 |
|
|---|
| 4 | CC = gcc
|
|---|
| 5 | LIBTOOL = libtool
|
|---|
| 6 |
|
|---|
| 7 | SAMBA_SRC = ../../source
|
|---|
| 8 | SAMBA_INCL = ../../source/include
|
|---|
| 9 | UBIQX_SRC = ../../source/ubiqx
|
|---|
| 10 | SMBWR_SRC = ../../source/smbwrapper
|
|---|
| 11 | CFLAGS = -I$(SAMBA_SRC) -I$(SAMBA_INCL) -I$(UBIQX_SRC) -I$(SMBWR_SRC) -Wall -g
|
|---|
| 12 | AUTH_OBJS = auth_skel.la
|
|---|
| 13 |
|
|---|
| 14 | # Default target
|
|---|
| 15 |
|
|---|
| 16 | default: $(AUTH_OBJS)
|
|---|
| 17 |
|
|---|
| 18 | # Pattern rules
|
|---|
| 19 |
|
|---|
| 20 | %.la: %.lo
|
|---|
| 21 | $(LIBTOOL) --mode=link $(CC) -module -o $@ $< $(LDFLAGS)
|
|---|
| 22 |
|
|---|
| 23 | %.lo: %.c
|
|---|
| 24 | $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
|
|---|
| 25 |
|
|---|
| 26 | # Misc targets
|
|---|
| 27 |
|
|---|
| 28 | clean:
|
|---|
| 29 | rm -rf .libs
|
|---|
| 30 | rm -f core *~ *% *.bak \
|
|---|
| 31 | $(AUTH_OBJS) $(AUTH_OBJS:.la=.o) $(AUTH_OBJS:.la=.lo)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.