2 # gEDA/gaf Toplevel Makefile
6 # These variables hold the the master version of gEDA/gaf.
7 # Change this to the real version of the distribution. However
8 # you still need to update all the configure.ac[.in] scripts; this
9 # can be accomplished by running ./update-versions.sh with the correct
16 # Use this when you are building the repository version
22 # Use this when you are building the Released version (comment out above)
24 #CD_VERSION=-$(DOTTED_VERSION)
28 # Set this to the location where you want to install gEDA/gaf
33 # You can set any global options you want here to be passed to the
34 # individual ./configure scripts
39 # Set this to the shell that you want the various commands to run in.
40 # For most people the default should work just fine.
44 ############################################################################
46 ############################################################################
49 @echo
$(VERSION
) $(CD_VERSION
) $(DIR_PREFIX
)
50 @echo
"gEDA Toplevel Makefile"
51 @echo
"This Makefile requires libgeda, symbols, gschem, gnetlist,"
52 @echo
"gattrib, gsymcheck, utils, docs, and examples source tarball packages"
53 @echo
"untarred in this: `pwd` directory"
57 @echo
"${MAKE} install Installs gEDA/gaf into $(prefix)"
58 @echo
"${MAKE} uninstall Uninstall gEDA/gaf from $(prefix)"
59 @echo
"${MAKE} clean Simple clean only (remove all .o and bins)"
60 @echo
"${MAKE} open Opens up all gEDA/gaf tarballs in base directory"
62 @echo
"These targets are primarily used by the developers:"
63 @echo
"${MAKE} reconfig Recreate ./configure (and all Makefiles)"
64 @echo
"${MAKE} maint Total maintenance clean"
65 @echo
"${MAKE} distcheck Create distribution (using make distcheck)"
66 @echo
"${MAKE} distconfig Create dist ./configure (and all Makefiles)"
67 @echo
"${MAKE} distclean Does a make distclean in each subdir"
68 @echo
"${MAKE} config Just do the ./configure --prefix=${prefix}"
69 @echo
"${MAKE} proto Recreate all prototype.h files"
70 @echo
"${MAKE} dist Create distribution (using make dist)"
71 @echo
"${MAKE} src Create all *.c files from *.nw files"
72 @echo
"${MAKE} all Just build. Do not use! Run make install"
75 @echo
"---------------------------READ THIS---------------------------"
76 @echo
"Before executing any of the above targets, set the below shell"
77 @echo
"variables. The build process _will fail_ if you do not set"
78 @echo
"these variables! You will also need to set these variables to"
79 @echo
"run the programs."
81 @echo
"gEDA/gaf will be installed into ${prefix}"
83 @echo
"For vanilla bourne shells:"
84 @echo LD_LIBRARY_PATH
=${prefix}/lib
:\
$$LD_LIBRARY_PATH
85 @echo
"export LD_LIBRARY_PATH"
86 @echo PATH
=${prefix}/bin
:\
$$\
{PATH\
}
88 @echo PKG_CONFIG_PATH
=${prefix}/lib
/pkgconfig
:\
$$PKG_CONFIG_PATH
89 @echo
"export PKG_CONFIG_PATH"
92 @echo
export LD_LIBRARY_PATH
=${prefix}/lib
:\
$$LD_LIBRARY_PATH
93 @echo
export PATH
=${prefix}/bin
:\
$$\
{PATH\
}
94 @echo
export PKG_CONFIG_PATH
=${prefix}/lib
/pkgconfig
:\
$$PKG_CONFIG_PATH
96 @echo
"For csh/tcsh shell:"
97 @echo setenv LD_LIBRARY_PATH
${prefix}/lib
:\
$$LD_LIBRARY_PATH
98 @echo setenv PATH
${prefix}/bin
:\
$$PATH
99 @echo setenv PKG_CONFIG_PATH
${prefix}/lib
/pkgconfig
:\
$$PKG_CONFIG_PATH
101 @echo
"---------------------------READ THIS---------------------------"
103 ##----------------------------------------------------------------------
104 ## SDB notes: To create a gEDA distribution, do this (in this order):
106 ## 2. make reconfig <-- This is entry point when you download from CVS
107 ## (i.e. start with "make reconfig")
109 ## ---> At this point you can do "make install" if you want
110 ## to install gEDA on your machine.
112 ## "Make dist" will leave tarballs of the various parts of the suite in
113 ## the base directory. Note that you have to change the $VERSION
114 ## of each program in the configure.ac in each directory. In principle,
115 ## you can check that "make dist" worked by doing:
117 ## "make distcheck" will create a set of tarballs and untar, configure,
118 ## compile and run make check in each directory.
120 ## Note that you need to have the autotools installed; if you are not a
121 ## developer or you don't know what the autotools are, you probably
122 ## shouldn't do this. You're forewarned!
123 ##----------------------------------------------------------------------
125 # This installs libgeda and symbols and just builds gschem and gnetlist
126 all: libgeda symbols gschem gnetlist gattrib gsymcheck utils docs examples
128 # This builds and installs all of gEDA/gaf
129 install: symbols_install libgeda_install gschem_install gnetlist_install \
130 gattrib_install gsymcheck_install \
131 utils_install docs_install examples_install
133 # This uninstalls all of gEDA/gaf
134 uninstall: utils_uninstall gsymcheck_uninstall gattrib_uninstall \
135 gnetlist_uninstall gschem_uninstall symbols_uninstall \
136 libgeda_uninstall docs_uninstall examples_uninstall
138 # This target assumes you have all .tar.gz files present in your local directory.
139 # It opens them up using tar -zxvf. Afterwards you can do
140 # "make install" to install your gEDA distribution.
151 # This does a maintainer-clean removes EVERYTHING that's config/built
152 maint
: libgeda_maint symbols_maint gschem_maint gnetlist_maint gattrib_maint \
153 gsymcheck_maint utils_maint docs_maint \
156 # This does a plain clean
157 clean: libgeda_clean symbols_clean gschem_clean gnetlist_clean gattrib_clean \
158 gsymcheck_clean utils_clean docs_clean \
161 # This does a dist clean
162 distclean: libgeda_distclean symbols_distclean gschem_distclean \
163 gnetlist_distclean gattrib_distclean gsymcheck_distclean \
164 utils_distclean docs_distclean examples_distclean
166 # This just does the appropriate ./configure --prefix=...
167 config
: libgeda_config symbols_config gschem_config gnetlist_config \
168 gattrib_config gsymcheck_config utils_config docs_config \
171 # This recreates all ./configure scripts and Makefile.in files
172 reconfig
: libgeda_reconfig symbols_reconfig gschem_reconfig gnetlist_reconfig \
173 gattrib_reconfig gsymcheck_reconfig utils_reconfig \
174 docs_reconfig examples_reconfig
176 # This creates all *.c files from *.nw files
177 src
: libgeda_src gschem_src
179 # This recreates all ./configure scripts and Makefile.in files ready
180 # for distribution (removes dependency checking)
181 distconfig
: libgeda_distconfig symbols_distconfig gschem_distconfig \
182 gnetlist_distconfig gattrib_distconfig gsymcheck_distconfig \
183 utils_distconfig docs_distconfig \
186 dist: libgeda_dist symbols_dist gschem_dist \
187 gnetlist_dist gattrib_dist gsymcheck_dist utils_dist \
188 docs_dist examples_dist
189 mv
-f libgeda
/libgeda
*.
tar.gz .
190 mv
-f symbols
/geda-symbols
*.
tar.gz .
191 mv
-f gschem
/geda-gschem
*.
tar.gz .
192 mv
-f gnetlist
/geda-gnetlist
*.
tar.gz .
193 mv
-f gattrib
/geda-gattrib
*.
tar.gz .
194 mv
-f gsymcheck
/geda-gsymcheck
*.
tar.gz .
195 mv
-f utils
/geda-utils
*.
tar.gz .
196 mv
-f docs
/geda-docs
*.
tar.gz .
197 mv
-f examples
/geda-examples
*.
tar.gz .
199 distcheck
: libgeda_distcheck symbols_distcheck gschem_distcheck \
200 gnetlist_distcheck gattrib_distcheck gsymcheck_distcheck \
201 utils_distcheck docs_distcheck examples_distcheck
202 mv
-f libgeda
/libgeda
*.
tar.gz .
203 mv
-f symbols
/geda-symbols
*.
tar.gz .
204 mv
-f gschem
/geda-gschem
*.
tar.gz .
205 mv
-f gnetlist
/geda-gnetlist
*.
tar.gz .
206 mv
-f gattrib
/geda-gattrib
*.
tar.gz .
207 mv
-f gsymcheck
/geda-gsymcheck
*.
tar.gz .
208 mv
-f utils
/geda-utils
*.
tar.gz .
209 mv
-f docs
/geda-docs
*.
tar.gz .
210 mv
-f examples
/geda-examples
*.
tar.gz .
212 # This recreates all ./configure scripts and Makefile.in files
213 proto
: libgeda_proto gschem_proto gnetlist_proto gattrib_proto gsymcheck_proto
215 ############################################################################
217 ############################################################################
220 symbols
: $(DIR_PREFIX
)symbols
$(CD_VERSION
)/configure
221 @echo symbols Installed
223 symbols_maint
: $(DIR_PREFIX
)symbols
$(CD_VERSION
)/geda-font.scm
224 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); ${MAKE} maintainer-clean
)
226 symbols_clean
: $(DIR_PREFIX
)symbols
$(CD_VERSION
)/geda-font.scm
227 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); ${MAKE} clean )
229 symbols_distclean
: $(DIR_PREFIX
)symbols
$(CD_VERSION
)/geda-font.scm
230 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); ${MAKE} distclean )
232 symbols_install
: $(DIR_PREFIX
)symbols
$(CD_VERSION
)/configure \
233 $(DIR_PREFIX
)symbols
$(CD_VERSION
)/Makefile
234 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); ${MAKE} install )
236 symbols_uninstall
: $(DIR_PREFIX
)symbols
$(CD_VERSION
)/geda-font.scm
237 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); ${MAKE} uninstall )
239 symbols_config
: $(DIR_PREFIX
)symbols
$(CD_VERSION
)/configure
240 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); \
241 .
/configure
--prefix=$(prefix) $(opts
) )
244 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); .
/autogen.sh
)
247 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); .
/autogen.sh
)
250 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); ${MAKE} dist )
252 symbols_distcheck
: $(DIR_PREFIX
)symbols
$(CD_VERSION
)/configure \
253 $(DIR_PREFIX
)symbols
$(CD_VERSION
)/Makefile
254 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); ${MAKE} distcheck
)
257 gschem
: $(DIR_PREFIX
)gschem
$(CD_VERSION
)/configure \
258 $(DIR_PREFIX
)gschem
$(CD_VERSION
)/config.h \
259 $(DIR_PREFIX
)gschem
$(CD_VERSION
)/src
/gschem
262 gschem_install
: $(DIR_PREFIX
)gschem
$(CD_VERSION
)/configure \
263 $(DIR_PREFIX
)gschem
$(CD_VERSION
)/config.h \
264 $(DIR_PREFIX
)gschem
$(CD_VERSION
)/src
/gschem
265 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); ${MAKE} install )
267 gschem_uninstall
: $(DIR_PREFIX
)gschem
$(CD_VERSION
)/config.h
268 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); ${MAKE} uninstall )
270 gschem_config
: libgeda-pc-install \
271 $(DIR_PREFIX
)gschem
$(CD_VERSION
)/configure
272 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); \
273 .
/configure
--prefix=$(prefix) $(opts
) )
276 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); .
/autogen.sh
)
279 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
)/src
; ${MAKE} src
)
282 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); .
/autogen.sh
)
285 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); ${MAKE} dist )
287 gschem_distcheck
: $(DIR_PREFIX
)gschem
$(CD_VERSION
)/configure \
288 $(DIR_PREFIX
)gschem
$(CD_VERSION
)/config.h
289 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); ${MAKE} distcheck
)
291 gschem_maint
: $(DIR_PREFIX
)gschem
$(CD_VERSION
)/config.h
292 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); ${MAKE} maintainer-clean
)
294 gschem_clean
: $(DIR_PREFIX
)gschem
$(CD_VERSION
)/config.h
295 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); ${MAKE} clean )
297 gschem_distclean
: $(DIR_PREFIX
)gschem
$(CD_VERSION
)/config.h
298 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); ${MAKE} distclean )
300 gschem_proto
: $(DIR_PREFIX
)gschem
$(CD_VERSION
)/config.h
301 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
)/src
; ${MAKE} proto
)
304 gnetlist
: $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/configure \
305 $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/config.h \
306 $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/src
/gnetlist
309 gnetlist_install
: $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/configure \
310 $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/config.h \
311 $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/src
/gnetlist
312 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); ${MAKE} install )
314 gnetlist_uninstall
: $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/config.h
315 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); ${MAKE} uninstall )
317 gnetlist_maint
: $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/config.h
318 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); ${MAKE} maintainer-clean
)
320 gnetlist_clean
: $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/config.h
321 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); ${MAKE} clean )
323 gnetlist_distclean
: $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/config.h
324 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); ${MAKE} distclean )
326 gnetlist_proto
: $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/config.h
327 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/src
; ${MAKE} proto
)
329 gnetlist_config
: libgeda-pc-install \
330 $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/configure
331 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); \
332 .
/configure
--prefix=$(prefix) $(opts
) )
335 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); .
/autogen.sh
)
338 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); .
/autogen.sh
)
341 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); ${MAKE} dist )
343 gnetlist_distcheck
: $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/configure \
344 $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/config.h
345 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); ${MAKE} distcheck
)
348 gattrib
: $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/configure \
349 $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/config.h \
350 $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/src
/gattrib
353 gattrib_install
: $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/configure \
354 $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/config.h \
355 $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/src
/gattrib
356 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); ${MAKE} install )
358 gattrib_uninstall
: $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/config.h
359 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); ${MAKE} uninstall )
361 gattrib_maint
: $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/config.h
362 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); ${MAKE} maintainer-clean
)
364 gattrib_clean
: $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/config.h
365 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); ${MAKE} clean )
367 gattrib_distclean
: $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/config.h
368 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); ${MAKE} distclean )
370 gattrib_proto
: $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/config.h
371 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
)/src
; ${MAKE} proto
)
373 gattrib_config
: libgeda-pc-install \
374 $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/configure
375 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); \
376 .
/configure
--prefix=$(prefix) $(opts
) )
379 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); .
/autogen.sh
)
382 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); .
/autogen.sh
)
385 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); ${MAKE} dist )
387 gattrib_distcheck
: $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/configure \
388 $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/config.h
389 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); ${MAKE} distcheck
)
392 gsymcheck
: $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/configure \
393 $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/config.h \
394 $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/src
/gsymcheck
395 @echo gsymcheck Built
397 gsymcheck_install
: $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/configure \
398 $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/config.h \
399 $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/src
/gsymcheck
400 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); ${MAKE} install )
402 gsymcheck_uninstall
: $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/config.h
403 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); ${MAKE} uninstall )
405 gsymcheck_config
: libgeda-pc-install \
406 $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/configure
407 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); \
408 .
/configure
--prefix=$(prefix) $(opts
) )
411 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); .
/autogen.sh
)
413 gsymcheck_distconfig
:
414 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); .
/autogen.sh
)
417 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); ${MAKE} dist )
419 gsymcheck_distcheck
: $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/configure \
420 $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/config.h
421 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); ${MAKE} distcheck
)
423 gsymcheck_maint
: $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/config.h
424 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); ${MAKE} maintainer-clean
)
426 gsymcheck_clean
: $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/config.h
427 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); ${MAKE} clean )
429 gsymcheck_distclean
: $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/config.h
430 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); ${MAKE} distclean )
432 gsymcheck_proto
: $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/config.h
433 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/src
; ${MAKE} proto
)
436 utils
: $(DIR_PREFIX
)utils
$(CD_VERSION
)/configure \
437 $(DIR_PREFIX
)utils
$(CD_VERSION
)/config.h \
438 $(DIR_PREFIX
)utils
$(CD_VERSION
)/src
/gmk_sym
441 utils_install
: $(DIR_PREFIX
)utils
$(CD_VERSION
)/configure \
442 $(DIR_PREFIX
)utils
$(CD_VERSION
)/config.h \
443 $(DIR_PREFIX
)utils
$(CD_VERSION
)/src
/gmk_sym
444 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); ${MAKE} install )
446 utils_uninstall
: $(DIR_PREFIX
)utils
$(CD_VERSION
)/config.h
447 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); ${MAKE} uninstall )
449 utils_config
: libgeda-pc-install \
450 $(DIR_PREFIX
)utils
$(CD_VERSION
)/configure
451 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); \
452 .
/configure
--prefix=$(prefix) $(opts
) )
455 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); .
/autogen.sh
)
458 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); .
/autogen.sh
)
461 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); ${MAKE} dist )
463 utils_distcheck
: $(DIR_PREFIX
)utils
$(CD_VERSION
)/configure \
464 $(DIR_PREFIX
)utils
$(CD_VERSION
)/config.h
465 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); ${MAKE} distcheck
)
467 utils_maint
: $(DIR_PREFIX
)utils
$(CD_VERSION
)/config.h
468 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); ${MAKE} maintainer-clean
)
470 utils_clean
: $(DIR_PREFIX
)utils
$(CD_VERSION
)/config.h
471 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); ${MAKE} clean )
473 utils_distclean
: $(DIR_PREFIX
)utils
$(CD_VERSION
)/config.h
474 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); ${MAKE} distclean )
477 geda
: geda
$(CD_VERSION
)/configure \
478 geda
$(CD_VERSION
)/config.h \
479 geda
$(CD_VERSION
)/src
/geda
482 geda_install
: geda
$(CD_VERSION
)/configure \
483 geda
$(CD_VERSION
)/config.h \
484 geda
$(CD_VERSION
)/src
/geda
485 ( cd geda
$(CD_VERSION
); ${MAKE} install )
487 geda_uninstall
: geda
$(CD_VERSION
)/config.h
488 ( cd geda
$(CD_VERSION
); ${MAKE} uninstall )
490 geda_config
: geda
$(CD_VERSION
)/configure
491 ( cd geda
$(CD_VERSION
); \
492 .
/configure
--prefix=$(prefix) $(opts
) )
495 ( cd geda
$(CD_VERSION
); .
/autogen.sh
)
498 ( cd geda
$(CD_VERSION
); .
/autogen.sh
)
501 ( cd geda
$(CD_VERSION
); ${MAKE} dist )
503 geda_distcheck
: geda
$(CD_VERSION
)/configure \
504 geda
$(CD_VERSION
)/config.h
505 ( cd geda
$(CD_VERSION
); ${MAKE} distcheck
)
507 geda_maint
: geda
$(CD_VERSION
)/config.h
508 ( cd geda
$(CD_VERSION
); ${MAKE} maintainer-clean
)
510 geda_clean
: geda
$(CD_VERSION
)/config.h
511 ( cd geda
$(CD_VERSION
); ${MAKE} clean )
513 geda_distclean
: geda
$(CD_VERSION
)/config.h
514 ( cd geda
$(CD_VERSION
); ${MAKE} distclean )
517 setup
: $(DIR_PREFIX
)setup
$(CD_VERSION
)/configure \
518 $(DIR_PREFIX
)setup
$(CD_VERSION
)/config.h \
519 $(DIR_PREFIX
)setup
$(CD_VERSION
)/src
/setup
522 # Do not install the setup program, just build it
523 setup_install
: $(DIR_PREFIX
)setup
$(CD_VERSION
)/configure \
524 $(DIR_PREFIX
)setup
$(CD_VERSION
)/config.h \
525 $(DIR_PREFIX
)setup
$(CD_VERSION
)/src
/setup
526 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); ${MAKE} )
528 # No reason to do this, if you are not installing setup
529 setup_uninstall
: $(DIR_PREFIX
)setup
$(CD_VERSION
)/config.h
530 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); ${MAKE} )
532 setup_config
: $(DIR_PREFIX
)setup
$(CD_VERSION
)/configure
533 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); \
534 .
/configure
--prefix=$(prefix) $(opts
) )
537 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); .
/autogen.sh
)
540 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); .
/autogen.sh
)
543 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); ${MAKE} dist )
545 setup_distcheck
: $(DIR_PREFIX
)setup
$(CD_VERSION
)/configure \
546 $(DIR_PREFIX
)setup
$(CD_VERSION
)/config.h
547 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); ${MAKE} distcheck
)
549 setup_maint
: $(DIR_PREFIX
)setup
$(CD_VERSION
)/config.h
550 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); ${MAKE} maintainer-clean
)
552 setup_clean
: $(DIR_PREFIX
)setup
$(CD_VERSION
)/config.h
553 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); ${MAKE} clean )
555 setup_distclean
: $(DIR_PREFIX
)setup
$(CD_VERSION
)/config.h
556 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); ${MAKE} distclean )
558 # libgeda (has no $(DIR_PREFIX)
559 libgeda
: libgeda
$(CD_VERSION
)/configure \
560 libgeda
$(CD_VERSION
)/config.h \
561 libgeda
$(CD_VERSION
)/src
/.libs
/libgeda.a
562 @echo libgeda Installed
564 libgeda_maint
: libgeda
$(CD_VERSION
)/config.h
565 ( cd libgeda
$(CD_VERSION
); ${MAKE} maintainer-clean
)
567 libgeda_clean
: libgeda
$(CD_VERSION
)/config.h
568 ( cd libgeda
$(CD_VERSION
); ${MAKE} clean )
570 libgeda_distclean
: libgeda
$(CD_VERSION
)/config.h
571 ( cd libgeda
$(CD_VERSION
); ${MAKE} distclean )
573 libgeda_proto
: libgeda
$(CD_VERSION
)/config.h
574 ( cd libgeda
$(CD_VERSION
)/src
; ${MAKE} proto
)
576 libgeda_config
: libgeda
$(CD_VERSION
)/configure
577 ( cd libgeda
$(CD_VERSION
); .
/configure
--prefix=$(prefix) $(opts
) )
580 ( cd libgeda
$(CD_VERSION
); .
/autogen.sh
)
583 ( cd libgeda
$(CD_VERSION
)/src
; ${MAKE} src
)
586 ( cd libgeda
$(CD_VERSION
); .
/autogen.sh
)
589 ( cd libgeda
$(CD_VERSION
); ${MAKE} dist )
591 libgeda_distcheck
: libgeda
$(CD_VERSION
)/configure \
592 libgeda
$(CD_VERSION
)/config.h
593 ( cd libgeda
$(CD_VERSION
); ${MAKE} distcheck
)
595 libgeda_uninstall
: libgeda
$(CD_VERSION
)/config.h
596 ( cd libgeda
$(CD_VERSION
); ${MAKE} uninstall )
598 libgeda_install
: libgeda
$(CD_VERSION
)/configure \
599 libgeda
$(CD_VERSION
)/config.h
600 ( cd libgeda
$(CD_VERSION
); ${MAKE} install )
603 docs
: $(DIR_PREFIX
)docs
$(CD_VERSION
)/configure \
604 $(DIR_PREFIX
)docs
$(CD_VERSION
)/Makefile \
605 $(DIR_PREFIX
)docs
$(CD_VERSION
)/attributes
/attributes.pdf
608 docs_install
: $(DIR_PREFIX
)docs
$(CD_VERSION
)/configure \
609 $(DIR_PREFIX
)docs
$(CD_VERSION
)/Makefile \
610 $(DIR_PREFIX
)docs
$(CD_VERSION
)/attributes
/attributes.pdf
611 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); ${MAKE} install )
613 docs_uninstall
: $(DIR_PREFIX
)docs
$(CD_VERSION
)/Makefile
614 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); ${MAKE} uninstall )
616 docs_config
: $(DIR_PREFIX
)docs
$(CD_VERSION
)/configure
617 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); \
618 .
/configure
--prefix=$(prefix) $(opts
) )
621 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); .
/autogen.sh
)
624 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); .
/autogen.sh
)
627 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); ${MAKE} dist )
629 docs_distcheck
: $(DIR_PREFIX
)docs
$(CD_VERSION
)/configure \
630 $(DIR_PREFIX
)docs
$(CD_VERSION
)/Makefile
631 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); ${MAKE} distcheck
)
633 docs_maint
: $(DIR_PREFIX
)docs
$(CD_VERSION
)/Makefile
634 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); ${MAKE} maintainer-clean
)
636 docs_clean
: $(DIR_PREFIX
)docs
$(CD_VERSION
)/Makefile
637 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); ${MAKE} clean )
639 docs_distclean
: $(DIR_PREFIX
)docs
$(CD_VERSION
)/Makefile
640 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); ${MAKE} distclean )
643 examples
: $(DIR_PREFIX
)examples
$(CD_VERSION
)/configure \
644 $(DIR_PREFIX
)examples
$(CD_VERSION
)/Makefile
647 examples_install
: $(DIR_PREFIX
)examples
$(CD_VERSION
)/configure \
648 $(DIR_PREFIX
)examples
$(CD_VERSION
)/Makefile
649 ( cd
$(DIR_PREFIX
)examples
$(CD_VERSION
); ${MAKE} install )
651 examples_uninstall
: $(DIR_PREFIX
)examples
$(CD_VERSION
)/Makefile
652 ( cd
$(DIR_PREFIX
)examples
$(CD_VERSION
); ${MAKE} uninstall )
654 examples_config
: $(DIR_PREFIX
)examples
$(CD_VERSION
)/configure
655 ( cd
$(DIR_PREFIX
)examples
$(CD_VERSION
); \
656 .
/configure
--prefix=$(prefix) $(opts
) )
659 ( cd
$(DIR_PREFIX
)examples
$(CD_VERSION
); .
/autogen.sh
)
661 ( cd
$(DIR_PREFIX
)examples
$(CD_VERSION
); .
/autogen.sh
)
664 ( cd
$(DIR_PREFIX
)examples
$(CD_VERSION
); ${MAKE} dist )
666 examples_distcheck
: $(DIR_PREFIX
)examples
$(CD_VERSION
)/configure \
667 $(DIR_PREFIX
)examples
$(CD_VERSION
)/Makefile
668 ( cd
$(DIR_PREFIX
)examples
$(CD_VERSION
); ${MAKE} distcheck
)
670 examples_maint
: $(DIR_PREFIX
)examples
$(CD_VERSION
)/Makefile
671 ( cd
$(DIR_PREFIX
)examples
$(CD_VERSION
); ${MAKE} maintainer-clean
)
673 examples_clean
: $(DIR_PREFIX
)examples
$(CD_VERSION
)/Makefile
674 ( cd
$(DIR_PREFIX
)examples
$(CD_VERSION
); ${MAKE} clean )
676 examples_distclean
: $(DIR_PREFIX
)examples
$(CD_VERSION
)/Makefile
677 ( cd
$(DIR_PREFIX
)examples
$(CD_VERSION
); ${MAKE} distclean )
679 ############################################################################
680 # Configure related targets
681 ############################################################################
683 libgeda
$(CD_VERSION
)/config.h
:
684 ( cd libgeda
$(CD_VERSION
); .
/configure
--prefix=$(prefix) $(opts
) )
686 libgeda
$(CD_VERSION
)/configure
:
687 ( cd libgeda
$(CD_VERSION
); .
/autogen.sh
)
689 $(DIR_PREFIX
)gschem
$(CD_VERSION
)/config.h
:
690 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); \
691 .
/configure
--prefix=$(prefix) $(opts
) )
693 $(DIR_PREFIX
)gschem
$(CD_VERSION
)/configure
:
694 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); .
/autogen.sh
)
696 $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/config.h
:
697 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); \
698 .
/configure
--prefix=$(prefix) $(opts
) )
700 $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/configure
:
701 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); .
/autogen.sh
)
703 $(DIR_PREFIX
)utils
$(CD_VERSION
)/config.h
:
704 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); \
705 .
/configure
--prefix=$(prefix) $(opts
) )
707 $(DIR_PREFIX
)utils
$(CD_VERSION
)/configure
:
708 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); .
/autogen.sh
)
710 geda
$(CD_VERSION
)/config.h
:
711 ( cd geda
$(CD_VERSION
); .
/configure
--prefix=$(prefix) $(opts
) )
713 geda
$(CD_VERSION
)/configure
:
714 ( cd geda
$(CD_VERSION
); .
/autogen.sh
)
716 $(DIR_PREFIX
)setup
$(CD_VERSION
)/config.h
:
717 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); \
718 .
/configure
--prefix=$(prefix) $(opts
) )
720 $(DIR_PREFIX
)setup
$(CD_VERSION
)/configure
:
721 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); .
/autogen.sh
)
723 $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/config.h
:
724 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); \
725 .
/configure
--prefix=$(prefix) $(opts
) )
727 $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/configure
:
728 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); .
/autogen.sh
)
730 $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/config.h
:
731 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); \
732 .
/configure
--prefix=$(prefix) $(opts
) )
734 $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/configure
:
735 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); .
/autogen.sh
)
737 $(DIR_PREFIX
)symbols
$(CD_VERSION
)/geda-font.scm
:
738 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); \
739 .
/configure
--prefix=$(prefix) $(opts
) )
741 $(DIR_PREFIX
)symbols
$(CD_VERSION
)/Makefile
:
742 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); \
743 .
/configure
--prefix=$(prefix) $(opts
) )
745 $(DIR_PREFIX
)symbols
$(CD_VERSION
)/configure
:
746 ( cd
$(DIR_PREFIX
)symbols
$(CD_VERSION
); .
/autogen.sh
)
748 $(DIR_PREFIX
)docs
$(CD_VERSION
)/Makefile
:
749 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); \
750 .
/configure
--prefix=$(prefix) $(opts
) )
752 $(DIR_PREFIX
)docs
$(CD_VERSION
)/configure
:
753 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); .
/autogen.sh
)
755 $(DIR_PREFIX
)examples
$(CD_VERSION
)/Makefile
:
756 ( cd
$(DIR_PREFIX
)examples
$(CD_VERSION
); \
757 .
/configure
--prefix=$(prefix) $(opts
) )
759 $(DIR_PREFIX
)examples
$(CD_VERSION
)/configure
:
760 ( cd
$(DIR_PREFIX
)examples
$(CD_VERSION
); .
/autogen.sh
)
762 ############################################################################
763 # Executable related related targets
764 ############################################################################
766 $(DIR_PREFIX
)gschem
$(CD_VERSION
)/src
/gschem
:
767 ( cd
$(DIR_PREFIX
)gschem
$(CD_VERSION
); ${MAKE} )
769 $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
)/src
/gsymcheck
:
770 ( cd
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
); ${MAKE} )
772 $(DIR_PREFIX
)gnetlist
$(CD_VERSION
)/src
/gnetlist
:
773 ( cd
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
); ${MAKE} )
775 $(DIR_PREFIX
)gattrib
$(CD_VERSION
)/src
/gattrib
:
776 ( cd
$(DIR_PREFIX
)gattrib
$(CD_VERSION
); ${MAKE} )
778 $(DIR_PREFIX
)utils
$(CD_VERSION
)/src
/gmk_sym
:
779 ( cd
$(DIR_PREFIX
)utils
$(CD_VERSION
); ${MAKE} )
781 geda
$(CD_VERSION
)/src
/geda
:
782 ( cd geda
$(CD_VERSION
); ${MAKE} )
784 $(DIR_PREFIX
)setup
$(CD_VERSION
)/src
/setup
:
785 ( cd
$(DIR_PREFIX
)setup
$(CD_VERSION
); ${MAKE} )
787 $(DIR_PREFIX
)docs
$(CD_VERSION
)/attributes
/attributes.pdf
:
788 ( cd
$(DIR_PREFIX
)docs
$(CD_VERSION
); ${MAKE} )
790 libgeda
$(CD_VERSION
)/src
/.libs
/libgeda.a
:
791 ( cd libgeda
$(CD_VERSION
); ${MAKE} install )
793 ############################################################################
794 # Script related related targets
795 ############################################################################
798 ( cd libgeda
$(CD_VERSION
); ${MAKE} libgeda-pc-install
)
801 ############################################################################
802 # Targets for opening up the tarballs
803 ############################################################################
805 geda_tarball
: geda
$(CD_VERSION
).
tar.gz
806 tar -zxvf geda
$(CD_VERSION
).
tar.gz
808 docs_tarball
: $(DIR_PREFIX
)docs
$(CD_VERSION
).
tar.gz
809 tar -zxvf
$(DIR_PREFIX
)docs
$(CD_VERSION
).
tar.gz
811 examples_tarball
: $(DIR_PREFIX
)examples
$(CD_VERSION
).
tar.gz
812 tar -zxvf
$(DIR_PREFIX
)examples
$(CD_VERSION
).
tar.gz
814 gattrib_tarball
: $(DIR_PREFIX
)gattrib
$(CD_VERSION
).
tar.gz
815 tar -zxvf
$(DIR_PREFIX
)gattrib
$(CD_VERSION
).
tar.gz
817 gnetlist_tarball
: $(DIR_PREFIX
)gnetlist
$(CD_VERSION
).
tar.gz
818 tar -zxvf
$(DIR_PREFIX
)gnetlist
$(CD_VERSION
).
tar.gz
820 gschem_tarball
: $(DIR_PREFIX
)gschem
$(CD_VERSION
).
tar.gz
821 tar -zxvf
$(DIR_PREFIX
)gschem
$(CD_VERSION
).
tar.gz
823 gsymcheck_tarball
: $(DIR_PREFIX
)gsymcheck
$(CD_VERSION
).
tar.gz
824 tar -zxvf
$(DIR_PREFIX
)gsymcheck
$(CD_VERSION
).
tar.gz
826 setup_tarball
: $(DIR_PREFIX
)setup
$(CD_VERSION
).
tar.gz
827 tar -zxvf
$(DIR_PREFIX
)setup
$(CD_VERSION
).
tar.gz
829 symbols_tarball
: $(DIR_PREFIX
)symbols
$(CD_VERSION
).
tar.gz
830 tar -zxvf
$(DIR_PREFIX
)symbols
$(CD_VERSION
).
tar.gz
832 utils_tarball
: $(DIR_PREFIX
)utils
$(CD_VERSION
).
tar.gz
833 tar -zxvf
$(DIR_PREFIX
)utils
$(CD_VERSION
).
tar.gz
835 libgeda_tarball
: libgeda
$(CD_VERSION
).
tar.gz
836 tar -zxvf libgeda
$(CD_VERSION
).
tar.gz