chiark / gitweb /
WIP
[subdirmk.git] / Makefile.in
index d8d8def1552454ddb7d4099c8292fa41f62a05d6..dcf875d94da03126e6efe5ba23c631a77b5362ea 100644 (file)
@@ -41,15 +41,6 @@ exec_prefix           = @exec_prefix@
 bindir                  = @bindir@
 
 ## Build options.
-CC                      = @CC@
-CFLAGS                  = @CFLAGS@
-DEFS                    = @DEFS@
-INCLUDES                = @INCLUDES@
-LD                      = @CC@
-LDFLAGS                         = @LDFLAGS@
-LIBS                    = @LIBS@
-
-INCLUDES               += -I$(srcdir)/lib/
 
 ###--------------------------------------------------------------------------
 ### Machinery.
@@ -83,18 +74,7 @@ V_AT                  = $(%V_AT.$V)
 %V_AT.0                         = @
 %V_AT.1                         =
 
-VPATH                   = $(srcdir)
-
-COMPILE                         = $(call v-tag,CC)$(CC) -c -o$@ -MD \
-                               $(DEFS) $(INCLUDES) $(CFLAGS)
-%.o: %.c
-       $(COMPILE) $<
-
-LINK                    = $(call v-tag,LD)$(LD) -o$@ \
-                               $(CFLAGS) $(LDFLAGS) $(LIBS)
 
-objects                         = $(addsuffix $(if $2,$2,.o), \
-                               $(basename $(filter %.c %.s %.S,$1)))
 
 ALL_DEPFILES           :=
 notice-objects          = $(eval ALL_DEPFILES += $$(patsubst %.o,%.d,$1))
@@ -112,19 +92,6 @@ $(call descend-subdirs, $(SUBDIRS))
 ###--------------------------------------------------------------------------
 ### Maintaining the build system.
 
-$(srcdir)/configure: $(srcdir)/configure.ac
-       $(call v-tag,AUTOCONF)cd $(srcdir) && autoconf
-
-config.status: $(srcdir)/configure
-       $(call v-tag,CONFIG)./config.status --recheck
-
-Makefile: config.status $(srcdir)/Makefile.in \
-               $(foreach d,$(ALL_SUBDIRS), $d/Makefile)
-       $(call v-tag,SUBST)./config.status Makefile
-$(foreach d,$(ALL_SUBDIRS), \
-       $(eval $d/Makefile: config.status $$(srcdir)/$d/Makefile.in; \
-               $$(call v-tag,SUBST)./config.status $$@))
-
 ###--------------------------------------------------------------------------
 ### More machinery.