Makefile.am 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. ## Process this file with automake to produce Makefile.in
  2. if OS_WIN32
  3. gimp_exp = gimp.exp
  4. gimp.exp : gimp.def
  5. dlltool --output-exp $@ --input-def gimp.def
  6. gimp.def: gimp.sym
  7. echo EXPORTS >$@
  8. cat $< >>$@
  9. mwindows = -mwindows
  10. gimp_win32_resource = gimp-win32res.o
  11. noinst_DATA = libgimpapp.a
  12. gimp.exe : gimp-1.2
  13. mv gimp-1.2 $@
  14. libgimpapp.a: gimp.exe
  15. dlltool --output-lib $@ --input-def gimp.def --dllname gimp.exe
  16. endif
  17. scriptdata =
  18. bin_PROGRAMS = gimp-1.2
  19. noinst_LIBRARIES = libgimpim.a
  20. libgimpim_a_SOURCES = \
  21. gimpdrawable.c \
  22. gimpdrawable.h \
  23. gimpdrawableP.h \
  24. gimpimage.c \
  25. gimpimage.h \
  26. gimpimageP.h \
  27. gimpobject.c \
  28. gimpobject.h \
  29. gimppreviewcache.h \
  30. gimppreviewcache.c \
  31. gimpset.c \
  32. gimpset.h \
  33. gimpsetP.h \
  34. gimpsignal.c \
  35. gimpsignal.h
  36. gimp_1_2_SOURCES = \
  37. about_dialog.c \
  38. about_dialog.h \
  39. airbrush.c \
  40. airbrush.h \
  41. app_procs.c \
  42. app_procs.h \
  43. appenv.h \
  44. apptypes.h \
  45. asupsample.c \
  46. asupsample.h \
  47. authors.h \
  48. batch.c \
  49. batch.h \
  50. bezier_select.c \
  51. bezier_select.h \
  52. bezier_selectP.h \
  53. blend.c \
  54. blend.h \
  55. blob.c \
  56. blob.h \
  57. boundary.c \
  58. boundary.h \
  59. boundaryF.h \
  60. brightness_contrast.c \
  61. brightness_contrast.h \
  62. brush_edit.c \
  63. brush_edit.h \
  64. brush_header.h \
  65. brush_scale.c \
  66. brush_scale.h \
  67. brush_select.c \
  68. brush_select.h \
  69. brush_select_cmds.c \
  70. brushes_cmds.c \
  71. bucket_fill.c \
  72. bucket_fill.h \
  73. by_color_select.c \
  74. by_color_select.h \
  75. channel.c \
  76. channel.h \
  77. channel_pvt.h \
  78. channel_cmds.c \
  79. channels_dialog.c \
  80. channels_dialog.h \
  81. channel_ops.c \
  82. channel_ops.h \
  83. channel_ops_cmds.c \
  84. clone.c \
  85. clone.h \
  86. color_area.c \
  87. color_area.h \
  88. color_balance.c \
  89. color_balance.h \
  90. color_cmds.c \
  91. color_notebook.c \
  92. color_notebook.h \
  93. color_panel.c \
  94. color_panel.h \
  95. color_picker.c \
  96. color_picker.h \
  97. color_select.c \
  98. color_select.h \
  99. color_transfer.c \
  100. color_transfer.h \
  101. colormaps.c \
  102. colormaps.h \
  103. colormap_dialog.c \
  104. colormap_dialog.h \
  105. commands.c \
  106. commands.h \
  107. context_manager.c \
  108. context_manager.h \
  109. convert.c \
  110. convert.h \
  111. convert_cmds.c \
  112. convolve.c \
  113. convolve.h \
  114. crop.c \
  115. crop.h \
  116. cursorutil.c \
  117. cursorutil.h \
  118. curves.c \
  119. curves.h \
  120. datafiles.c \
  121. datafiles.h \
  122. desaturate.c \
  123. desaturate.h \
  124. devices.c \
  125. devices.h \
  126. dialog_types.h \
  127. dialog_handler.c \
  128. dialog_handler.h \
  129. disp_callbacks.c \
  130. disp_callbacks.h \
  131. display_cmds.c \
  132. docindex.c \
  133. docindex.h \
  134. dodgeburn.c \
  135. dodgeburn.h \
  136. draw_core.c \
  137. draw_core.h \
  138. drawable.c \
  139. drawable.h \
  140. drawable_pvt.h \
  141. drawable_cmds.c \
  142. edit_cmds.c \
  143. edit_selection.c \
  144. edit_selection.h \
  145. ellipse_select.c \
  146. ellipse_select.h \
  147. eraser.c \
  148. eraser.h \
  149. errorconsole.c \
  150. errorconsole.h \
  151. errors.c \
  152. errors.h \
  153. equalize.c \
  154. equalize.h \
  155. fileops.c \
  156. fileops.h \
  157. fileopsP.h \
  158. fileops_cmds.c \
  159. flip_tool.c \
  160. flip_tool.h \
  161. floating_sel.c \
  162. floating_sel.h \
  163. floating_sel_cmds.c \
  164. file_new_dialog.c \
  165. file_new_dialog.h \
  166. free_select.c \
  167. free_select.h \
  168. fsdither.h \
  169. fuzzy_select.c \
  170. fuzzy_select.h \
  171. gdisplay.c \
  172. gdisplay.h \
  173. gdisplayP.h \
  174. gdisplayF.h \
  175. gdisplay_ops.c \
  176. gdisplay_ops.h \
  177. general.c \
  178. general.h \
  179. gimage.c \
  180. gimage.h \
  181. gimage_mask.c \
  182. gimage_mask.h \
  183. gimpbrush.c \
  184. gimpbrush.h \
  185. gimpbrushgenerated.c \
  186. gimpbrushgenerated.h \
  187. gimpbrushlist.c \
  188. gimpbrushlist.h \
  189. gimpbrushpipe.c \
  190. gimpbrushpipe.h \
  191. gimpcontext.c \
  192. gimpcontext.h \
  193. gimpcontextpreview.c \
  194. gimpcontextpreview.h \
  195. gimpdnd.c \
  196. gimpdnd.h \
  197. gimphelp.c \
  198. gimphelp.h \
  199. gimphistogram.c \
  200. gimphistogram.h \
  201. gimplist.c \
  202. gimplist.h \
  203. gimplistP.h \
  204. gimplut.c \
  205. gimplut.h \
  206. gimplutP.h \
  207. gimpparasite.c \
  208. gimpparasite.h \
  209. gimpprogress.c \
  210. gimpprogress.h \
  211. gimprc.c \
  212. gimprc.h \
  213. gimprc_cmds.c \
  214. gimpui.c \
  215. gimpui.h \
  216. gimpunit.c \
  217. global_edit.c \
  218. global_edit.h \
  219. gradient.c \
  220. gradientP.h \
  221. gradient_header.h \
  222. gradient_select.h \
  223. gradient_select.c \
  224. gradient_select_cmds.c \
  225. gradient.h \
  226. gradients_cmds.c \
  227. gtkwrapbox.c \
  228. gtkwrapbox.h \
  229. gtkhwrapbox.c \
  230. gtkhwrapbox.h \
  231. gtkvwrapbox.c \
  232. gtkvwrapbox.h \
  233. guides_cmds.c \
  234. gximage.c \
  235. gximage.h \
  236. help_cmds.c \
  237. histogramwidget.c \
  238. histogramwidget.h \
  239. histogram_tool.c \
  240. histogram_tool.h \
  241. hue_saturation.c \
  242. hue_saturation.h \
  243. image_cmds.c \
  244. image_map.c \
  245. image_map.h \
  246. image_new.c \
  247. image_new.h \
  248. image_render.c \
  249. image_render.h \
  250. indicator_area.c \
  251. indicator_area.h \
  252. info_dialog.c \
  253. info_dialog.h \
  254. info_window.c \
  255. info_window.h \
  256. ink.c \
  257. ink.h \
  258. interface.c \
  259. interface.h \
  260. internal_procs.c \
  261. internal_procs.h \
  262. invert.c \
  263. invert.h \
  264. iscissors.c \
  265. iscissors.h \
  266. layer.c \
  267. layer.h \
  268. layer_pvt.h \
  269. layer_cmds.c \
  270. layer_select.c \
  271. layer_select.h \
  272. layers_dialog.c \
  273. layers_dialog.h \
  274. layers_dialogP.h \
  275. lc_dialog.c \
  276. lc_dialog.h \
  277. lc_dialogP.h \
  278. levels.c \
  279. levels.h \
  280. lut_funcs.c \
  281. lut_funcs.h \
  282. magnify.c \
  283. magnify.h \
  284. main.c \
  285. marching_ants.h \
  286. measure.c \
  287. measure.h \
  288. menus.c \
  289. menus.h \
  290. message_cmds.c \
  291. misc_cmds.c \
  292. module_db.c \
  293. module_db.h \
  294. move.c \
  295. move.h \
  296. nav_window.c \
  297. nav_window.h \
  298. ops_buttons.c \
  299. ops_buttons.h \
  300. palette.c \
  301. palette_entries.h \
  302. palette.h \
  303. palette_cmds.c \
  304. palette_select.c \
  305. palette_select.h \
  306. paletteP.h \
  307. paint_core.c \
  308. paint_core.h \
  309. paint_core_kernels.h \
  310. paint_funcs.c \
  311. paint_funcs.h \
  312. paint_options.h \
  313. paintbrush.c \
  314. paintbrush.h \
  315. parasite_cmds.c \
  316. parasitelist.c \
  317. parasitelist.h \
  318. parasitelistP.h \
  319. path.c \
  320. path.h \
  321. pathP.h \
  322. path_transform.h \
  323. paths_cmds.c \
  324. paths_dialog.c \
  325. paths_dialog.h \
  326. paths_dialogP.h \
  327. pattern_header.h \
  328. pattern_select.c \
  329. pattern_select.h \
  330. pattern_select_cmds.c \
  331. patterns.c \
  332. patterns.h \
  333. patterns_cmds.c \
  334. pencil.c \
  335. pencil.h \
  336. perspective_tool.c \
  337. perspective_tool.h \
  338. pixel_processor.c \
  339. pixel_processor.h \
  340. pixel_region.c \
  341. pixel_region.h \
  342. pixel_regionP.h \
  343. pixmaps.h \
  344. pixmaps2.h \
  345. plug_in.c \
  346. plug_in.h \
  347. plug_in_cmds.c \
  348. posterize.c \
  349. posterize.h \
  350. preferences_dialog.c \
  351. preferences_dialog.h \
  352. procedural_db.c \
  353. procedural_db.h \
  354. procedural_db_cmds.c \
  355. qmask.c \
  356. qmask.h \
  357. rect_select.c \
  358. rect_select.h \
  359. rect_selectP.h \
  360. regex.h \
  361. regex.c \
  362. resolution_calibrate.c \
  363. resolution_calibrate.h \
  364. resize.c \
  365. resize.h \
  366. rotate_tool.c \
  367. rotate_tool.h \
  368. scale.c \
  369. scale.h \
  370. scale_tool.c \
  371. scale_tool.h \
  372. scan_convert.c \
  373. scan_convert.h \
  374. scroll.c \
  375. scroll.h \
  376. selection.c \
  377. selection.h \
  378. selection_cmds.c \
  379. selection_options.h \
  380. session.h \
  381. session.c \
  382. shear_tool.c \
  383. shear_tool.h \
  384. smudge.c \
  385. smudge.h \
  386. temp_buf.c \
  387. temp_buf.h \
  388. text_tool.c \
  389. text_tool.h \
  390. text_tool_cmds.c \
  391. threshold.c \
  392. threshold.h \
  393. tile.c \
  394. tile.h \
  395. tile_pvt.h \
  396. tile_cache.c \
  397. tile_cache.h \
  398. tile_manager.c \
  399. tile_manager.h \
  400. tile_manager_pvt.h \
  401. tile_swap.c \
  402. tile_swap.h \
  403. tips_dialog.c \
  404. tips_dialog.h \
  405. tool_options.c \
  406. tool_options.h \
  407. tools.c \
  408. tools.h \
  409. toolsF.h \
  410. tools_cmds.c \
  411. transform_core.c \
  412. transform_core.h \
  413. transform_tool.c \
  414. transform_tool.h \
  415. undo.c \
  416. undo.h \
  417. undo_cmds.c \
  418. undo_history.c \
  419. undo_types.h \
  420. unitrc.h \
  421. unit_cmds.c \
  422. user_install.c \
  423. user_install.h \
  424. wilber.h \
  425. xcf.c \
  426. xcf.h
  427. EXTRA_DIST = \
  428. colormap_dialog.i.c \
  429. colormap_dialog.i.h \
  430. colormap_dialog.p.h \
  431. colormap_dialog.t.h \
  432. makefile.mingw \
  433. makefile.mingw.in \
  434. makefile.msc \
  435. gimp.rc \
  436. gimp.sym \
  437. wilber.ico
  438. gimp_1_2_LDFLAGS = -export-dynamic -export-symbols $(srcdir)/gimp.sym $(mwindows)
  439. AM_CPPFLAGS = \
  440. -DLIBDIR=\""$(gimpplugindir)"\" \
  441. -DLOCALEDIR=\""$(localedir)"\" \
  442. -DREGEX_MALLOC \
  443. -DG_LOG_DOMAIN=\"Gimp\" \
  444. @GIMP_THREAD_FLAGS@ \
  445. @GIMP_MP_FLAGS@
  446. INCLUDES = \
  447. -I$(top_srcdir) \
  448. -I$(top_srcdir)/intl \
  449. $(GTK_CFLAGS) \
  450. -I$(includedir)
  451. gimp_1_2_LDADD = \
  452. $(gimp_exp) \
  453. $(gimp_win32_resource) \
  454. libgimpim.a \
  455. $(top_builddir)/libgimp/libgimpi.a \
  456. $(GTK_LIBS) \
  457. $(GIMP_THREAD_LIBS) \
  458. $(GIMP_MP_LIBS) \
  459. $(INTLLIBS)
  460. gimp-win32res.o : gimp.rc
  461. $(top_srcdir)/build/win32/compile-resource gimp.rc gimp-win32res.o
  462. install-exec-hook:
  463. if DEFAULT_BINARY
  464. if OS_WIN32
  465. cd $(DESTDIR)$(bindir) \
  466. && mv gimp-1.2 gimp.exe
  467. else
  468. cd $(DESTDIR)$(bindir) \
  469. && rm -f gimp \
  470. && $(LN_S) gimp-1.2 gimp
  471. endif
  472. endif
  473. uninstall-local:
  474. if DEFAULT_BINARY
  475. if OS_WIN32
  476. else
  477. rm -f $(DESTDIR)$(bindir)/gimp
  478. endif
  479. endif
  480. .PHONY: files
  481. files:
  482. @files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
  483. echo $$p; \
  484. done
  485. # GCG stuff
  486. #
  487. # SUFFIXES = .gc .gh
  488. #
  489. # if WITH_GCG
  490. # GCG = ../tools/gcg/gcg -I$(srcdir) -I$(top_srcdir)/tools/gcg/gh
  491. # GEN_CODE = colormap_dialog.c
  492. # if WITH_GNU_MAKE
  493. # GEN_HEADER =$(subst .gc,.t.h,$(GCG_DEFS)) \
  494. # $(subst .gc,.p.h,$(GCG_DEFS)) \
  495. # $(subst .gc,.i.h,$(GCG_DEFS)) \
  496. # $(subst .gc,.h,$(GCG_DEFS))
  497. #
  498. # $(GEN_CODE): %.c: %.gc
  499. # $(GCG) -o $@ $<
  500. # else # WITH_GNU_MAKE
  501. # GEN_HEADER = # fill in here manually, if you bother
  502. # .gc.c:
  503. # $(GCG) -o $@ $<
  504. # endif # WITH_GNU_MAKE
  505. #
  506. # BUILT_SOURCES = $(GEN_CODE) $(GEN_HEADER)
  507. #
  508. # if ENABLE_GCG_DEPS
  509. # if WITH_GNU_MAKE
  510. # # dependency magic
  511. # GCGMAKEDEPEND = $(top_srcdir)/tools/gcg/gcgmakedepend
  512. # $(DEF_DEPS): .deps/%.d: %.gc
  513. # $(GCGMAKEDEPEND) $(DEF_INC) $< >$@
  514. # automake uses .P for .c files, we use .d for .gc files, should
  515. # be no conflict..
  516. # GCG_DEFS = $(subst .c,.gc,$(GEN_CODE))
  517. # DEF_DEPS = $(patsubst %.gc,.deps/%.d,$(GCG_DEFS))
  518. # -include $(DEF_DEPS)
  519. # endif # WITH_GNU_MAKE
  520. # endif # ENABLE_GCG_DEPS
  521. # endif # WITH_GCG
  522. # end GCG stuff