diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-03-25 22:57:29 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-03-25 22:57:29 +0000 |
commit | 99038b9aee31348c615a6fea3503c97f037c1c7e (patch) | |
tree | 6dde03d624b9c4eefb377fd168317566fc3947ff | |
parent | 03414dcb267d27b157b14b76f43eeffd03f57762 (diff) | |
download | samba-99038b9aee31348c615a6fea3503c97f037c1c7e.tar.gz samba-99038b9aee31348c615a6fea3503c97f037c1c7e.tar.bz2 samba-99038b9aee31348c615a6fea3503c97f037c1c7e.zip |
Do $(MAKE) modules_clean when compiling dynconfig.o. It's not the
most elegant solution, but it works.
(This used to be commit 02d202034dad56365a15c4e9fdcb7c420a77e1ed)
-rw-r--r-- | source3/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index 7117281900..97f89ab686 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -672,11 +672,13 @@ MAKEDIR = || exec false; \ # but since we also require "make install prefix=/opt/samba" *not* to # rebuild it's a bit hard. -dynconfig.o: dynconfig.c Makefile modules_clean +dynconfig.o: dynconfig.c Makefile + @$(MAKE) modules_clean @echo Compiling $*.c @$(CC) $(FLAGS) $(PATH_FLAGS) -c $< -o $@ -dynconfig.po: dynconfig.c Makefile modules_clean +dynconfig.po: dynconfig.c Makefile + @$(MAKE) modules_clean @if (: >> $@ || : > $@) >/dev/null 2>&1; then rm -f $@; else \ dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR); fi @echo Compiling $*.c with @PICFLAG@ |